rt-net / JetsonNano_DT_SPI

SPI1 enabled DTS and flash-tools for Jetson Nano
GNU General Public License v2.0
28 stars 9 forks source link

From Master to Slave SPI configuration #3

Closed al3Co closed 5 years ago

al3Co commented 5 years ago

Hi @Tiryoh,

Thanks again for the script.

Now, I need to change the Nano SPI configuration from Master to Slave, Do you know what is the easiest and fastest way?

Regards, Al3Co

al3Co commented 5 years ago

@Tiryoh, Maybe doing the SPI1 in slave mode would be a genius. Looking forward to hearing from you.

Tiryoh commented 5 years ago

Hi @al3Co,

Thanks for your comment. I don't have a plan to use the Jetson Nano as a SPI slave device for now. According to this page( https://devtalk.nvidia.com/default/topic/1026672/jetson-tx1/spi-slave-for-l4t-r28-1/post/5221958/#5221958 ), it seems like editing the dts file as the followings might work.

https://github.com/rt-net/JetsonNano_DT_SPI/blob/b2e2dd407beff9ff9884dca6c5978ad18da16b8d/tegra210-p3448-0000-p3449-0000-a02.dts#L3698

                compatible = "nvidia,tegra210-spi-slave";
Tiryoh commented 5 years ago

This issue will be closed because there is no update for a while. Please feel free to re-open this issue if you have any problems again.