Hello, I want to configure MCAN interrupt, but when the program runs to the HwiP_construct() function, it goes into the forever loop.
My board is 2944EVM REV.D, and SDK is newest.
This is my code:
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.
Hello, I want to configure MCAN interrupt, but when the program runs to the HwiP_construct() function, it goes into the forever loop.
My board is 2944EVM REV.D, and SDK is newest.
This is my code:
Hello Charles,
You can refer the example present in the SDK for this: C:\ti\mmwave_mcuplus_sdk_04_04_01_02\mcu_plus_sdk_awr294x_09_00_00_15\examples\drivers\mcan\mcan_loopback_interrupt\mcan_loopback_interrupt.c
It uses the same interrupt number as well.
This example has been tested and it does not get stuck anywhere, you can compare your code or reuse this code for reaching your goal.
Regards,
Saswat Kumar
Hello charles,
What are you exactly changing in this configuration?
Regards,
Saswat Kumar
Hello Charles,
In the C:\ti\mmwave_mcuplus_sdk_04_04_01_02\mcu_plus_sdk_awr294x_09_00_00_15\examples\drivers\mcan\mcan_loopback_interrupt\mcan_loopback_interrupt.c MCAN A is selected by default right? I can see that the interrupt number is also 44 because of that as MCAN B has a different interrupt number.
This is for the nortos example syscfg.
Regards,
Saswat Kumar