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.

sci1HighLevelInterrupt is not reached

Other Parts Discussed in Thread: TMS570LS20216, HALCOGEN

Hi,


I've configures the sci, with enabled RX interrupt. If I send a byte to the TMS570LS20216 USB Stick
I can see that the correct byte enters the RD of the SCIREG and the INTVEC0 indicates an receive interrupt but the breakpoint in sci1HighLevelInterrupt is not reached.


The sci1HighLevelInterrupt is also listed in the vimRAM.

When I used the TMS570 Hercules board it worked fine.


kind regards,

C.W.

  • C.W.

    sci1HighLevelInterrupt is mapped to the VIM module as Request 13. It is necessary to enable this request in the VIM module using the VIM Interrupt Enable Set Register.
    Also, for every request to the VIM, you have to select either the VIM will issue an IRQ or FIQ to the CPU.

    Out of reset, all VIM VIM Interrupt Enable are disable.

    As demonstration, I've attached a basic project using the TMS570LS20216 USB stick.
    The SCI1 is used to received data from the PC (USB-COM port)
    Using a window terminal, you can send 5 characters (9600,1,1). Upon reception of the 5 characters, the code will display them in the CCS console window. This code is using Halcogen to configure the different modules and is using interrupt on the SCI1 Receive.

    4341.SCI_RX_Interrupt.zip