全志 D1H 驱动spi oled失败
-
[ 1397.456025] spi_master spi1: failed to transfer one message from queue [ 1402.483851] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1402.490369] oled spi1.0: SPI transfer failed: -1 [ 1402.496156] spi_master spi1: failed to transfer one message from queue [ 1407.523802] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1407.530319] oled spi1.0: SPI transfer failed: -1 [ 1407.536024] spi_master spi1: failed to transfer one message from queue [ 1412.563805] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1412.570322] oled spi1.0: SPI transfer failed: -1 [ 1412.576024] spi_master spi1: failed to transfer one message from queue [ 1417.603802] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1417.610320] oled spi1.0: SPI transfer failed: -1 [ 1417.616049] spi_master spi1: failed to transfer one message from queue [ 1422.643801] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1422.650319] oled spi1.0: SPI transfer failed: -1 [ 1422.656021] spi_master spi1: failed to transfer one message from queue [ 1427.683802] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1427.690319] oled spi1.0: SPI transfer failed: -1 [ 1427.696019] spi_master spi1: failed to transfer one message from queue [ 1432.723805] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1432.730322] oled spi1.0: SPI transfer failed: -1 [ 1432.739082] spi_master spi1: failed to transfer one message from queue [ 1437.763800] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1437.770318] oled spi1.0: SPI transfer failed: -1 [ 1437.776025] spi_master spi1: failed to transfer one message from queue [ 1442.803807] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1442.810325] oled spi1.0: SPI transfer failed: -1 [ 1442.816025] spi_master spi1: failed to transfer one message from queue [ 1447.843877] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1447.850394] oled spi1.0: SPI transfer failed: -1 [ 1447.868380] spi_master spi1: failed to transfer one message from queue [ 1452.883801] sunxi_spi_transfer_one()1607 - [spi1] xfer timeout [ 1452.890318] oled spi1.0: SPI transfer failed: -1
一直打印这个报错,我是小白,没办法解决
-
@fanfan 感觉是SPI通讯超时了,建议先检查一下硬件是否OK的,之后再检查一下引脚配置(数据线初始电压、时钟等)
-
[哪吒开发板]Tina Linux SPI主从通信验证实录
https://bbs.aw-ol.com/topic/3031/share/1 -
@aldfaaa 我已经回环测试过了,是可行的
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号