2024-10-31 03:18 AM
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
2024-11-01 07:18 AM
GPIOA5 output is grounded or you always read GPIOA3 input as 0?
Did you configure GPIOA3 interrupt edge?