Hi Martin,
Thank you for the very helpful example. It was enough for me to get the hardware vectoring working.
However, I am having a new problem now. After the handling of the interrupt, the CPRn value remains elevated (it seems the LIFO pop that is done after the branch to the C function is not working properly).
Do you have any suggestions for that? I reviewed the code against what is listed in other threads and it seems fine. It is the FlexCAN peripheral and I can see that the IFLAG for the mailbox is being cleared.
I can successfully get the interrupt to trigger that one time, but after that it just sits in my main loop. I can see the frames being received into the MB structures, but the interrupt does not trigger again.
I have reviewed the contents of other threads to no avail. Any additional information would be greatly appreciated.
Any thoughts?
Best regards,
Mathew