User Manual
GD32450I-EVAL
37
/
51
Learn to use TRNG generate the random number
Learn to communicate with PC by USART
5.26.2
DEMO Running Result
Jump the JP5 to USART with the jumper cap, and download the program
<26_TRNG_Get_Random> to the EVAL board and run. Connect serial cable to
EVAL_COM1, open the serial terminal tool supporting hex format communication. When
the program is running, the serial terminal tool will display the initial information. User
can use the serial terminal tool to input the minimum and maximum values (for example,
the minimum value is 0x03, the maximum value is 0x0F), then application will generate
random number in the input range and display it by the serial terminal tool.
Information via a serial port output as following:
5.27
ENET
5.27.1
FreeRTOS_tcpudp
DEMO Purpose
This demo includes the following functions of GD32 MCU:
Learn to use Lwip stack
Learn to use FreeRTOS operation system
Learn to use netconn and socket API to handle with a task
Learn how to realize a tcp server
Learn how to realize a tcp client
Learn how to realize a udp server/client