摘要
为了解决多通道缓冲串行口McBSP与外围设备串行通信过程中出现数据丢失、数据串扰等问题,提高串行通信的稳定性,对数据收发双方的时序及其传输速率进行分析与改进。基于SPI协议设计McBSP与SPI通信的接口,分析了McBSP与SPI的串行通信问题,着重分析了仿真中的时序问题,并给出了波特率的正确配置方法。仿真结果表明,适当的波特率配置可提高串行通信的稳定性与准确性,同时能够满足实际应用需求。
In order to dealing with the issues, that data loss and crosstalk in the serial communication between McBSP and peripheral equipments. The researches and improvements on the clock and rate of both sides are done to increase the accuracy of McBSP serial communication. Based on SPI protocol, designing the communication interface and simulating the serial communication between the McBSP and SPI are carried out. Though analyzing the clock in the experiment, the correct setting of the baud rate is obtained in the paper. Experiment and analysis demonstrate that proper setting of the master's baud rate can increase the accuracy of McBSP serial communication, which encouraging the meaningful and useful researches.
出处
《电子与封装》
2016年第1期16-20,共5页
Electronics & Packaging