Navigation

    全志在线开发者论坛

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

    r128的hal_spi测试发送有问题

    A Series
    2
    3
    2714
    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.
    • B
      biubiu LV 5 last edited by

      使用用test_spi示例,发现只发送一个字节的数据是没问题的,但是发送超过1个字节的数据没反应了:

      7c1cc476-7d32-4d30-863d-82247729d292-0e130eeec3f20897b6cbaa70149fb55.png

      发送一个字节的数据就没问题:

      7dcce69b-9275-4336-96d0-cb1147ed6a7d-3d721ce30cbe35fb34f6cff5cfa4bcf.png

      发送多个的时候就卡住了:

      cb7ce92d-d1c9-488f-826a-7be242141459-4e902df41791e3ead07da064e661fab.png

      B 1 Reply Last reply Reply Quote Share 0
      • B
        biubiu LV 5 @biubiu last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote Share 0
        • I
          何镜勇 LV 4 last edited by

          这个测试用例有问题,cfg申请时没有清零,导致cfg有部分参数因为是随机值,导致发送异常

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

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

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