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.

TMS570LC4357-EP: TMS570LC4357 SCI — is there an idle-line RX interrupt?

Part Number: TMS570LC4357-EP
Other Parts Discussed in Thread: TMS570LC4357, HALCOGEN

Hi,

On TMS570LC4357 SCI1 (UART, 8N1, 115200, HALCoGen 04.07.01), I need to receive variable-length ASCII frames and know when each frame is complete.

STM32 USARTs have a dedicated IDLE-line interrupt that fires when RX goes idle after a byte — ideal for this use case. Looking at the TMS570LC43x SCI, the only interrupt sources in SETINT are RX, TX, WAKE, BREAK, FE, OE, PE. SCI_IDLE in HL_sci.h is only an FLR status flag, not a maskable interrupt. SCI_WAKE_INT seems to fire on exit from idle, not on entry.

Questions:

  1. Can SCI1 on TMS570LC4357 raise an interrupt when the RX line becomes idle after a frame? If yes, which bit/register?
  2. If not, what is the recommended pattern for variable-length UART RX on this device? (Per-byte RX + software idle timer? DMA + timeout? Something else?)
  3. Any TI example code for this?