Navigation

    全志在线开发者论坛

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

    t113-s3开启多个串口dma问题

    其它全志芯片讨论区
    2
    3
    109
    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.
    • Q
      qqqlb LV 5 last edited by

      t113-s3开启一个串口的dma,使用正常。但是开启了2个或以上的串口dma的时候,就会报以下错误

      [ 30.010846] sun6i-dma 3002000.dma-controller: Failed to alloc lli memory
      [ 30.016372] uart uart2: get rx dma descriptor failed!
      [ 30.046740] sun6i-dma 3002000.dma-controller: Failed to alloc lli memory
      [ 30.049448] uart uart2: get rx dma descriptor failed!
      
      [ 52.331275] sun6i-dma 3002000.dma-controller: Failed to alloc lli memory
      [ 52.334034] uart uart4: get rx dma descriptor failed!
      [ 52.339180] sun6i-dma 3002000.dma-controller: Failed to alloc lli memory
      [ 52.341878] uart uart4: get rx dma descriptor failed!
      

      还有就是不开dma的时候,串口在460800及以上波特率就容易丢包,有oe产生。
      请问一下,有谁遇到过这些问题吗?可以怎么解决呢?

      1 Reply Last reply Reply Quote Share 0
      • aozima
        aozima LV 6 last edited by

        DMA通道不够用了呗

        Q 1 Reply Last reply Reply Quote Share 0
        • Q
          qqqlb LV 5 @aozima last edited by

          @aozima 我在设备树把其它外设的dma关掉了,看了一下,应该是够了的

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

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

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