CN111078605A - Comprehensive processing system for multi-communication interface interruption - Google Patents

Comprehensive processing system for multi-communication interface interruption Download PDF

Info

Publication number
CN111078605A
CN111078605A CN201911258198.2A CN201911258198A CN111078605A CN 111078605 A CN111078605 A CN 111078605A CN 201911258198 A CN201911258198 A CN 201911258198A CN 111078605 A CN111078605 A CN 111078605A
Authority
CN
China
Prior art keywords
interrupt
processing system
dsp
hardware
interrupts
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911258198.2A
Other languages
Chinese (zh)
Inventor
林益锋
何浩
杨健
张晓澈
阮忠园
蒋凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Aerospace Control Technology Institute
Original Assignee
Shanghai Aerospace Control Technology Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Aerospace Control Technology Institute filed Critical Shanghai Aerospace Control Technology Institute
Priority to CN201911258198.2A priority Critical patent/CN111078605A/en
Publication of CN111078605A publication Critical patent/CN111078605A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

The invention relates to a comprehensive processing system for multi-communication interface interrupt, which is based on a DSP and an FPGA digital processing system, wherein a main processor DSP comprises 4 hardware interrupt functions; the main processor interacts data with the FPGA through the EMIF; the FPGA controls 11 serial communication interfaces and 1 1553B bus interface, so that the on-line connection of the receiving interrupt of a plurality of communication interfaces and the hardware interrupt of the DSP can be realized, and the interrupt processing priority can be changed as required. Meanwhile, a plurality of interrupt sources can share one hardware interrupt, and the function of receiving a plurality of interrupts triggered simultaneously or sequentially is realized by storing the base address of the interrupt source, so that the interrupt information loss caused by the contention interrupt is avoided.

Description

Comprehensive processing system for multi-communication interface interruption
Technical Field
The invention relates to the field of data processing, in particular to a comprehensive processing system for multi-communication interface interrupt, which mainly relates to data interaction between a DSP (digital signal processor) and an FPGA (field programmable gate array) and interrupt processing of a communication interface.
Background
With the increasing abundance of on-board equipment, the number of communication interfaces of on-board computers is also increasing, and the importance of each communication interface data is also different in different stages of flight, so that the interruption priority which is fixed unchanged in the past is increasingly unable to meet the requirements. Meanwhile, due to the fact that time sequences of different devices are asynchronous, the pop-up computer can also encounter the situation that a communication interface contends for interruption, and the situation can cause the problems that interruption information is lost, data updating is delayed and the like.
The invention designs a processing device which can flexibly change the processing priority of the communication interface according to the conditions and conditions, avoid information loss by storing the interrupt information and optimize the processing of receiving interrupt by multiple communication interfaces.
Disclosure of Invention
The invention aims to realize the comprehensive processing of the interruption of a plurality of communication interfaces through the FPGA software design, meet the requirements of modifying the processing priority of the communication interfaces according to the conditions and avoid information loss caused by contention interruption.
The invention adopts the following technical scheme: a comprehensive processing system for multi-communication interface interrupt is prepared as setting DSP and FPGA on data processing system, setting multiple communication interfaces on peripheral, connecting on-line receiving interrupt of communication interface to hardware interrupt of DSP, receiving multiple interrupts triggered at same time or in sequence by same hardware interrupt.
The processing technology is characterized in that a main processor DSP comprises 4 hardware interrupt functions; the main processor interacts data with the FPGA through the EMIF; the FPGA controls 11 serial communication interfaces and 1 1553B bus interface.
In the processing technology, an interrupt processing module receives interrupt input of peripheral equipment and sends out hardware interrupt output; the 4 x 12 matrix is adopted to realize the connection of input and output, the row represents the hardware output, the column represents the receiving interrupt source, the elements of the connection matrix are 1 table connection and 0 table disconnection, the same row can have a plurality of connections, and the same column does not allow a plurality of connections; the connection matrix element values may be set by the DSP.
In the processing technology, after the peripheral interrupt is triggered, the interrupt processing module presses the base address of the peripheral into FIFO; a plurality of interrupts triggered simultaneously are pressed into the FIFO from small to large according to the size of the base address; a plurality of interrupts triggered successively are pressed into the FIFO in a time sequence; FIFO depth is 16; after receiving the hardware interrupt, the DSP firstly accesses the interrupt processing module to obtain the base address of the peripheral, and then accesses the peripheral according to the base address and carries out corresponding processing.
The above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and any simple changes or equivalent substitutions of the technical solutions that can be made obvious by those skilled in the art within the technical scope of the present invention are within the scope of the present invention.
Compared with the prior art, the invention has the following advantages:
(1) the FPGA software is adopted to realize the function, and the interrupt connection can be modified on line.
(2) The base address of the peripheral is stored, and the loss of the interrupt information is prevented.
Drawings
The invention will be further explained with reference to the drawings and examples.
FIG. 1 is a block diagram of an integrated processing system for multiple communication interface interrupts in accordance with the present invention;
FIG. 2 is a block diagram of an interrupt handling module according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described below with reference to the accompanying drawings:
referring to FIG. 1, a data processing system comprises a DSP and an FPGA, and a main processor DSP comprises 4 hardware interrupts; DSP interacts data, address bus ADDR [2 ], with FPGA through EMIF. 21], DATA bus DATA [0..15], control signals CE, WR, RD; 11 serial communication interface protocols UART 1-UART 11 and 1 1553B bus communication protocol are arranged outside; the receiving interrupt of each communication interface is input into an interrupt processing module, and the module outputs the interrupt to 4 hardware interrupt pins of the DSP.
Referring to FIG. 2, the interrupt handling module contains two major parts, namely the connection matrix and the base address storage. The method comprises the following steps that connection between interrupt sources 1-12 and output is realized according to a 4 x 12 matrix, a row represents hardware output, a column represents a receiving interrupt source, elements of the connection matrix are 1 table connection and 0 table disconnection, a plurality of connections can be arranged in the same row, and a plurality of connections are not allowed in the same column; the connection matrix element values may be set by the DSP. When the interrupt sources of different lines trigger the interrupt at the same time, the DSP processes the interrupt sources in sequence according to the hardware interrupt priority; when the interrupt sources in the same line trigger the interrupt at the same time, the base address storage is pressed into the FIFO from small to large according to the size of the base address; when the interrupt sources in the same line trigger interrupts in sequence, the base address storage is pressed into FIFO according to the time sequence, and the first interrupt is directly processed; the FIFO depth of base address storage is 16; after receiving the hardware interrupt, the DSP firstly accesses the interrupt processing module to obtain the base address of the peripheral, and then accesses the peripheral according to the base address and carries out corresponding processing.

Claims (4)

1. An integrated processing system for multiple communication interface interrupts, wherein: the data processing system comprises a main processor DSP and an FPGA, the peripheral comprises a plurality of communication interfaces, the receiving interrupt of the communication interfaces and the hardware interrupt of the DSP can be connected in an on-line mode, and the same hardware interrupt can receive a plurality of interrupts triggered simultaneously or sequentially.
2. The integrated processing system for multiple communication interface interrupts of claim 1, wherein the host processor DSP comprises 4 hardware interrupt functions; the main processor interacts data with the FPGA through the EMIF; the FPGA controls 11 serial communication interfaces and 1 1553B bus interface.
3. The integrated processing system for multi-communication interface interrupts of claim 1, wherein the interrupt processing module receives the interrupt input of the peripheral device and issues the hardware interrupt output; the 4 x 12 matrix is adopted to realize the connection of input and output, the row represents the hardware output, the column represents the receiving interrupt source, the elements of the connection matrix are 1 table connection and 0 table disconnection, the same row can have a plurality of connections, and the same column does not allow a plurality of connections; the connection matrix element values may be set by the DSP.
4. The integrated processing system for multi-communication interface interrupts of claim 1, wherein after the peripheral interrupt is triggered, the interrupt processing module pushes the base address of the peripheral into the FIFO; a plurality of interrupts triggered simultaneously are pressed into the FIFO from small to large according to the size of the base address; a plurality of interrupts triggered successively are pressed into the FIFO in a time sequence; FIFO depth is 16; after receiving the hardware interrupt, the DSP firstly accesses the interrupt processing module to obtain the base address of the peripheral, and then accesses the peripheral according to the base address and carries out corresponding processing.
CN201911258198.2A 2019-12-10 2019-12-10 Comprehensive processing system for multi-communication interface interruption Pending CN111078605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911258198.2A CN111078605A (en) 2019-12-10 2019-12-10 Comprehensive processing system for multi-communication interface interruption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911258198.2A CN111078605A (en) 2019-12-10 2019-12-10 Comprehensive processing system for multi-communication interface interruption

Publications (1)

Publication Number Publication Date
CN111078605A true CN111078605A (en) 2020-04-28

Family

ID=70313536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911258198.2A Pending CN111078605A (en) 2019-12-10 2019-12-10 Comprehensive processing system for multi-communication interface interruption

Country Status (1)

Country Link
CN (1) CN111078605A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835855A (en) * 2021-09-08 2021-12-24 深圳市道通智能汽车有限公司 Interrupt system-based multi-task access method, processor and task access system
CN114077225A (en) * 2020-08-11 2022-02-22 北京机械设备研究所 Universal embedded servo controller

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4420806A (en) * 1981-01-15 1983-12-13 Harris Corporation Interrupt coupling and monitoring system
CN102760111A (en) * 2012-06-27 2012-10-31 浙江大学 FPGA-based (Field Programmable Gate Array) extended multi-serial port device and data receiving-transmitting method thereof
CN103591961A (en) * 2013-11-26 2014-02-19 北京航空航天大学 DSP and FPGA based strapdown compass navigation computer
CN104021106A (en) * 2014-06-19 2014-09-03 哈尔滨工业大学 DSP interrupt extension logic system based on FPGA and DSP interrupt extension method based on FPGA
CN106201946A (en) * 2016-06-29 2016-12-07 北京航天自动控制研究所 A kind of satellite borne electronic system data interface based on FPGA and DSP
CN107656886A (en) * 2017-09-30 2018-02-02 中国科学院长春光学精密机械与物理研究所 A kind of cross clock domain signal processing circuit and its processing method
CN109902036A (en) * 2019-01-29 2019-06-18 湖北三江航天红峰控制有限公司 Dual rate 1553B bus apparatus communication means based on EMIF interface

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4420806A (en) * 1981-01-15 1983-12-13 Harris Corporation Interrupt coupling and monitoring system
CN102760111A (en) * 2012-06-27 2012-10-31 浙江大学 FPGA-based (Field Programmable Gate Array) extended multi-serial port device and data receiving-transmitting method thereof
CN103591961A (en) * 2013-11-26 2014-02-19 北京航空航天大学 DSP and FPGA based strapdown compass navigation computer
CN104021106A (en) * 2014-06-19 2014-09-03 哈尔滨工业大学 DSP interrupt extension logic system based on FPGA and DSP interrupt extension method based on FPGA
CN106201946A (en) * 2016-06-29 2016-12-07 北京航天自动控制研究所 A kind of satellite borne electronic system data interface based on FPGA and DSP
CN107656886A (en) * 2017-09-30 2018-02-02 中国科学院长春光学精密机械与物理研究所 A kind of cross clock domain signal processing circuit and its processing method
CN109902036A (en) * 2019-01-29 2019-06-18 湖北三江航天红峰控制有限公司 Dual rate 1553B bus apparatus communication means based on EMIF interface

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114077225A (en) * 2020-08-11 2022-02-22 北京机械设备研究所 Universal embedded servo controller
CN114077225B (en) * 2020-08-11 2023-11-14 北京机械设备研究所 Generalized embedded servo controller
CN113835855A (en) * 2021-09-08 2021-12-24 深圳市道通智能汽车有限公司 Interrupt system-based multi-task access method, processor and task access system

Similar Documents

Publication Publication Date Title
CN103095855B (en) I2C communication interface unit
US8626973B2 (en) Pseudo multi-master I2C operation in a blade server chassis
CN107656886B (en) Cross-clock-domain signal processing circuit and processing method thereof
CN111078605A (en) Comprehensive processing system for multi-communication interface interruption
CN112732636A (en) Configuration method, device and equipment of chip prototype verification system based on multiple FPGAs
CN107291647B (en) Method for reading receiving channel data in extended serial port by DSP
CN107743621B (en) Integrated circuit input and output
CN114742000B (en) SoC chip verification system, method and device based on FPGA cluster
CN107506323B (en) Hot plug processing method and device
CN107066413B (en) Method for processing data of multiple bus devices and bus system thereof
CN113946480A (en) Detection device and method for I2C bus
US20140149616A1 (en) I2c bus structure and address management method
CN117056249B (en) MDIO-to-AHB conversion method, system, equipment and medium
US8510485B2 (en) Low power digital interface
US11650950B2 (en) Control system, switch, and method for controlling execution device
CN116450554A (en) Interrupt processing method, root complex device and electronic device
US8954623B2 (en) Universal Serial Bus devices supporting super speed and non-super speed connections for communication with a host device and methods using the same
US20090138673A1 (en) Internal memory mapped external memory interface
EP2725499A1 (en) Method for assigning dynamically an identifier to a slave device in I2C data bus
CN111723032B (en) Interrupt management and control method and electronic equipment
US10904163B2 (en) Tunneling data to a data-path chip via a microcontroller unit (MCU)
CN202854647U (en) Zero-terminal machine
CN107704403B (en) Device and method for optimizing signal transmission of main back plate
CN117422024B (en) Data bit width conversion method, device, computer equipment and medium
CN216351887U (en) Multichannel data acquisition system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200428