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.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PA3 GPIO problem Stm32f107

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?

Parents Reply Children
No data