文件名称:usat

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2015-09-24
  • 文件大小:
  • 2.02mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 吴**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

实验器材:

  战舰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
(系统自动生成,下载前可以参看下载内容)

下载文件列表





实验4 串口实验\CORE\core_cm3.c

..............\....\core_cm3.h

..............\....\startup_stm32f10x_hd.s

..............\....\startup_stm32f10x_md.s

..............\HARDWARE\KEY\key.c

..............\........\...\key.h

..............\........\LED\led.c

..............\........\...\led.h

..............\keilkilll.bat

..............\OBJ\core_cm3.crf

..............\...\core_cm3.d

..............\...\core_cm3.o

..............\...\delay.crf

..............\...\delay.d

..............\...\delay.o

..............\...\key.crf

..............\...\key.d

..............\...\key.o

..............\...\led.crf

..............\...\led.d

..............\...\led.o

..............\...\main.crf

..............\...\main.d

..............\...\main.o

..............\...\misc.crf

..............\...\misc.d

..............\...\misc.o

..............\...\startup_stm32f10x_hd.d

..............\...\startup_stm32f10x_hd.o

..............\...\stm32f10x_gpio.crf

..............\...\stm32f10x_gpio.d

..............\...\stm32f10x_gpio.o

..............\...\stm32f10x_it.crf

..............\...\stm32f10x_it.d

..............\...\stm32f10x_it.o

..............\...\stm32f10x_rcc.crf

..............\...\stm32f10x_rcc.d

..............\...\stm32f10x_rcc.o

..............\...\stm32f10x_usart.crf

..............\...\stm32f10x_usart.d

..............\...\stm32f10x_usart.o

..............\...\sys.crf

..............\...\sys.d

..............\...\sys.o

..............\...\system_stm32f10x.crf

..............\...\system_stm32f10x.d

..............\...\system_stm32f10x.o

..............\...\USART.axf

..............\...\USART.build_log.htm

..............\...\usart.crf

..............\...\usart.d

..............\...\USART.hex

..............\...\USART.htm

..............\...\USART.lnp

..............\...\usart.o

..............\...\USART.sct

..............\...\USART_USART.dep

..............\README.TXT

..............\STM32F10x_FWLib\inc\misc.h

..............\...............\...\stm32f10x_adc.h

..............\...............\...\stm32f10x_bkp.h

..............\...............\...\stm32f10x_can.h

..............\...............\...\stm32f10x_cec.h

..............\...............\...\stm32f10x_crc.h

..............\...............\...\stm32f10x_dac.h

..............\...............\...\stm32f10x_dbgmcu.h

..............\...............\...\stm32f10x_dma.h

..............\...............\...\stm32f10x_exti.h

..............\...............\...\stm32f10x_flash.h

..............\...............\...\stm32f10x_fsmc.h

..............\...............\...\stm32f10x_gpio.h

..............\...............\...\stm32f10x_i2c.h

..............\...............\...\stm32f10x_iwdg.h

..............\...............\...\stm32f10x_pwr.h

..............\...............\...\stm32f10x_rcc.h

..............\...............\...\stm32f10x_rtc.h

..............\...............\...\stm32f10x_sdio.h

..............\...............\...\stm32f10x_spi.h

..............\...............\...\stm32f10x_tim.h

..............\...............\...\stm32f10x_usart.h

..............\...............\...\stm32f10x_wwdg.h

..............\...............\src\misc.c

..............\...............\...\stm32f10x_adc.c

..............\...............\...\stm32f10x_bkp.c

..............\...............\...\stm32f10x_can.c

..............\...............\...\stm32f10x_cec.c

..............\...............\...\stm32f10x_crc.c

..............\...............\...\stm32f10x_dac.c

..............\...............\...\stm32f10x_dbgmcu.c

..............\...............\...\stm32f10x_dma.c

..............\...............\...\stm32f10x_exti.c

..............\...............\...\stm32f10x_flash.c

..............\...............\...\stm32f10x_fsmc.c

..............\...............\...\stm32f10x_gpio.c

..............\...............\...\stm32f10x_i2c.c

..............\...............\...\stm32f10x_iwdg.c

..............\...............\...\stm32f10x_pwr.c

..............\...............\...\stm32f10x_rcc.c

..............\...............\...\stm32f10x_rtc.c

..............\...............\...\stm32f10x_sdio.c

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org