为解决ARM与DSP双核系统中双处理器之间的通信问题,实现二者之间可靠、高效、稳定地通信,提出了基于主机接口(HPI)进行双处理器通信的接口设计方法.对设计所采用的S3C6410和TMS320DM642两款处理器进行了简要的介绍,分析了HPI接口的特点、内部构成及工作原理,在此基础上详细阐述了系统硬件电路设计方案以及Linux下接口驱动程序设计.长期的运行测试结果验证了该设计的准确性和有效性,对嵌入式系统设计具有一定的应用价值.%To solve the communication problem between ARM and DSP in dual-CPU system, a design method of communication interface based on host port interface (HPI) is proposed. Firstly, two processers employed in the design are introduced briefly, which are S3C6410 and TMS320DM642. Then, the features, internal structure and working principle are analyzed. Furthermore, detailed interface hardware circuit and driver program under Linux design process are presented. Finally, the accuracy and efficiency of the design is validated by long run tests. It will have important practical value in embedded system development.
展开▼