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:SCI 溢出问题

Guru**** 2466550 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1037499/tms570lc4357-sci-overrun-issue

器件型号:TMS570LC4357

各位成员好!


*如何生成 UART 溢出错误?


*如果发生溢出错误,如何清除特定的?

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

    当 从 SCIRXSHF 到 SCIRD 的数据传输覆盖 SCIRD 中已有的未读数据时、溢出标志会被置位。

    溢出标志可通过以下方式清除:

    1.  SCIGCR1寄存器的 SW nRST 位的设置
    2.  SCIGCR0寄存器的 RESET 位的设置
    3. 系统复位(nRST、或 nPORRST)
    4. 向 SCIFLG 寄存器的 OE 位写入1
    5. 读取 SCIINTVECT0/1中的相应中断偏移