Description: 实验器材:
战舰STM32F103开发板V3版本
实验目的:
学习串口的使用(接收与发送)
硬件资源:
1,DS0(连接在PB5)
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,P4的PA9/PA10必须通过跳线帽连接在RXD/TXD上.
-Experimental equipment: Battleship STM32F103 Development Board V3 version Purpose: Learning to use the serial port (receive and transmit) hardware resources: 1, DS0 (connected to PB5) 2, 1 serial port (baud rate: 115200, PA9/PA10 connections onboard USB to serial chip CH340 above) experimental phenomena: this experiment, STM32 through the serial port 1 and PC dialogue, STM32 after a string sent the host computer (the end with a carriage return line feed) received exactly back to the host computer. After downloading, DS0 flashes, indicating the program is running, but at a certain time, a piece of information through the serial port 1 output to the computer. Note: 1, computer terminal serial debugging assistant baud rate must be 115,200.2, please use the XCOM/SSCOM serial debugging assistant, other serial Assistant may control DTR/RTS cause MCU reset/program does not run 3, serial input string End carriage return line feed. 4, connect the USB cable in USB_232, find a USB-to-serial test Platform: |
Size: 2122752 |
Author:吴宇轩 |
Hits:
Description: stm32f103系列ad采集,实现1M的采样率,能够通过usb接口和上位机进行数据通讯。-stm32f103 series ad acquisition to achieve 1M sampling rate, data communication can be performed via usb interface and the host computer. Platform: |
Size: 26202112 |
Author:阳阳 |
Hits:
Description: STM32官方提供的USB Device驱动和应用案例,已经移植完成(The STM32 official USB Device driver and application case has been transplanted.) Platform: |
Size: 2851840 |
Author:Jerryy112233
|
Hits:
Description: 一款基于STM32F103的PC上位机软件,使用C#编写,使用USB虚拟串口进行指令通信。可根据自身需要,修改接口指令,完成指定上位机功能。(A PC host computer software based on STM32F103 is written by C#, and the USB virtual serial port is used for instruction communication. According to our needs, we modify the interface instructions to complete the function of the specified host computer.) Platform: |
Size: 2180096 |
Author:人字旁侨 |
Hits: