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.

CCS/TMS570LS0432: RX interrupt

Part Number: TMS570LS0432
Other Parts Discussed in Thread: TMS570LS1224

Tool/software: Code Composer Studio

2158.BCUconfig.rar

I can't receive anything via interrupt. This is my configuration. I checked the RD register and the data is receive in it, but never goes into interrupt.

Can you help me?

  • Hello,
    Please describe your hardware configuration. Which device/port sends data, which device/port receives data. You are enabled almost every module of device and because code that has been attached is empty it is not clear what exactly are your targets.

    Best regards,
    Miro
  • SCI1_TX to SCI1_RX to the same microcontroller through a wire jumper. I assume that the interrupt cannot be triggered on the same microcontroller at transmitting as well as receiving, but I wanted to check.

    Also, if i don't enable any interrupt on TX, the interrupt on RX still doesn't work.

  • Hello,

    In attached project Rx and Tx pins of SCI port are shortened with wire.

    When button is pressed 5 bytes are sent/received. MIBSPI driver is enabled only because button is connected to one of it's pins.

    This code is for XL2-TMS57012 LaunchPad. It uses TMS570LS1224 MCU, but it is easy to port this code to any LaunchPad.

    8015.UART_TMS570LS1224_TX_RX.zip

    Best regards,

    Miro