Navigation

    全志在线开发者论坛

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

    全志T113 不能同时开启4G和CAN网络

    Linux
    5
    9
    3570
    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.
    • W
      weichengjie LV 4 last edited by

      我在用 buildroot SDK测试 EC200A 4G的驱动及CAN通信的驱动。发现一个很奇怪的问题。我在buildroot 上先加EC200A的驱动,这时测试,执行 ifconfig -a 是能检测到 usb0设备的。
      usb0.png

      当加上了CAN 的驱动后,再执行 ifconfig -a ,就没能查询到 usb0设备,只查询到can0. 如下图:
      can0.png

      如果把 linux-menuconfig 中 CAN bus subsystem support 关掉,
      canbus.jpg

      再编译写卡来测试,执行 ifconfig -a , 马上就能查询到 usb0。请问各位有谁知道是什么原因? 这CAN和4G不同共存问题,有什么办法解决?

      U 1 Reply Last reply Reply Quote Share 0
      • U
        ubuntu LV 7 @weichengjie last edited by

        @weichengjie
        会不会是电源的问题呢?

        W 1 Reply Last reply Reply Quote Share 0
        • W
          weichengjie LV 4 @ubuntu last edited by

          @ubuntu 我用外部电源供电。应不是电源问题。

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

            USB与CAN0冲突,不能同时开

            W U 2 Replies Last reply Reply Quote Share 0
            • L
              linsen LV 7 last edited by

              @whycanservice T113两路CAN,不要用CAN1,用CAN2就可以了

              1 Reply Last reply Reply Quote Share 0
              • W
                weichengjie LV 4 @WhycanService last edited by

                @whycanservice 如果不能同时使用,那就很麻烦。正常使用中,CAN保持通论,同时与4G的通信也要保持呀。有什么好办法解决呢?

                W 1 Reply Last reply Reply Quote Share 0
                • U
                  uuuuid LV 6 @WhycanService last edited by

                  @whycanservice 在 全志T113 不能同时开启4G和CAN网络 中说:

                  USB与CAN冲突,不能同时开

                  让我想起了STM32

                  1 Reply Last reply Reply Quote Share 0
                  • W
                    weichengjie LV 4 @weichengjie last edited by

                    @weichengjie 非常感谢。我用CAN1, 不用CAN0。 就正常了。
                    CANOK.png

                    W 1 Reply Last reply Reply Quote Share 0
                    • W
                      weichengjie LV 4 @weichengjie last edited by

                      @weichengjie T113 上同时开启CAN0,CAN1,及4G通信。都是正常的。原来使用CAN0就影响到4G模块的原因找到了。是在设备树文件上,USB的节点里有PB3的定义。去掉就正常。
                      U.png

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

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

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