Skip to main content
EKore.1
Associate II
August 23, 2020
Solved

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

  • August 23, 2020
  • 6 replies
  • 1532 views

..

This topic has been closed for replies.
Best answer by waclawek.jan

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

JW

6 replies

waclawek.jan
Super User
August 23, 2020

What is "one shot function"?

JW

EKore.1
EKore.1Author
Associate II
August 23, 2020

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
August 23, 2020

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

JW

EKore.1
EKore.1Author
Associate II
August 23, 2020

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

waclawek.jan
Super User
August 23, 2020

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
August 23, 2020

Thanks