1. 前言
承接上篇调试记录
Nvidia NX平台SPI从模式调试记录1_free-xx的博客-CSDN博客
2. 修改如下
硬件连接:
SPI1_MOSI<-->SPI3_MISO,
SPI1_CLK<-->SPI3_CLK,
SP1_CS0 <--> SPI3_CS0
SPI1_CS1->SPI3_CS1.
设备树:
SPI1 has to be configured as Master and SPI3 has to be configured as slave in the dt and pinmux settings have to be updated.
SPI1 DT:
spi@3210000 {
status = "okay";
compatible = "nvidia,tegra186-spi";
spi@0 {
compatible = "spidev";
reg = <0>;
spi-max-frequency =