Hi,
I am trying to trigger flexray interrupts and I'm having problems. In the attached project I have modified the code from the 5 node CCSv5 example to add flexray interrupts, I have also added real time interrupts from a halcogen generated project as a test from something I know works. I have compared the sys_startup and can't see anything I have missed. Currently both the interrupts trigger once and then the controller crashes, going to either _undefined or _prefetchAbort system interrupts; I tried this with only one, or the other, or both of the interrupt sources (RTI/Flexray) enabled in vimREG->REQMASKSET within the startup code, to the same effect. There must be something I am missing to cause this to happen, as the RTI code works fine in the other project, but I can't find what. The hardware I am using is the TMS570LS20216 MDK. Without the interrupts, and line 75 in sys_main uncommented, the flexray code works perfectly.
Project:
4670.Antares_FlexRay_CCSv5_example_code_nodeA.zip
Flexray settings header file linked from another project
Paul