I am using RM48 with CCS6 and Halcogen 4.
I am working to set up proper ESM responses for the various condiitons. For example, first, I want to enable a low level interrupt on DCAN1 parity error (Channel 21). In this interrupt, I want to simply increment a counter of parity errors.
I set these conditions in Halcogen, but I'm not sure how to correlate that setup to the code. It looks like when a parity error occurs on DCAN1, it should enter esmLowInterrupt() in esm.c. This will call esmGroup1Notification() in notification.c, and this is where I put some user code to increment my counter.
Is that assessment true? And how can I test my setup, i.e. is there a way, via software, to simulate a parity error in DCAN1, or the other various errors that the ESM can detect?
Thanks,
Matt