User Guide
GD32E507Z-EVAL
29/43
5.19.2. DEMO running result
Download the program <19_CTC_Calibration> to the EVAL board and run. If the clock trim is
OK, LED2 will be on. Otherwise, LED2 will be turned off.
5.20. PMU_Sleep_Wakeup
5.20.1. DEMO purpose
This Demo includes the following functions of GD32 MCU:
Learn to use the USART receive interrupt to wake up the PMU from sleep mode
5.20.2. DEMO running result
Download the program < 20_PMU_sleep_wakeup > to the EVAL board, connect serial cable
to USART0. After power-on, all the LEDs are off. The MCU will enter sleep mode and the
software stop running. When the USART0 receives a byte of data from the HyperTerminal,
the MCU will wake up from a receive interrupt. And all the LEDs will flash together.
5.21. RTC_Calendar
5.21.1. DEMO purpose
This demo includes the following functions of GD32 MCU:
Learn to use RTC module to implement calendar function
Learn to use USART module to implement time display
5.21.2. DEMO running result
Download the program <21_RTC_Calendar> to the EVAL board and run. Connect serial
cable to USART0, open the HyperTerminal. After start-up, the program will ask to set the time
on the HyperTerminal. The calendar will be displayed on the HyperTerminal.