Skip to main content
Mr Alireza Najafi
Associate
October 3, 2021
Solved

RTC in low power modes

  • October 3, 2021
  • 1 reply
  • 881 views

Hi

I had a question about RTC in SPC560bxx.

When you read the RTC documentation carefully, you will notice that it is actually a 32-bit counter that also operates in low-power modes and issues interrupts.

This module is just a counter and there is no register to preserve value in low power mode.

Am I right about that?

How to use RTC in low power modes?

Is it used only to wake up the chip?

Thanks

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello Alireza,

    You can find a nice example in SPC5Studio Tools suite

    SPC560Dxx_RLA WKPU API Test Application for Discovery

    RTC Timer is set to 2 seconds in this example

    Best Regards

    Erwan

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    October 11, 2021

    Hello Alireza,

    You can find a nice example in SPC5Studio Tools suite

    SPC560Dxx_RLA WKPU API Test Application for Discovery

    RTC Timer is set to 2 seconds in this example

    Best Regards

    Erwan