Navigation

    全志在线开发者论坛

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

    有没有大佬知道这个f1c100s和stm32去通信,配置好烧到板子上串口走不下去了

    Linux
    2
    10
    2925
    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.
    • G
      张三 LV 6 last edited by

      5.jpg 4.png 1.png 2.png 3.png

      1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 last edited by

        Linux都没启动,先检查为什么Linux没启动

        G 1 Reply Last reply Reply Quote Share 1
        • G
          张三 LV 6 @awwwwa last edited by

          @awwwwa //clocks = <&ccu CLK_BUS_DMA>;我把这个时钟源给屏蔽了就可以进去了3b598dbe-4cbd-4693-8446-aa72472e4922-image.png

          1 Reply Last reply Reply Quote Share 0
          • A
            awwwwa LV 8 last edited by

            为什么F1C100s的DMA控制器驱动需要使用 st,stm32-dma 而不是 allwinner,sunxi-dma

            G 2 Replies Last reply Reply Quote Share 0
            • G
              张三 LV 6 @awwwwa last edited by

              @awwwwa 在 有没有大佬知道这个f1c100s和stm32去通信,配置好烧到板子上串口走不下去了 中说:

              器驱动需要使用 st,stm32-dma 而不是 allwinner,sunxi-dma

              我也第一次搞这个,目的是想让它俩通信,然后我看有这个文件

              1 Reply Last reply Reply Quote Share 0
              • G
                张三 LV 6 @awwwwa last edited by

                @awwwwa 在 有没有大佬知道这个f1c100s和stm32去通信,配置好烧到板子上串口走不下去了 中说:/linux-nano-5.2-tf/Documentation/devicetree/bindings在这个路径下看到的

                allwinner,sunxi-dma

                645dcd40-8533-48e2-b546-1547ce50e0a6-6.png

                1 Reply Last reply Reply Quote Share 0
                • A
                  awwwwa LV 8 last edited by

                  F1C100s 与 STM32 通讯是需要通过外设接口,例如UART,SPI,IIC,SDIO来通讯,你看到的这个 DMA 控制器驱动是给STM32MP用的,不是给F1C100s用的

                  G 1 Reply Last reply Reply Quote Share 0
                  • G
                    张三 LV 6 @awwwwa last edited by

                    @awwwwa 嗯,硬件外设接好,这不是需要写它的驱动,在f1c100s上写spi驱动

                    A 1 Reply Last reply Reply Quote Share 0
                    • A
                      awwwwa LV 8 @gaowei15537316965 last edited by

                      @gaowei15537316965 SPI驱动参考 Linux 编写spidev驱动即可

                      G 1 Reply Last reply Reply Quote Share 0
                      • G
                        张三 LV 6 @awwwwa last edited by

                        @awwwwa 好的感谢

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

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

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