sensor_2026/readme.txt

50 lines
1008 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

实验器材:
探索者STM32F4开发板
实验目的:
学习串口的使用(接收与发送)
硬件资源:
1,DS0(连接在PF9)
2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)
实验现象:
本实验,STM32通过串口1和上位机对话STM32在收到上位机发过来的字符串(以回车换
行结束)后原原本本的返回给上位机。下载后DS0闪烁提示程序在运行同时每隔
一定时间通过串口1输出一段信息到电脑。
注意事项:
1,电脑端串口调试助手波特率必须是115200.
2,请使用XCOM/SSCOM串口调试助手,其他串口助手可能控制DTR/RTS导致MCU复位/程序不运行
3,串口输入字符串以回车换行结束.
4,请用USB线连接在USB_232,找到USB转串口后测试本例程.
5,P6的PA9/PA10必须通过跳线帽连接在RXD/TXD上.
正点原子@ALIENTEK
2014-10-24
广州市星翼电子科技有限公司
电话020-38271790
传真020-36773971
购买http://shop62103354.taobao.com
http://shop62057469.taobao.com
公司网站www.alientek.com
技术论坛www.openedv.com