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?
What is PA3 connected too on your board design? An output from another chip?
No,only an output
Try with GPIO_InitTypeDef GPIOSt = { 0 };