[已解决]spi_master 通信报错

jr-test
Posts: 100
Joined: Mon Aug 23, 2021 3:04 am

[已解决]spi_master 通信报错

Postby jr-test » Thu Dec 16, 2021 1:08 am

对spi的的一些配置不太理解,看不懂这个错误什么意思:
E (3106) spi_master: check_trans_valid(706): trans tx_buffer should be NULL and SPI_TRANS_USE_TXDATA should be cleared to skip MOSI phase.
Last edited by jr-test on Fri Dec 17, 2021 2:03 am, edited 2 times in total.

ESP_ICY
Posts: 404
Joined: Mon Aug 23, 2021 11:10 am

Re: spi_master 通信报错

Postby ESP_ICY » Thu Dec 16, 2021 3:07 am

检查一下程序里有没出现让 tx.length 为0的情况

jr-test
Posts: 100
Joined: Mon Aug 23, 2021 3:04 am

Re: spi_master 通信报错

Postby jr-test » Thu Dec 16, 2021 7:43 am

ESP_ICY wrote:
Thu Dec 16, 2021 3:07 am
检查一下程序里有没出现让 tx.length 为0的情况
有!!!没有报错了。但是启动psram是报错:W (1017) rtcinit: calibration efuse version does not match, set default version: 0

还有一个问题,spi_master的三线和四线怎么去设置呀,四线是多一个回调操作dc吗,三线不用回调就行?

感谢解惑!!!非常感谢。

Who is online

Users browsing this forum: Google [Bot] and 80 guests