cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO if configured for Interrupt loads the Pin configured for Output pp/OD if connected together

spruhaelec
Associate

In STM8Ldiscovery kit I have configured GPIOA Pin5 as output PP. I have connected GPIOA Pin5 to GPIOA Pin3 which if i configure as GPIO_Init(GPIOA, GPIO_Pin_3, GPIO_Mode_In_FL_No_IT); then the pulses which I am outputting at GPIOA Pin 5 are read at GPIOA Pin3. But if I configure GPIOA Pin3 as GPIO_Init(GPIOA, GPIO_Pin_3, GPIO_Mode_In_FL_IT); ( I want to use GPIO Interrupt EXTI3 ) then the Pulses which I am outputting at GPIOA5 are grounded. Any explaination

1 REPLY 1
AA1
Senior III

GPIOA5 output is grounded or you always read GPIOA3 input as 0?

Did you configure GPIOA3 interrupt edge?