Hi,
Sorry for these posts but is the fastest GPIO speed actually 50MHz?
I'm using the SimulateCDC example and am only seeing 84ns rise and fall.
GPIO_InitTypeDef GPIO_InitStructure = {0};
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOA, &GPIO_InitStructure);
GPIOA->BSHR = GPIO_Pin_0;
GPIOA->BCR = GPIO_Pin_0;
GPIOA->BSHR = GPIO_Pin_0;
GPIOA->BCR = GPIO_Pin_0;
Thank you,
Alex