6 Replies Latest reply on Oct 14, 2018 4:35 PM by KaAs_973901

    PWM / Low Time Measurement Problem


      Hello, I have attached a project where I am interfacing with an SI 7023 https://www.silabs.com/documents/public/data-sheets/Si7023-A20.pdf humidity/temperature sensor and capturing the PWM signal.


      The output is for debugging purposes only.


      The issue I am facing is that although I am able to accurately capture the pulse width, I am not able to capture the low time properly with my project. Instead, it seems that the low time is coming back as the period.


      I have attached a PWM to the timer in order to simulate the problem. Normally, there is an external device connected to a pin.


      I reset the timer after each capture, but am uncertain why I see the period rather than the low time captured.


      Thank you in advance for any assistance.