有关V3.0的例子USART的DMA_Polling的疑问?

[复制链接]
2909|3
 楼主| bhsdlmj 发表于 2009-6-3 09:01 | 显示全部楼层 |阅读模式

这个例子的readme.txt说:
First, the DMA transfers data from TxBuffer2 buffer to USART2 Transmit data 
register, then this data is sent to USART1. Data received by USART1 is transferred
by DMA and stored in RxBuffer1 then compared with the send ones and the result 
of this comparison is stored in the "TransferStatus1" variable.

In the same time, the DMA transfers data from TxBuffer1 buffer to USART1 Transmit
data register, then this data is sent to USART2. Data received by USART2 is
transferred by DMA and stored in RxBuffer2 then compared with the send ones and
the result of this comparison is stored in the "TransferStatus2" variable. 
================================================

搞不明白USART1的发送移位寄存器的数据怎么就到了 USART2里面了呢?
难道是..........
 
需要将串口1和串口2用线相连??
 楼主| bhsdlmj 发表于 2009-6-3 09:53 | 显示全部楼层

看来 99.999999999%的可能是需用线连接!

35238700 发表于 2011-9-1 14:24 | 显示全部楼层
我也遇到这个问题诶,有答案了么?
香水城 发表于 2011-9-1 15:04 | 显示全部楼层
请LZ继续往下看readme.txt,在"Hardware and Software environment "部分说明了评估板上的硬件连线。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

55

主题

351

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部