User Manual
GD32350R-EVAL
29 /33
5.18.
PMU_sleep_wakeup
5.18.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.18.2.
DEMO Running Result
Download the program < 18_PMU_sleep_wakeup > to the EVAL board, connect serial
cable to EVAL_COM. 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.19.
RTC_Calendar
5.19.1.
DEMO Purpose
This Demo includes the following functions of GD32 MCU:
Learn to use RTC module to implement calendar function
Learn to use LCD module to display the time of calendar
5.19.2.
DEMO Running Result
Download the program <19_RTC_Calendar> to the EVAL board and run. When the
program is running, the four LEDs, LED1 to LED4 turn on, then turn off. And then the
LCD prints out the information of the board, and the calendar. When you press the
Wakeup key, the time will be configured to 2016-05-13, 12:00:00.
If place a battery on GD32F350R_EVAL board, it can realize no losing of time when
power down. In this case, notice that JP5 jump to the VBAT.
5.20.
IRInfrared_Transceiver
5.20.1.
DEMO Purpose
This Demo includes the following functions of GD32 MCU:
Learn to use general timer output PWM wave
Learn to use general timer generated update interrupt
Learn to use general timer capture interrupt
Learn to use general timer TIMER15 and TIMER16 implement Infrared function