cancel
Showing results for 
Search instead for 
Did you mean: 

Software trigger for LPTIM1 (Low Power Timer)

AZube.2
Associate III

Hello,

I am trying to use the LPTIM1 as a timeout counter of 5s. Each timeout the device would read a measured value from a sensor and send it by uplink.

I want to trigger the LPTIM1 by software, but I do not know how to do this.

This is probably a newbie question: how do I generate the software trigger? I though I would need to write in a register or something, but I can not find the solution.

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
AZube.2
Associate III

Just found the answer:

LPTIM1-> CR |= 0x000005;

View solution in original post

1 REPLY 1
AZube.2
Associate III

Just found the answer:

LPTIM1-> CR |= 0x000005;