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: UART interrupt

Part Number: RM46L852
Other Parts Discussed in Thread: HALCOGEN

Hello all,


Once again I have a question about UART, and I am really sorry to bother you once again.

I came to a phase in my project that I need to enable RX INT on SCI2 on my device.

How do I do that in Halcogen (I cannot see SCI2 in VIM channel)?
Is it enough if I write:

sciEnableNotification (uartREG, SCI_RX_INT);
_enable_IRQ ();

in CCS?


Thanks,
David!

  • Hello David,
    SCI2 is actually SCI mode of SCI/LIN module. This is also stated in HALCoGen SCI2->SCILIN Global tab. You have to enable interrupt needed in this tab as well. VIM channels of SCI/LIN module are 13 (high) and 27 (low).

    sciEnableNotification has to be sciEnableNotification (scilinREG, SCI_RX_INT); if you have not defined uartREG as scilinREG.


    Best regards,
    Miro