基于DSP的中断冲突避免机制的研究与实现*
DOI:
作者:
作者单位:

作者简介:

刘蓓1991年生,硕士,工程师,主要研究方向为嵌入式软件设计。

通讯作者:

中图分类号:

TP311

基金项目:

载人航天预研(20184112043);民用航天预研(B0104);中国科协青年人才托举工程(2018QNRC001)


Research and implementation of interrupt conflict avoidance mechanism based on DSP
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对基于 DSP 芯片 TMS320C6701 的嵌入式软件系统设计过程中常见的中断冲突问题,提出相应的解决方法和简单有效的避免机制。通过将周期性中断改为主循环查询模式、将 DSP 系统计时由定时器中断改为 FPGA 同步计时等方式,使系统中多个中断设计简化为一个中断,避免中断间的冲突。针对中断和主程序间的访问冲突,通过在主程序中关中断等方式,避免共享资源访问冲突。针对 DSP 系统和外部总线的访问冲突,通过约定接口的通信协议, 避免时序冲突。通过静态分析和动态长周期测试验证,方法有效避免了中断冲突,实现简单;针对不同冲突机制,措施灵活。设计已应用于星载相关设备,也可推广至其他嵌入式软件系统使用。

    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.

    相似文献
    引证文献
引用本文

刘蓓,郑林,蒙瑰,徐暠,郗洪柱.基于DSP的中断冲突避免机制的研究与实现*[J].遥测遥控,2020,41(2):49-54.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
    参考文献
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2021-03-01
  • 出版日期:
  • 优先出版日期: 2021-03-01