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:如何检测是否有一个器件连接到 SCI 端口?

Guru**** 2943430 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1034411/tms570ls1227-how-to-detect-whether-there-is-a-device-connected-to-the-sci-port

器件型号:TMS570LS1227

大家好、我需要检测是否有一个器件连接到 SCI 端口。

数据表显示 SCI 有一个寄存器 SCIFLR、其 BRKDT 位用于 SCIRX 中断检测。 在我的实验中、 该位未在器件断开时设置。 是否有办法 检测是否有一个器件连接到 SCI 端口(心跳数据包除外)?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    当 SCI 在 SCIRX 引脚上检测到一个中断条件时、BRKDT 位被置位。  当 SCIRX 引脚在丢失第一个停止位(即组帧错误)之后至少保持10位持续低电平时、就会出现一个中断条件。

    您将 SCIRX 引脚强制为低电平的时间有多长? 您应该接收一个 FE、然后在 10位时间后接收一个 BRKDT。