Skip to main content
AZube.2
Associate III
July 15, 2022
Solved

Software trigger for LPTIM1 (Low Power Timer)

  • July 15, 2022
  • 1 reply
  • 1246 views

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!

This topic has been closed for replies.
Best answer by AZube.2

Just found the answer:

LPTIM1-> CR |= 0x000005;

1 reply

AZube.2
AZube.2AuthorBest answer
Associate III
July 15, 2022

Just found the answer:

LPTIM1-> CR |= 0x000005;