================================================================================
样例使用说明
================================================================================
版本历史
日期 作者 IAR MDK GCC 描述
2018-11-27 CDT 7.70 5.16 8.3.1 first version
================================================================================
平台说明
================================================================================
GCC工程,由Eclipse IDE外挂GNU-ARM Toolchain,再结合pyOCD GDB Server实现工程的编译、
链接和调试。在用Eclipse导入工程后,请将xxxx_PyOCDDebug中pyocd-gdbserver和SVD文件
设置为正确的路径;请将xxxx_PyOCDDownload中pyocd设置为正确的路径。注意,这些路径不
能包含非英文字符。
功能描述
================================================================================
本样例主要展示USART外设配置为UART模式时通过DMA方式收发数据。
说明:
无
================================================================================
测试环境
================================================================================
测试用板:
---------------------
EV-HC32F460-LQFP100-050-V1.3
辅助工具:
---------------------
无
辅助软件:
---------------------
串口助手软件
================================================================================
使用步骤
================================================================================
1)通过USB数据线,连接PC和板子J1。
2)打开串口助手软件,配置端口如下参数。
波特率:115200
数据位:8
校验位:None
停止位:1
3)打开工程并重新编译。
4)下载代码测试板,并且全速运行。
5)在串口助手窗口输入字母或数字,窗口回显输入内容,传输过程中,LED_GREEN点亮。
6)等待LED_RED点亮后,重复步骤5。
================================================================================
注意
================================================================================
如使用时更改USART通道,需同时修改UART外设通道,GPIO配置、外设Clock使能和配置
NVIC功能的相应事件号。
================================================================================
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
华大HC32F460 KETA 串口3 DMA接收不定长数据 工程源码 编译通过无错误 (199个子文件)
uart_dma.uvguix.Administrator 177KB
uart_dma.axf 1.69MB
hc32f460_interrupts.c 107KB
hc32f460_sdioc.c 96KB
hc32f460_timera.c 92KB
hc32f460_dmac.c 86KB
hc32f460_pwc.c 69KB
hc32f460_usart.c 67KB
hc32f460_timer6.c 65KB
hc32f460_adc.c 63KB
hc32f460_clk.c 63KB
hc32f460_timer4_oco.c 60KB
hc32f460_i2c.c 53KB
hc32f460_spi.c 49KB
hc32f460_mpu.c 44KB
hc32f460_cmp.c 41KB
hc32f460_dcu.c 41KB
hc32f460_timer4_cnt.c 37KB
hc32f460_timer0.c 34KB
hc32f460_rtc.c 34KB
hc32f460_qspi.c 32KB
hc32f460_efm.c 30KB
hc32f460_timer4_sevt.c 27KB
hc32f460_gpio.c 26KB
hc32f460_timer4_pwm.c 24KB
hc32f460_can.c 20KB
hc32f460_event_port.c 18KB
hc32f460_utility.c 18KB
hc32f460_i2s.c 17KB
ev_hc32f460_lqfp100_v1.c 16KB
hc32f460_emb.c 16KB
hc32f460_ots.c 14KB
main.c 14KB
hc32f460_exint_nmi_swi.c 13KB
hc32f460_timer4_emb.c 11KB
hc32f460_aes.c 11KB
hc32f460_crc.c 11KB
hc32f460_sram.c 11KB
hc32f460_hash.c 10KB
hc32f460_wdt.c 10KB
hc32f460_trng.c 10KB
hc32f460_keyscan.c 9KB
hc32f460_swdt.c 6KB
hc32f460_rmu.c 6KB
system_hc32f460.c 4KB
hc32f460_icg.c 3KB
main.crf 1.3MB
ev_hc32f460_lqfp100_v1.crf 1.27MB
hc32f460_dmac.crf 1.24MB
hc32f460_clk.crf 1.23MB
hc32f460_pwc.crf 1.22MB
hc32f460_interrupts.crf 1.22MB
hc32f460_usart.crf 1.22MB
hc32f460_timer0.crf 1.21MB
hc32f460_gpio.crf 1.21MB
hc32f460_efm.crf 1.21MB
hc32f460_exint_nmi_swi.crf 1.2MB
hc32f460_icg.crf 1.2MB
hc32f460_keyscan.crf 1.2MB
hc32f460_sram.crf 1.2MB
hc32f460_utility.crf 1.2MB
system_hc32f460.crf 1.19MB
ev_hc32f460_lqfp100_v1.d 2KB
main.d 2KB
hc32f460_exint_nmi_swi.d 1KB
hc32f460_interrupts.d 1KB
hc32f460_keyscan.d 1KB
hc32f460_timer0.d 1KB
hc32f460_usart.d 1KB
hc32f460_sram.d 1KB
hc32f460_gpio.d 1KB
hc32f460_dmac.d 1KB
hc32f460_utility.d 1KB
hc32f460_clk.d 1KB
hc32f460_efm.d 1KB
hc32f460_pwc.d 1KB
hc32f460_icg.d 1KB
system_hc32f460.d 1KB
startup_hc32f460.d 55B
uart_dma_uart_dma_Debug.dep 25KB
HC32F460_256K.FLM 26KB
HC32F460_512K.FLM 25KB
HC32F460_otp.FLM 24KB
hc32f460.h 2.04MB
core_cm33.h 171KB
core_armv8mml.h 165KB
core_cm7.h 145KB
core_cm4.h 121KB
core_cm3.h 109KB
core_sc300.h 108KB
core_cm23.h 102KB
core_armv8mbl.h 96KB
cmsis_gcc.h 61KB
cmsis_armclang.h 55KB
core_cm0plus.h 49KB
core_sc000.h 46KB
core_cm1.h 42KB
core_cm0.h 41KB
hc32f460_timer6.h 35KB
hc32f460_timera.h 31KB
共 199 条
- 1
- 2
记忆的沙漏11
- 粉丝: 15
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0