Software trigger for LPTIM1 (Low Power Timer)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-15 4:03 AM
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!
Solved! Go to Solution.
- Labels:
-
LPTIM
-
STM32WL series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-15 4:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-15 4:59 AM
Just found the answer:
LPTIM1-> CR |= 0x000005;
