Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113-S3串口问题

    D1系列-RISC-V
    1
    3
    173
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • how0723
      how0723 LV 5 last edited by

      T113-S3串口UART0 接收错误,波特率115200时正常,波特率460800时错误
      1c9b6ce2-1e44-47fa-9946-d3883d2f07c2-image.png
      串口错误标志位解读:
      FE:帧错误,指示当前字符是否存在帧错误(缺少停止位)并且可能已经损坏
      BRK:BREAK检测,指示当前字符是否为BREAK字符,数据位和停止位均为0
      OE:接收器超限,指示接收过程中,是否存在数据来不及接收的现象
      PRERR:RS-485模式下,它保存接收到的9位RS-485数据的第9个数据位。在RS-232/IrDA模式下,它是奇偶校验错误标志。指示是否检测到当前字符是否具有奇偶校验错误并且可能已经损坏
      Error Detect:错误检测,指示RX_DATA字段是否具有错误-OE FE BRK PRERR

      测出来的波形,黄色是RS232 绿色是TTL
      76c88f8b-0cc8-41c0-820b-8ade0cad420e-image.png

      有没有可能是驱动的问题?

      1 Reply Last reply Reply Quote Share 0
      • how0723
        how0723 LV 5 last edited by

        a5cb26d7-340c-4811-8fa6-722d2baa6284-image.png

        1 Reply Last reply Reply Quote Share 0
        • how0723
          how0723 LV 5 last edited by

          已解决,串口驱动的时钟配置问题,可以搜索其他帖子

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策