摘要
UART通信通常采用中断或者查询的方式来实现数据存取,但这种访问模式在数据吞吐量较大时,极易造成处理器负荷过重或数据丢失。提出了一种直接利用DMA通道实现UART的方法,并将这种方式应用于数据记录仪网关软件设计。
The data access of UART communication is usually achieved by the way of interruption or inquiry, but this access mode can easily result in processor overload or data loss when data throughput is large. A method of directly using DMA channels to achieve UART communication is presented, which is used in software design of data recorder gateway.
出处
《铁道机车与动车》
2016年第5期1-3,共3页
Railway Locomotive and Motor Car