文件名称:3.USART串口测试
介绍说明--下载内容均来自于网络,请自行研究使用
使用外设:串口线一跟,通过COM1连接PC
** 实验名:【B】USART_TEST
** keil MDK-ARM Standard Version:V4.22A
** 软件库(keil) Version: V2.0.1
** 固件库(ST) Version: V
*************************************/
/***********************************
** 实验现象:
1、首先进行常规配置(RCC、NVIC、GPIO),然后配置串口1(115200baud 8位数据位 1位停止位 无奇偶校验位)
2、通过对USART1写操作,完成了向PC发送字符串的功能
3、此实验对串口的操作都是通过调用ST固件库,
** 实验说明:
1、打开超级终端,进行相同的设置
2、通过JLINK烧写程序,按下“RESET”键,可以看到PC接收到的字符串
“welcome to STM32”(using peripherals: the serial port line is a heel, and the PC is connected to the COM1
* * * experimental Name: [B] USART_TEST
* * * keil MDK-ARM Standard Version:V4.22A
* * software library (keil) Version: V2.0.1
* * firmware library (ST) Version: V
*************************************/
/***********************************
* * experimental phenomena:
1, first of all the regular configuration (RCC, NVIC, GPIO), and then the serial port 1 (115200baud 8 bit data bit, 1 bit stop bit and no parity bit)
2. By writing to USART1, the function of sending strings to PC is completed
3. The operation of this experiment on the serial port is by calling the ST firmware library.
* * the experiment shows that:
1. Open the super terminal and make the same setup
2, through the JLINK burning program, press the "RESET" key, you can see the string received by PC
Welcome to STM32)
** 实验名:【B】USART_TEST
** keil MDK-ARM Standard Version:V4.22A
** 软件库(keil) Version: V2.0.1
** 固件库(ST) Version: V
*************************************/
/***********************************
** 实验现象:
1、首先进行常规配置(RCC、NVIC、GPIO),然后配置串口1(115200baud 8位数据位 1位停止位 无奇偶校验位)
2、通过对USART1写操作,完成了向PC发送字符串的功能
3、此实验对串口的操作都是通过调用ST固件库,
** 实验说明:
1、打开超级终端,进行相同的设置
2、通过JLINK烧写程序,按下“RESET”键,可以看到PC接收到的字符串
“welcome to STM32”(using peripherals: the serial port line is a heel, and the PC is connected to the COM1
* * * experimental Name: [B] USART_TEST
* * * keil MDK-ARM Standard Version:V4.22A
* * software library (keil) Version: V2.0.1
* * firmware library (ST) Version: V
*************************************/
/***********************************
* * experimental phenomena:
1, first of all the regular configuration (RCC, NVIC, GPIO), and then the serial port 1 (115200baud 8 bit data bit, 1 bit stop bit and no parity bit)
2. By writing to USART1, the function of sending strings to PC is completed
3. The operation of this experiment on the serial port is by calling the ST firmware library.
* * the experiment shows that:
1. Open the super terminal and make the same setup
2, through the JLINK burning program, press the "RESET" key, you can see the string received by PC
Welcome to STM32)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
project\FWLib\inc\cortexm3_macro.h | 2225 | 2008-09-23 |
project\FWLib\inc\stm32f10x_adc.h | 18854 | 2008-09-23 |
project\FWLib\inc\stm32f10x_bkp.h | 6911 | 2008-09-23 |
project\FWLib\inc\stm32f10x_can.h | 12279 | 2008-09-23 |
project\FWLib\inc\stm32f10x_crc.h | 1881 | 2008-09-23 |
project\FWLib\inc\stm32f10x_dac.h | 9598 | 2008-09-23 |
project\FWLib\inc\stm32f10x_dbgmcu.h | 2859 | 2008-09-23 |
project\FWLib\inc\stm32f10x_dma.h | 17974 | 2008-09-23 |
project\FWLib\inc\stm32f10x_exti.h | 5776 | 2008-09-23 |
project\FWLib\inc\stm32f10x_flash.h | 13996 | 2008-09-23 |
project\FWLib\inc\stm32f10x_fsmc.h | 19041 | 2008-09-23 |
project\FWLib\inc\stm32f10x_gpio.h | 14820 | 2008-09-23 |
project\FWLib\inc\stm32f10x_i2c.h | 16213 | 2008-09-23 |
project\FWLib\inc\stm32f10x_iwdg.h | 3414 | 2008-09-23 |
project\FWLib\inc\stm32f10x_lib.h | 3200 | 2008-09-23 |
project\FWLib\inc\stm32f10x_map.h | 28290 | 2008-09-23 |
project\FWLib\inc\stm32f10x_nvic.h | 19198 | 2008-09-23 |
project\FWLib\inc\stm32f10x_pwr.h | 3865 | 2008-09-23 |
project\FWLib\inc\stm32f10x_rcc.h | 14783 | 2008-09-23 |
project\FWLib\inc\stm32f10x_rtc.h | 3619 | 2008-09-23 |
project\FWLib\inc\stm32f10x_sdio.h | 18326 | 2008-09-23 |
project\FWLib\inc\stm32f10x_spi.h | 13782 | 2008-09-23 |
project\FWLib\inc\stm32f10x_systick.h | 3212 | 2008-09-23 |
project\FWLib\inc\stm32f10x_tim.h | 47203 | 2008-09-23 |
project\FWLib\inc\stm32f10x_type.h | 3388 | 2008-09-23 |
project\FWLib\inc\stm32f10x_usart.h | 14395 | 2008-09-23 |
project\FWLib\inc\stm32f10x_wwdg.h | 2620 | 2008-09-23 |
project\FWLib\src\stm32f10x_adc.c | 58563 | 2008-09-23 |
project\FWLib\src\stm32f10x_bkp.c | 11170 | 2008-09-23 |
project\FWLib\src\stm32f10x_can.c | 32049 | 2008-09-23 |
project\FWLib\src\stm32f10x_crc.c | 4615 | 2008-09-23 |
project\FWLib\src\stm32f10x_dac.c | 17175 | 2008-09-23 |
project\FWLib\src\stm32f10x_dbgmcu.c | 5222 | 2008-09-23 |
project\FWLib\src\stm32f10x_dma.c | 33291 | 2008-09-23 |
project\FWLib\src\stm32f10x_exti.c | 8742 | 2008-09-23 |
project\FWLib\src\stm32f10x_flash.c | 32684 | 2008-09-23 |
project\FWLib\src\stm32f10x_fsmc.c | 41592 | 2008-09-23 |
project\FWLib\src\stm32f10x_gpio.c | 22512 | 2008-09-23 |
project\FWLib\src\stm32f10x_i2c.c | 46801 | 2008-09-23 |
project\FWLib\src\stm32f10x_iwdg.c | 6431 | 2008-09-23 |
project\FWLib\src\stm32f10x_lib.c | 9154 | 2008-09-23 |
project\FWLib\src\stm32f10x_nvic.c | 28776 | 2008-09-23 |
project\FWLib\src\stm32f10x_pwr.c | 11198 | 2008-09-23 |
project\FWLib\src\stm32f10x_rcc.c | 43838 | 2008-09-23 |
project\FWLib\src\stm32f10x_rtc.c | 12141 | 2008-09-23 |
project\FWLib\src\stm32f10x_sdio.c | 39336 | 2008-09-23 |
project\FWLib\src\stm32f10x_spi.c | 34808 | 2008-09-23 |
project\FWLib\src\stm32f10x_systick.c | 6993 | 2008-09-23 |
project\FWLib\src\stm32f10x_tim.c | 131091 | 2008-09-23 |
project\FWLib\src\stm32f10x_usart.c | 43292 | 2008-09-23 |
project\FWLib\src\stm32f10x_wwdg.c | 7716 | 2008-09-23 |
project\JLinkLog.txt | 65730 | 2010-10-27 |
project\Lis\cortexm3_macro.lst | 26261 | 2017-10-25 |
project\Lis\stm32f10x_vector.lst | 39025 | 2017-10-25 |
project\Lis\USART.map | 74804 | 2017-10-25 |
project\obj\cortexm3_macro.d | 50 | 2017-10-25 |
project\obj\cortexm3_macro.o | 2596 | 2017-10-25 |
project\obj\main.crf | 154885 | 2017-10-25 |
project\obj\main.d | 1888 | 2017-10-25 |
project\obj\main.o | 177172 | 2017-10-25 |
project\obj\stm32f10x_flash.crf | 38403 | 2017-10-25 |
project\obj\stm32f10x_flash.d | 414 | 2017-10-25 |
project\obj\stm32f10x_flash.o | 44404 | 2017-10-25 |
project\obj\stm32f10x_gpio.crf | 42624 | 2017-10-25 |
project\obj\stm32f10x_gpio.d | 476 | 2017-10-25 |
project\obj\stm32f10x_gpio.o | 50536 | 2017-10-25 |
project\obj\stm32f10x_it.crf | 150424 | 2017-10-25 |
project\obj\stm32f10x_it.d | 2015 | 2017-10-25 |
project\obj\stm32f10x_it.o | 182428 | 2017-10-25 |
project\obj\stm32f10x_nvic.crf | 36537 | 2017-10-25 |
project\obj\stm32f10x_nvic.d | 406 | 2017-10-25 |
project\obj\stm32f10x_nvic.o | 47392 | 2017-10-25 |
project\obj\stm32f10x_rcc.crf | 41167 | 2017-10-25 |
project\obj\stm32f10x_rcc.d | 398 | 2017-10-25 |
project\obj\stm32f10x_rcc.o | 48948 | 2017-10-25 |
project\obj\stm32f10x_usart.crf | 45809 | 2017-10-25 |
project\obj\stm32f10x_usart.d | 485 | 2017-10-25 |
project\obj\stm32f10x_usart.o | 54372 | 2017-10-25 |
project\obj\stm32f10x_vector.d | 54 | 2017-10-25 |
project\obj\stm32f10x_vector.o | 5912 | 2017-10-25 |
project\obj\uart.crf | 148405 | 2017-10-25 |
project\obj\uart.d | 1799 | 2017-10-25 |
project\obj\uart.o | 172332 | 2017-10-25 |
project\obj\USART.axf | 121972 | 2017-10-25 |
project\obj\USART.hex | 18366 | 2017-10-25 |
project\obj\USART.htm | 66576 | 2017-10-25 |
project\obj\USART.lnp | 473 | 2017-10-25 |
project\obj\USART.plg | 296 | 2017-11-02 |
project\obj\USART.sct | 479 | 2010-10-26 |
project\obj\USART.tra | 1596 | 2017-10-25 |
project\Source\main.c | 7957 | 2014-07-10 |
project\Source\platform_config.h | 4084 | 2009-05-07 |
project\Source\readme.txt | 3445 | 2009-05-07 |
project\Source\stm32f10x_conf.h | 6297 | 2009-05-07 |
project\Source\stm32f10x_it.c | 29218 | 2009-05-07 |
project\Source\stm32f10x_it.h | 3842 | 2009-05-07 |
project\Source\uart.c | 1859 | 2010-10-27 |
project\Source\uart.h | 243 | 2010-10-26 |
project\Source\uartGetPut.h | 524 | 2010-10-26 |
project\Startup\cortexm3_macro.s | 10308 | 2008-09-21 |