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.

HalCoGen Version 3.06 generating Wrong INTMUXx interrupt levels



if you configure CAN1, Message 1 Configuration for Low Priority VIM interrupt, enable interrupt, Activate Message 1 for RX, ID=1, Mask=0x00000000

the tool generates:

    canREG1->INTMUXx[0U] = (uint32)0x00000000U  | (uint32)0x00000002U  | ...

It should be:

    canREG1->INTMUXx[0U] = (uint32)0x00000001U  | (uint32)0x00000000U  | ...

The workaround is to enable Low Priority VIM interrupt on Message 64 but do not activate Msg 64, and disable VIM interrupt on Message 1.

Please verify my findings.  I think the tool is wrong.