D1s的SPI1通信卡死问题
-
spi1用的是屏的接口 PD那组
linux-5.4/drivers/net/can/spi/mcp251x.c 驱动上,在spi发送数据上卡死。
有没有人遇到解决过?
-
-
root@TinaLinux:/# insmod /lib/modules/5.4.61/mcp251x.ko CPU: 0 PID: 182 Comm: insmod Not tainted 5.4.61 #14 Call Trace: [<ffffffe0000290a8>] 0xffffffe0000290a8 [<ffffffe000029260>] 0xffffffe000029260 [<ffffffe000439cc2>] 0xffffffe000439cc2 [<ffffffdf806543c0>] 0xffffffdf806543c0 [<ffffffe0002659b0>] 0xffffffe0002659b0 [<ffffffe000220b3e>] 0xffffffe000220b3e [<ffffffe000220dc4>] 0xffffffe000220dc4 [<ffffffe000220f10>] 0xffffffe000220f10 [<ffffffe000220fb6>] 0xffffffe000220fb6 [<ffffffe00021f23e>] 0xffffffe00021f23e [<ffffffe000220500>] 0xffffffe000220500 [<ffffffe000220086>] 0xffffffe000220086 [<ffffffe0002216a0>] 0xffffffe0002216a0 [<ffffffe000265914>] 0xffffffe000265914 [<ffffffdf80658020>] 0xffffffdf80658020 [<ffffffe000027042>] 0xffffffe000027042 [<ffffffe00006d972>] 0xffffffe00006d972 [<ffffffe00006eaaa>] 0xffffffe00006eaaa [<ffffffe00006ecd2>] 0xffffffe00006ecd2 [<ffffffe00006ed76>] 0xffffffe00006ed76 [<ffffffe000027e06>] 0xffffffe000027e06 ================ mcp251x_can_probe:1005 ================== ================ mcp251x_can_probe:1008 ================== ================ mcp251x_can_probe:1014 freq=20000000 ================ mcp251x_can_probe:1018 freq=20000000 ================ mcp251x_can_probe:1023 ================== ================ mcp251x_can_probe:1029 ================== ================ mcp251x_can_probe:1052 ================== mcp251x spi1.0: setup mode 0, 8 bits/w, 500000 Hz max --> 0 ================ mcp251x_can_probe:1071 ================== ================ mcp251x_can_probe:1079 ================== ================ mcp251x_can_probe:1087 ================== ================ mcp251x_can_probe:1095 ================== ================ mcp251x_hw_reset:586 ================== ================ mcp251x_spi_trans:278 ret=0================== ================ mcp251x_spi_trans:280 ret=0================== ================ mcp251x_spi_trans:282 ret=0==================
是不是dts有问题?
-
@whycan 感谢晕哥,can功能已经调通。
-
@ricky
请问最后是什么问题呢? -
请大佬及时分享解决问题的经验,小弟感激不尽
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号