STM32H750XB_RT-THREAD/20-USART一串口通信/USART2—RS232接发/必读说明.txt
2025-07-21 14:34:29 +08:00

70 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*********************************************************************************************/
【*】 程序简介
-工程名称USART5接发
-实验平台: 野火STM32 H743 开发板
-MDK版本5.25
-ST固件库版本1.5.0
【 !】功能简介:
使用USART接收数据并将数据回传。
学习目的学会使用STM32串口发送和接收数据。
【 !!】注意事项:
接口板子上侧的DB9接口
跳线帽:使用跳线帽连接 T1IN<--->D5,R1OUT<--->D6 (出厂默认已连接,在网口旁边)。
串口波特率115200
【 !】实验操作:
电脑端使用串口调试助手选择电脑与STM32相连的COM口设置为115200-N-8-1
复位开发板即可接收STM32串口发送给电脑的数据。
电脑端发送字符到stm32stm32会回显该字符到电脑端。
/*********************************************************************************************/
【*】 引脚分配
串口TTL-RS232
RS232的收发引脚与STM32的发收引脚相连。
T1IN <--->PD5
R1OUT<--->PD6
/*********************************************************************************************/
【*】 时钟
A.晶振:
-外部高速晶振25MHz
-RTC晶振32.768KHz
B.各总线运行时钟:
-系统时钟 = SYCCLK = 480MHz
-AHB4 = 240MHz
-AXI = 240MHz
-APB1 = 120MHz
-APB2 = 120MHz
-APB3 = 120MHz
C.浮点运算单元:
使能
/*********************************************************************************************/
【*】 版本
-程序版本1.0
-发布日期2019
-版本更新说明:首次发布
/*********************************************************************************************/
【*】 联系我们
-野火论坛 :http://www.firebbs.cn
-淘宝店铺 :http://firestm32.taobao.com
/*********************************************************************************************/