Hi,
The psdk version I use is psdk_rtos_auto_j7_07_00_00_11.
I wrote the MCAN0 test program according to the example of mcan_evm_loopback_app_main_k3.c, the baud rate is set to 500K, and I can currently receive the CAN data sent by the board on the PC.
But the problem is that my transmission does not start TX interrupt. The code to interrupt registration is as follows,
The MCAN interface configuration code is as follows
The can data sending code is as follows:
Now we can correctly receive CAN data from the host computer, but the interrupt function McanIntr0ISR is not triggered.
1. Did we configure the interrupt number incorrectly?
2. Whether can provide correct MCAN interrupt configuration code, including TX and RX interrupt.
Thanks!