Skip to main content
Graduate
November 29, 2023
Solved

Rising to Falling or Falling to Rising External Interrupt Detection

  • November 29, 2023
  • 1 reply
  • 1332 views

MMARI1_0-1701228408259.png

There is any possibility to detect exact point on  Rising to Falling or Falling to Rising place .

Because when i enabling  Falling edge or Rising/Falling detection in cube ide and same time if  i2c  sensor activated then interrupt signal generated and Interrupt Call Back has been activated two times because LOW level interrupt time (t) .

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    What's the edge generated by the sensor if it gets interrupt the MCU? So you can define which edge detection  to configure from MCU side.

    PS:

    From STM32F103's DS :

    The minimum pulse detected by an EXTI is 10ns:

    SofLit_0-1701247665285.png

     

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    November 29, 2023

    Hello,

    What's the edge generated by the sensor if it gets interrupt the MCU? So you can define which edge detection  to configure from MCU side.

    PS:

    From STM32F103's DS :

    The minimum pulse detected by an EXTI is 10ns:

    SofLit_0-1701247665285.png

     

    MMARI.1Author
    Graduate
    November 30, 2023

    hi. thanks for details  :  The minimum pulse detected by an EXTI is 10ns:

    Sensor Interrupt is Open Drain and active LOW .

    Interesting Finding : Actually sensor producing TWO consecutive interrupt incase slow measurement and single interrupt pulse incase of Fast Measurement .

    The minimum pulse detected by an EXTI is 10ns: Is informative and Will be solution for Fast Pulse .