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:
- Can SCI1 on TMS570LC4357 raise an interrupt when the RX line becomes idle after a frame? If yes, which bit/register?
- 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?)
- Any TI example code for this?