导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    T113 19200波特率通讯不上,187500和9600的可以

    其它全志芯片讨论区
    1
    2
    436
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      KoGu LV 4 最后由 编辑

      如题,这个波特率是在哪里作出了限制吗?应该怎么修改?

      1 条回复 最后回复 回复 引用 分享 0
      • L
        KoGu LV 4 最后由 编辑

        串口信息如下:

        # cat /sys/devices/platform/soc@3000000/2500000.uart/ctrl_info
         ier  : 0x00
         lcr  : 0x00
         mcr  : 0x00
         fcr  : 0x00
         dll  : 0x4e
         dlh  : 0x00
         last baud : 19230 (dl = 78)
        
        TxRx Statistics:
         tx     : 4443
         rx     : 3874
         parity : 87
         frame  : 52
         overrun: 0
         throttled: 0
        # cat /sys/devices/platform/soc@3000000/2500000.uart/dev_info
        id     = 0
        name   = uart0
        irq    = 33
        io_num = 2
        port->mapbase = 0x02500000
        port->membase = 0x2067c9f1
        port->iobase  = 0x00000000
        port->fifosize = 64
        pdata->regulator    = 0x1d5654ac
        pdata->regulator_id = vcc-rs485
        #
        #
        # cat /sys/devices/platform/soc@3000000/2500000.uart/ctrl_info
         ier  : 0x05
         lcr  : 0x1b
         mcr  : 0x03
         fcr  : 0xb1
         dll  : 0x08
         dlh  : 0x00
         last baud : 187500 (dl = 8)
        
        TxRx Statistics:
         tx     : 20313
         rx     : 15366
         parity : 225
         frame  : 123
         overrun: 0
         throttled: 0
        #
        
        1 条回复 最后回复 回复 引用 分享 0
        • 1 / 1
        • First post
          Last post

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

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