Abstract: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, five distinct interrupt types are devised based on the data transmission and reception requirements of different external devices. These include 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 the multi-serial interrupt manager, it further realizes reasonable interaction with different types of external devices. Simulation and practical testing of the system demonstrate its capability to effectively manage multiple serial ports with different interrupt types. The results affirm that the system successfully achieves comprehensive interrupt management functionality.