TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F28377D: SYSBIOS HWI and CAN Interrupts

Part Number:TMS320F28377D

CANIntEnable(CANB_BASE, CAN_INT_MASTER | CAN_INT_ERROR | CAN_INT_STATUS); CANGlobalIntEnable(CANB_BASE, CAN_GLB_INT_CANINT0);When the above code is used to enable CAN interrupt, the DSP code stops running.How can I solve the above problem?

Lydia:

您好,

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Links:

Can you explain in a bit more detail about you mean by "stops running"? Is it hanging somewhere? Is it generating an error message? If you put breakpoints in the code, can you determine a certain point at which it stops working?

,

wang wang:

ui32Status = HWREG(ui32Base + CAN_O_ES);When CAN triggers a send or receive interrupt, it is found that ui32Status is equal to 0xc08. Afterwards, CAN communication stops sending data.Thank you very much.

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F28377D: SYSBIOS HWI and CAN Interrupts
分享到: 更多 (0)