cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring RTC in CubeMX stops other processes (Ethernet, TouchGFX)

harshpanchal_6
Associate II

Hello Folks,

I am facing the issue regarding the RTC in stm32H7S78-dk evaluation board. So, the issue is if I configure the internal RTC in my IOC file all the other the process stops on my board which is working already like TouchGFX, Ethernet my LCD screen all the the operations stopes. So, what is the actual  issue with RTC. Your inputs will be appreciated. Thank you!       

9 REPLIES 9
EniRot99
Associate III

Hello,

Could you please provide more details about the steps you're taking when this issue occurs? In my experience with the STM32L4, a similar problem arose when performing a reboot from the bootloader after a firmware update. In that case, the bootloader cleared the enable flag, preventing the RTC from being properly initialized. This led to the application failing to start correctly after the bootloader had run. ​
community.st.com

Understanding your specific sequence of operations and how you're configuring the RTC would help in diagnosing the issue more accurately.


@harshpanchal_6 wrote:

all the other the process stops on my board which is working already like TouchGFX, Ethernet my LCD screen all the the operations stopes.        


So what debugging have you done to find what's happening? What's blocking these processes?

How to write your question to maximize your chances to find a solution

 

PS:

Did you resolve your previous issues:

https://community.st.com/t5/stm32-mcus-embedded-software/mcu-stuck/td-p/752334

https://community.st.com/t5/stm32cubeide-mcus/print-logs-in-stm32cubeide-debug-console/td-p/747751

Already solved...

Thank you

This one, or the old ones?

For the benefit of other readers who may find them while trying to solve the same problems, please make a post in each thread describing how they were solved - and mark those posts as the solutions:

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256

 

Besides which, it would just be polite to let the people know who tried to help you!

RCC_config.PNG

RTC-config.PNG

 This are the two simple steps which I am doing to enable RTC.

- First, I am setting the RCC HSE and LSE to Crystal/Ceramic Resonator.

- Second,  I am enabling the RTC and setting the basic config steps.

By just enabling this my other process stops working.

 


@harshpanchal_6 wrote:

By just enabling this my other process stops working.


Again, what does that mean?

Use the debugger to see what's actually happening ...

it means my actual application of TouchGFX, WiFi/BLE and Ethernet is not working. 

But what, exactly, does "not working" mean?

Again, use the debugger to see what's actually happening

Okay