AnsweredAssumed Answered

how to configure LPTMR to check how many 100ms have elapsed?

Question asked by Gaurav Banyal on Dec 16, 2016
Latest reply on May 29, 2017 by Mark Butcher

Hello,

 

I am using the FRDMKL03z board. In the final product, I will not have an external oscillator.

 

The use case I want to cater to is that the MCU will be in VLLS3 state with LPTMR running. Every now and then an external interrupt will bring the MCU to Run state. In this state, the MCU should offer to the user how many 100 miliseconds have elapsed since the last time the same interrupt was received.

 

How should I configure the timer so that I can get this information each time the MCU is woken up? What are the boundary conditions I have to handle in this case?

 

Thanks!

Outcomes