Skip to main content
EKore.1
Associate II
Aug 23, 2020 6:42 AM UTC
Solved

Is there a possibility to implement one shot function using RTC module (STM32L011)

..

This topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
Aug 23, 2020 9:50 AM UTC

RTC does not have hardware to start or do any other internal state change upon external triggers.

JW

6 replies

waclawek.jan
Super User
Aug 23, 2020 7:48 AM UTC

What is "one shot function"?

JW

EKore.1
EKore.1Author
Associate II
Aug 23, 2020 9:36 AM UTC

I want to create similar function to LPTIM One shot mode

that external pulse trigger (very short) cause one output pulse (width of 1 second)

waclawek.jan
waclawek.janBest answer
Super User
Aug 23, 2020 9:50 AM UTC

RTC does not have hardware to start or do any other internal state change upon external triggers.

JW

EKore.1
EKore.1Author
Associate II
Aug 23, 2020 10:02 AM UTC

We can't used EXTI to activate RTC down counter?

waclawek.jan
Super User
Aug 23, 2020 11:06 AM UTC

Yes you can, if you don't care about the latency/jitter this involves. In the interrupt, you can of course set RTC to whatever you want.

I don't know what do you mean by "RTC down counter" - the wakeup facility.

JW

EKore.1
EKore.1Author
Associate II
Aug 23, 2020 11:13 AM UTC

Thanks