Skip to main content
Visitor II
October 31, 2024
Question

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

  • October 31, 2024
  • 1 reply
  • 616 views

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

    This topic has been closed for replies.

    1 reply

    Visitor II
    November 1, 2024

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

    Did you configure GPIOA3 interrupt edge?