This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS570LS3137:vimEnableInterrupt()有问题?

Guru**** 656470 points
Other Parts Discussed in Thread: HALCOGEN
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1077930/tms570ls3137-bug-with-vimenableinterrupt

部件号:TMS570LS3137
“线程:HALCOGEN”中讨论的其它部件

您好,

我正在尝试使用  vimEnableInterrupt ()启用 VIM 通道,但我的程序将进入幻影中断。

我知道,如果 VIM 信道未通过此功能标识,则会出现幻影中断。

vimEnableInterrupt (35,SYS_IRQ);//启用 VIM 通道35 (通过 CAN2中断)
vimEnableInterrupt (45,SYS_IRQ);//启用 VIM 通道45 (通过 CAN3中断)

谢谢,此致,

莱安德罗

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我从 HalCoGen 启用了 VIM 通道,但它工作正常,但它只执行了一次中断例程。  我是否必须清除 中断标志?

    此致,

    莱安德罗

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好, 莱安德罗,

    HALCOGEN 生成的 CAN 中断 ISR 应处理此问题。  通过清除消息对象的 IntPnd 位,可以清除消息中断。

    intPnd 是 CMD 寄存器的第19位。