Skip to main content
satyag
Visitor II
September 18, 2019
Question

HI, I am working with STM32L151VCT6. I would connect open drain sensor to measure the duration of the puls oh High level.Please suggest me how to measure this duration in seconds by interrupt.

  • September 18, 2019
  • 1 reply
  • 464 views

..

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
September 18, 2019

Use an EXTI interrupt on the pin, and the HAL Tick counter?

Use a TIM in input capture, and large prescaler?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..