Configuring RTC in CubeMX stops other processes (Ethernet, TouchGFX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-19 11:11 PM - last edited on ‎2025-03-20 2:15 AM by Andrew Neil
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!
- Labels:
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-19 11:22 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-20 2:18 AM - edited ‎2025-03-20 2:20 AM
@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
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-20 3:40 AM
Already solved...
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-20 3:46 AM
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!
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-20 3:48 AM
 
 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-20 3:51 AM
@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 ...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-20 6:14 AM
it means my actual application of TouchGFX, WiFi/BLE and Ethernet is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-20 6:21 AM
But what, exactly, does "not working" mean?
Again, use the debugger to see what's actually happening
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-20 6:39 AM
Okay
