摘要
为了解决飞控计算机与多个不同周期和数据帧大小的外部设备串口合理传输数据的问题,在FPGA中设计了一款多串口中断管理器,其包含有寄存器控制模块、中断控制模块和串口控制模块;为每一个外部设备设计了发送和接收的FIFO模块来缓存串口数据,同时根据不同外部设备的数据收发需求,设计了5种合理的中断类型来触发飞控计算机的中断,包括接收数据就绪中断、发送FIFO空中断、数据状态错误中断接收超时中断和发送超时中断;通过总线与该多串口中断管理器通信,进一步实现与不同类型外部设备的合理交互;通过对系统进行仿真和实际测试,表明该系统能实现16路串口的5种中断管理功能。
To address the challenge of efficient data transmission between the flight control computer and multiple external devices with varying data frame sizes and time cycles,a multi-serial port interrupt manager is designed using a Field Programmable Gate Array(FPGA).This manager comprises a register control module,an interrupt control module,and a serial port control module.For each external device,First in,First out(FIFO)modules are designed for both transmission and reception to buffer serial port data.Additionally,according to the data transmission and reception requirements of different external devices,five types of reasonable interrupts are designed to trigger the interrupts in the flight control computer,including the interrupt for data reception readiness,FIFO empty interrupt for transmission,data status error interrupt,reception timeout interrupt,and transmission timeout interrupt.Through bus communication with multi-serial interrupt manager,it further realizes reasonable interaction with different types of external devices.Simulation and practical testing show that the system can achieve five types of interrupt management with sixteen serial ports.
作者
熊荐辕
王保成
XIONG Jianyuan;WANG Baocheng(Aerospace Information Research Institute,Chinese Academy of Sciences,Beijing 100094,China;University of Chinese Academy of Sciences,Beijing 100049,China)
出处
《计算机测量与控制》
2024年第11期308-314,共7页
Computer Measurement &Control
基金
国家自然基金重大仪器项目(52227811)。