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.

J7200XSOMXEVM: J7200 EVM mcan_test中断服务函数没有被执行。

Part Number: J7200XSOMXEVM


hi

在使用CCS DEBUG调试ti-processor-sdk-rtos-j7200-evm-07_03_00_07中的mcan_test(MPU1_0)演示程序时, 发现如下问题。

1. 在demo程序默认不使用中断模式下,评估板上MAIN_MCAN3无法从J27上发送出数据。此问题后来通过BoardDiag_McanMuxEnable修改I2C MUX解决了。

2. 在原始mcan_test.c的开始位置,增加了下面的代码来使能CAN发送和接收中断。

#define MCAN_DIAG_INTR_ENABLE                    (1)

实际上被注册的中断服务函数BoardDiag_mcanTxIntrISR和BoardDiag_mcanRxIntrISR都没有被执行。

请问是什么原因?