摘要
为了解决航空机载设备参数加载耗费CPU资源严重而导致系统运行低效的问题,文章描述了一种串口直接存储访问(Direct Memory Access,DMA)方式的数据加载方案。在设计方案中,我们提出了一种串口加载数据通信协议用来保证串口加载数据的完整性和可靠性,解决了传统轮询或读数据寄存器非空(Read Data Register Not Empty,RXNE)中断方式可能导致的数据丢失以及处理器时间占用较多的问题。通过研究DMA和空闲(IDLE)中断结合的串口接收模式,可以有效降低CPU的资源占有率,提高系统的运行效率,为机载设备进行大量数据的加载提供新的参考。
In order to solve the problem that the parameter loading of aviation airborne equipment consumes CPU resources seriously and causes the system running inefficiently,this paper describes a data loading scheme based on serial port with DMA(Direct Memory Access).In the design,we proposed a loading data communication protocol with serial port to ensure the integrity and reliability of the loading data through serial port.The design solves the problem of data loss and processor occupation time caused by querying or RXNE(Read Data Register Not Empty)mode in reception.By studying the serial port receiving mode that combines DMA and IDLE interrupt,it can effectively reduce the resource occupancy of the CPU,improve the operating efficiency of the system,and provide a new reference for the loading of large amounts of data on airborne equipment.
作者
石杰
李雪源
杨佳
SHI Jie;LI Xueyuan;YANG Jia(Xi'an Aeronautics Computing technique research institute,Xi'an 710065,China)
出处
《长江信息通信》
2022年第3期106-108,共3页
Changjiang Information & Communications