首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于DSP的中断冲突避免机制的研究与实现*
作者姓名:刘蓓  郑林  蒙瑰  徐暠  郗洪柱
作者单位:航天长征火箭技术有限公司 北京 100076
基金项目:载人航天预研(20184112043);民用航天预研(B0104);中国科协青年人才托举工程(2018QNRC001)
摘    要:针对基于DSP芯片TMS320C6701的嵌入式软件系统设计过程中常见的中断冲突问题,提出相应的解决方法和简单有效的避免机制。通过将周期性中断改为主循环查询模式、将DSP系统计时由定时器中断改为FPGA同步计时等方式,使系统中多个中断设计简化为一个中断,避免中断间的冲突。针对中断和主程序间的访问冲突,通过在主程序中关中断等方式,避免共享资源访问冲突。针对DSP系统和外部总线的访问冲突,通过约定接口的通信协议,避免时序冲突。通过静态分析和动态长周期测试验证,方法有效避免了中断冲突,实现简单;针对不同冲突机制,措施灵活。设计已应用于星载相关设备,也可推广至其他嵌入式软件系统使用。

关 键 词:DSP  FPGA  1553B  总线  中断冲突

Research and implementation of interrupt conflict avoidance mechanism based on DSP
Authors:Liu Bei  Zheng Lin  Meng Gui  Xu Hao  Xi Hongzhu
Institution:Aerospace Long March Lauch Vehicle Technology Co. Ltd., Beijing 100076 , China
Abstract:To solve the interrupt conflict problems in the program based on the TMS320C6701 DSP embedded software system, the solution and valid avoidance mechanism are proposed. To avoid the conflict between the interrupts, there are some methods by which the system can be configured with just one interrupt instead of multiple interrupts, such as using polling mode replaced the periodic interrupt, the system time counting by FPGA instead of DSP timer counting interrupt. The interrupt conflict between the interrupt service routine and the main program could be avoided by disabling the interrupt in the main program. By ensuring reliable interface communication protocol logic to avoid the access conflict between the DSP system and the 1553B Bus. It is verified the validity of the interrupt conflict avoidance mechanism by static analysis and dynamic long-periodic test. The design has provided the ultimate flexibility and simplification for a variety of conflicts in the space devices, which could also be applied in other areas.
Keywords:
本文献已被 CNKI 等数据库收录!
点击此处可从《》浏览原始摘要信息
点击此处可从《》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号