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.

TMS570LS1227: How to detect whether there is a device connected to the SCI port?

Part Number: TMS570LS1227

Hi, I need to detect whether there is a device connected to the SCI port.

The datasheet said SCI has a register SCIFLR, and its BRKDT bit is for SCIRX break-detect. In my experiment, that bit was not set on a device disconnection. Is there a way to detect whether there is a device connected to the SCI port (other than a heartbeat packet)?

  • Hi,

    The BRKDT bit is set when the SCI detects a break condition on the SCIRX pin. A break condition occurs when the SCIRX pin remains continuously low for at least 10 bits after a missing first stop bit, that is, after a framing error.

    How long did you force your SCIRX pin low? You should receive a FE, then receive a BRKDT after 10 bit times.