/**
@page USART_Printf USART_Printf
@verbatim
************************ Portions COPYRIGHT 2011 STMicroelectronics **********
* @file USART_Printf/readme.txt
* @author MCD Application Team
* @version V1.0.0
* @date 30-September-2011
* @brief Description of the USART Printf Example.
******************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
******************************************************************************
@endverbatim
*/
/**
@page USART_Printf USART_Printf
@verbatim
****************** Portions COPYRIGHT 2012 Embest Tech. Co., Ltd.*************
* @file readme.txt
* @author CMP Team
* @version V1.0.0
* @date 28-December-2012
* @brief Description of the USART Printf Example.
* Modified to support the STM32F4DISCOVERY and STM32F4DIS-BB modules.
******************************************************************************
* @attention
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, Embest SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT
* OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT
* OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION
* CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
******************************************************************************
@endverbatim
*/
@par Example Description
This example shows how to retarget the C library printf function to the USART.
This implementation output the printf message on the Hyperterminal using USART6.
The USARTx is configured as follow:
- BaudRate = 115200 baud
- Word Length = 8 Bits
- One Stop Bit
- No parity
- Hardware flow control disabled (RTS and CTS signals)
- Receive and transmit enabled
@par Directory contents
- "inc": contains the project firmware header files
- inc/stm32f4xx_conf.h Library Configuration file
- inc/stm32f4xx_it.h Interrupt handlers header file
- "src": contains the project firmware source files
- src/system_stm32f4xx.c STM32F4xx system clock configuration file
- src/stm32f4xx_it.c Interrupt handlers
- src/main.c Main program
@note The "system_stm32f4xx.c" is generated by an automatic clock configuration
tool and can be easily customized to your own configuration.
To select different clock setup, use the "STM32F4xx_Clock_Configuration_V1.0.0.xls"
provided with the AN3988 package available on <a href="http://www.st.com/internet/mcu/family/141.jsp"> ST Microcontrollers </a>
@par Hardware and Software environment
- This example has been tested with the following environment:
- STM32F4DISCOVERY board
- STM32F4DIS-BB for the Base Board
- Hyperterminal
- Software development tools
- EWARM V6.40
- MDK-ARM V4.60
- Hardware Set-up
- Mount STM32F4DISCOVERY board onto STM32F4DIS-BB board through CON1 and CON2
- Connect a null-modem female/female RS232 cable between the DB9 connector COM1 (USART6) and PC serial port
@note Make sure that jumper
JP1: ON
JP2: ON
- Connect the STM32F4DISCOVERY board to a PC with a 'USB type A to Mini-B' cable
through USB connector CN1 to power the board.
- Hyperterminal configuration:
- Word Length = 8 Bits
- One Stop Bit
- No parity
- BaudRate = 115200 baud
- flow control: None
@par How to use it ?
In order to load the Project code, you have do the following:
- EWARM
- Open the Project.eww workspace
- Rebuild all files: Project->Rebuild all
- Load project image: Project->Debug
- Run program: Debug->Go(F5)
- MDK-ARM
- Open the Project.uvproj project
- Rebuild all files: Project->Rebuild all target files
- Load project image: Debug->Start/Stop Debug Session
- Run program: Debug->Run (F5)
/*********** Portions COPYRIGHT 2012 Embest Tech. Co., Ltd.*****END OF FILE****/
没有合适的资源?快使用搜索试试~ 我知道了~
STM32F4xx_USART_Example.rar_STM32F407VGT6_dma usart_usart dma
共190个文件
h:52个
c:49个
d:18个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 2 下载量 169 浏览量
2022-09-23
13:16:43
上传
评论
收藏 3.19MB RAR 举报
温馨提示
使用stm32F407VGT6这款单片机,串口使用,而且是利用DMA方式,发送完毕中断。共大家参考一下
资源详情
资源评论
资源推荐
收起资源包目录
STM32F4xx_USART_Example.rar_STM32F407VGT6_dma usart_usart dma (190个子文件)
Project.uvgui.Administrator 78KB
Project.axf 312KB
Project.uvgui_Administrator.bak 78KB
Project_uvproj.bak 18KB
Project_uvopt.bak 15KB
logo.bmp 7KB
stm32f4xx_tim.c 123KB
stm32f4xx_rtc.c 102KB
stm32f4_discovery_sdio_sd.c 88KB
stm32f4xx_rcc.c 73KB
stm32f4xx_adc.c 67KB
stm32f4_discovery_audio_codec.c 60KB
stm32f4xx_can.c 59KB
stm32f4xx_usart.c 55KB
stm32f4xx_i2c.c 52KB
stm32f4xx_dma.c 51KB
stm32f4xx_spi.c 51KB
fonts.c 46KB
LCD_Driver.c 42KB
ztm320240S35.c 42KB
stm32f4xx_fsmc.c 41KB
stm32f4_discovery_lcd.c 40KB
stm32f4xx_sdio.c 39KB
stm32f4xx_flash.c 37KB
stm32f4xx_cryp.c 32KB
stm32f4xx_dac.c 26KB
stm32f4xx_hash.c 26KB
stm32f4xx_pwr.c 25KB
system_stm32f4xx.c 22KB
system_stm32f4xx.c 21KB
stm32f4xx_cryp_aes.c 21KB
stm32f4xx_gpio.c 21KB
Menu.c 19KB
stm32f4xx_dcmi.c 19KB
stm32f4_discovery_lis302dl.c 16KB
stm32f4_discovery.c 16KB
stm32f4xx_rng.c 14KB
usart.c 13KB
lcd_log.c 12KB
misc.c 11KB
stm32f4xx_wwdg.c 11KB
stm32f4xx_exti.c 10KB
stm32f4xx_cryp_tdes.c 10KB
stm32f4xx_hash_sha1.c 10KB
stm32f4xx_hash_md5.c 9KB
stm32f4xx_iwdg.c 9KB
stm32f4xx_cryp_des.c 9KB
usart - 副本.c 8KB
stm32f4xx_syscfg.c 7KB
stm32f4xx_it.c 7KB
main.c 7KB
stm32f4xx_dbgmcu.c 7KB
ADC.c 4KB
stm32f4_discovery_debug.c 4KB
stm32f4xx_crc.c 4KB
main.crf 411KB
ztm320240s35.crf 407KB
stm32f4xx_rcc.crf 403KB
usart.crf 402KB
stm32f4xx_dma.crf 401KB
stm32f4_discovery.crf 401KB
stm32f4xx_usart.crf 400KB
stm32f4xx_sdio.crf 399KB
stm32f4xx_it.crf 398KB
stm32f4xx_gpio.crf 397KB
system_stm32f4xx.crf 396KB
stm32f4xx_exti.crf 395KB
stm32f4xx_syscfg.crf 395KB
misc.crf 395KB
lcd_driver.crf 26KB
menu.crf 21KB
adc.crf 19KB
stm32f4_discovery.d 4KB
stm32f4xx_syscfg.d 4KB
stm32f4xx_usart.d 4KB
stm32f4xx_sdio.d 4KB
stm32f4xx_exti.d 4KB
stm32f4xx_gpio.d 4KB
stm32f4xx_rcc.d 4KB
stm32f4xx_dma.d 4KB
system_stm32f4xx.d 3KB
stm32f4xx_it.d 3KB
ztm320240s35.d 3KB
main.d 3KB
misc.d 3KB
usart.d 3KB
lcd_driver.d 385B
menu.d 337B
adc.d 329B
startup_stm32f4xx.d 124B
Project_Discover-More.dep 46KB
Project.ewd 31KB
Project.ewp 27KB
Project.eww 161B
stm32f4xx.h 518KB
arm_math.h 235KB
core_cm4.h 77KB
core_cm3.h 68KB
stm32f4xx_tim.h 50KB
stm32f4xx_rtc.h 40KB
共 190 条
- 1
- 2
刘良运
- 粉丝: 66
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1