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.

RM46L852: RM46L852 FREERTOS : CAN RX interrupt not generated

Part Number: RM46L852
Other Parts Discussed in Thread: HALCOGEN

Hello everyone !

I'm doing a related post because I have the same problem I'm not able to generate a CAN RX interrupt. There is a difference because I use FREERTOS. I don't know if the issue is due to my halcogen configuration or not.

Here is my halcogen configuration :

And here is the CAN signal on the CAN RX pin :

Can someone have a look to this ?

Thanks in advance !

Best Regards,

Fabian

  • Hi Fabian,

    Did you enable the CPU IRQ interrupt?

    /* Enable IRQ and FIQ inside CPU */
    _enable_interrupt_();

    or

    /* Enable IRQ - Clear I flag in CPS register */
    _enable_IRQ();

  • Hello QJ Wang !

    Thanks for your quick response !

    No I didn't enabled the interrupt because I think It's enabled by default because FREERTOS use it and is working fine.

    I solved the issue here by setting the Message 2 box mask to 0x00000000 (don't care) and now I've the CAN RX interrupt generated !

    Thank you again for your help.

    Best Regards,

    Fabian