AnsweredAssumed Answered

Crash while calling an SDK functinon

Question asked by Gaurav Banyal on May 22, 2017
Latest reply on May 24, 2017 by Mark Butcher



I am facing a crash which I don't understand.

The scenario is, the MCU is in VLLS3 state and in this state, the LPTMR instance zero (LPTMR0) is running with LPO as the clock source. The system wakes and goes to RUN state  due to a pin interrupt and in the main() function, there is a call to "LPTMR_GetCurrentTimerCount(LPTMR0)" LPTMR API from the SDK. At this point, the system crashes and re-boots.


I have also tried to read some other registers of the TIMER LPTMR0 and every time I try to read any register, the application re-boots.


Somebody please help me whats the reason for this.