Navigation

    全志在线开发者论坛

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

    t113 linux spi 单次传输大小

    Linux
    1
    2
    1619
    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.
    • T
      tattoo1993 LV 2 last edited by

      请问,现在用tina linux,不启动DMA的情况下单次spi传输,调用ioctl()函数发送,最大只能传输4096字节,超过的话调返回-1,发送失败。

      现想提高单次传输字节数量,何解?

      T 1 Reply Last reply Reply Quote Share 0
      • T
        tattoo1993 LV 2 @tattoo1993 last edited by

        @tattoo1993 已解决,修改库spidev.c里的buffer大小即可。

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

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

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