Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi, Here is my GPIO settings for PA3
GPIO_InitTypeDef GPIOSt; RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA,ENABLE); GPIOSt.GPIO_Mode=GPIO_Mode_Out_PP; GPIOSt.GPIO_Pin=GPIO_Pin_3; GPIOSt.GPIO_Speed=GPIO_Speed_50MHz; GPIO_Init(GPIOA,&GPIOSt);
But GPIO_SetBits(GPIOA,GPIO_Pin_3); it doesn't work. and I can't see any voltage higher than 0.14 volt. what is my mistake?
No,only an output
Try with GPIO_InitTypeDef GPIOSt = { 0 };