4794 views|4 replies

396

Posts

4

Resources
The OP
 

【GD32307E-START】Development practice->UART sends HELLOWORD to the world [Copy link]

This post was last edited by ylyfxzsx on 2020-9-29 22:41

In the previous section, the development environment has been set up and the onboard LED has been turned on. In this section, we will send a classic HELLOWORD to the world through UART! First of all, thanks to the onboard USB to UART CH340 chip, it is very convenient to connect to the computer. Just plug the MINIUSB cable into the USB port of CN3 to see the serial port device. Here my PC shows COM5, which varies depending on the port number of the personal computer.

Then we check the SCH schematic diagram of the development board. The PB6 and PB7 pins of the MCU are connected to CH340. By checking the MCU's Datasheet, we know that it is the USART0 serial port. Then we can happily write the code.

Then continue to write the code, as shown in the figure below. After completion, compile and run it, download it to the chip and run it. Open the serial port assistant to view the print results. You can see that the serial port prints out: "HELLOWORD!" So far, this section of pleasant exploration is easily completed!

GD32307E_DEP.rar (238.92 KB, downloads: 17)

This post is from GD32 MCU

Latest reply

This looks good.   Details Published on 2021-7-14 14:11
 

2056

Posts

0

Resources
2
 

The quality of the post is very good

This post is from GD32 MCU
 
 
 

1w

Posts

204

Resources
3
 

GigaDevice GD32307E-START review summary
https://bbs.eeworld.com.cn/thread-1143008-1-1.html

This post is from GD32 MCU
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
Personal signature

玩板看这里:

https://bbs.eeworld.com.cn/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 

661

Posts

0

Resources
4
 

Thanks for sharing

This post is from GD32 MCU
 
 
 

2

Posts

0

Resources
5
 

This looks good.

This post is from GD32 MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list