User Manual
GD32450I-EVAL
33
/
51
Learn to use clock trim controller (CTC) to trim internal 48MHz RC oscillator (IRC48M)
clock
The CTC unit trim the frequency of the IRC48M based on an external accurate reference
signal source. It can automaticly adjust the trim value to provide a precise IRC48M
clock.
5.20.2
DEMO Running Result
Download the program <20_CTC_Calibration > to the GD32450I-EVAL board and run.
The LED1 will turn on if the internal 48MHz RC oscillator (IRC48M) clock trim is OK.
5.21
PMU_sleep_wakeup
5.21.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.21.2
DEMO Running Result
Download the program < 21_PMU_sleep_wakeup > to the EVAL board, jump the JP5 to
USART with the jumper cap and connect serial cable to EVAL_COM1. 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.22
RTC_Calendar
5.22.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.22.2
DEMO Running Result
Jump the JP5 to USART with the jumper cap, and download the program