Skip to main content
Explorer
March 20, 2025
Question

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

  • March 20, 2025
  • 3 replies
  • 1161 views

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!       

    This topic has been closed for replies.

    3 replies

    Graduate
    March 20, 2025

    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.

    Explorer
    March 20, 2025

    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.

     

    Super User
    March 20, 2025

    @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 ...

    Super User
    March 20, 2025

    @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

    Explorer
    March 20, 2025

    Already solved...

    Thank you

    Super User
    March 20, 2025

    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!

    Explorer
    March 25, 2025

    Hello community,

    Any solution for this issue ???

     

    Super User
    March 25, 2025

    Still waiting for clarification from you ...

    Explorer
    March 25, 2025

    I am just adding the RTC configurations in IOC file and once the configurations I just saved and generate the code with the RTC configs and after that if I build and run the code my other applications stops working. My LCD screen gets blank, my WIFI/BLE operations and ethernet operation stops working just by adding the RTC feature in the IOC file. This is the issue I am facing sir.