打印

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

[复制链接]
2203|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

粉丝