Skip to main content
HCohe.1
Associate III
Oct 30, 2021 11:31 PM UTC
Question

What is the connection between RTCCLK and Sysclock?

I am using hw_timerserver and sequencer for BLE. I added additional tasks to the sequencer for my application. It appeared that my tasks are running much too frequently, so I looked into the clock configuration of the RTC and found that WUCLK was driven by HSE and did not have the WU Clock and WU Counters configured properly. I switched the clock source to LSE, with WU clock & counters set to RTCCLK/16 & 2, for proper operation in Low-power modes. I then found that Systick was slowed down considerably. Any ideas?

This topic has been closed for replies.

2 replies

HCohe.1
HCohe.1Author
Associate III
Nov 2, 2021 2:33 AM UTC

I attached the .ioc file. Can anyone explain why Systick is now slow as molasses after switching RTC to LSE? It was okay when HSE was used.

ST Employee
Nov 23, 2021 6:41 PM UTC

Hello,

There is clearly no connection between RTCCLK and Systick.

I would check the configuration of the Systick. For an unknown reason, I believe it has been wrongly setup.

Regards.