摘要
针对现有双核飞行控制系统方案中CPU之间通信存在接口电路复杂、通信速率低、扩展性差的问题,提出了一种采用并行16位GPIO口直接互连并利用中断应答机制控制CPU之间数据通信的方案。选用两片基于Cortex-M4内核具有单周期浮点运算能力的STM32F407进行同步控制与通信,并利用MicroXplorer软件完成CPU外设管脚资源的分配与设计,制定并编写了相关通信协议。经检验,这种双CPU直接并口通信的方式,既能满足飞控系统高速可靠的数据交换,同时又简化了CPU之间的通信接口电路,是一种简便可行的方案。
At present, in existing dual-core flight control system schemes, the communication between CPU features disadvantages of complex circuitry, low communication rate, and poor expansibility, thus the scheme is proposed, in which parallel 16-bit GPIO port direct interconnection is adopted, and communication between CPU is controlled through interrupt response mechanism. Two of the STM32F407 chips based on Cortex- M4 inner core, and features single cycle floating point operation capability are selected for synchronize control and communication; and MicroXplorer software is used to accomplish the distribution and design of the peripheral pin resources of CPU, and relevant communication protocol is formulated and written. The tests indicate that the direct parallel communication between dual CPU meets the requirements of high speed reliable data exchange, and simplified the communication interfacing circuit between CPU, it is a simple and feasible scheme.
出处
《自动化仪表》
CAS
2015年第2期30-34,38,共6页
Process Automation Instrumentation