MSPM0G3507:RTC

Part Number: MSPM0G3507

Does anyone know how to configure the RTC clock of MSPM0G3507 in CCS and display the time on the LCD screen in real time? Need help, thank you.
I only placed the initialization code before the while loop, and inside the loop, there is only one line of code: DL_RTC_get_CalendarBinary(), which is used to retrieve the time in a loop. However, when I display the structure variable through the LCD, the time doesn’t update. How can I solve this problem?