Enabling SPI for Communication over NRF24L01

Good day.

I have recently just picked up a Jetson Nano, and am trying to establish a simple communication between a Raspberry Pi and Jetson Nano using a NRF24L01. In this case, the Jetson Nano is the receiver side. However, before anything can be done, SPI has to be enabled on the Jetson Nano as far as I am aware, and have been struggling to do so as Jetson-IO.py simply crashes on launch.

Jetson Nano SPI: jetson-io.py crash immediately - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums

According to the above discussion, I am aware that it is also possible to manually configure and enable the SPI pins. However, as I am new to the environment and have not much experience with Linux in general, I am not sure where this dtb file is located at and how should I proceed.

Sorry if it is a relatively straightforward question, but a step-by-step assistance or any alternatives to enabling SPI for my purposes would be greatly appreciated.

If it’s of any help, currently I am running on Jetpack 4.6.2 [L4T 32.7.2]

Much appreciated, thanks.

Check below document for how to get the source and how to build the kernel and dtb.
And reference to below topic for enable SPI PINs by modify the device tree manually.

Thanks for the reply @ShaneCCC

However, I don’t see any attached document or reference?

OOPS lost the link.
Here you are.

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#

Hii, @Stylino
Have your communication worked fine.

Thank You.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.