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.

TMS320F28P650DK: How do I set up the UART Receive ISR to fire on each individual byte?

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Tool/software:

Is there a way to trigger the UART RX interrupt on single bytes?  From the examples I only see ways to make it work with multiple bytes.

When I disable the FIFO in sys config, instead of triggering every time a byte is received, the isr fires after 8 bytes.

This is using the UART, not the SCI.

Trying to create a command line interface, so data length is variable and could be single byte.

  • Hi Amber,

    Yes, in this case you would have to disable the UART FIFOs as you mentioned. Which version of C2000ware are you using? It sounds like the FIFO is still getting enabled somehow if it is triggering at 8 bytes (the default FIFO level setting). Note that the UART_enableModule() will enable the FIFO automatically so the software would need to disable it automatically afterwards using UART_disableFIFO(). If the Sysconfig doesn't include this, it would be a bug.

      

    Best Regards,

    Delaney

  • Thank you for making this make sense.

    I'm using C2000Ware 5.04.00 . For CCS I'm using 12.8.1.00005 and its embedded Sysconfig tool.

    I'll disable the FIFO after the UART peripheral enable.