Question
GPIO switch from input to output time with STM32F103
Posted on September 04, 2013 at 17:19
Hi there,
If PortD is originally configured as input and then the following code is executed, how long will it take 0x5AA5 to appear on portD after the ->CRL assignment completes? Can't seem to find this in the datasheet. Since output is set for 10 mHz, the voltage should appear within 100 nSecs? But is there any delay when switch from input to output? GPIOD->ODR = 0x5AA5; GPIOD->CRH = 0x11111111; GPIOD->CRL = 0x11111111;TIAAndy #gpio