Dear Sir,
I am trying the SPE apps on a Jetson Xavier NX, I am using JetPack 5.1.2 on this module.
I download the SPE source package from https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v4.1/sources/spe-freertos-bsp.tbz2/, and build it to T194 binary (“make bin_t19x”) and documents (“make docs”) successfully.
I follow up the guideline of documents which built by command “make docs”, and run the app Timer and IVC successfully on Jetson Xavier NX.
When I try the SPI app on Jetson Xavier NX with following steps:
- Update the dtsi file Linux_for_Tegra/sources/hardware/nvidia/platform/t19x/common/kernel-dts/t19x-common-modules/tegra194-camera-e3377-a00.dtsi as below to disable SPI driver in the Linux kernel device tree:
spi@c260000 {
status = “disabled”;
spi-max-frequency = <12000000>;
…
} - Build the new DTB files, copy all the built DTB files to ${L4T}/kernel/dtb;
- In SPE source tree soc/t19x/target_specific.mk, set ENABLE_SPI_APP := 1 and rebuild the application;
- Copy the generated spe.bin to ${L4T}/bootloader/spe_t194.bin;
- Flash all the paritions including new DTB files and SPE binaries generated from the above steps into Xavier NX with command “sudo ./flash.sh jetson-xavier-nx-devkit mmcblk0p1”.
After the new firmware is flashed into Jetson Xavier NX successfully, I power off the Xavier NX, short MISO and MOSI pins on the carrier board (pin 19 and 21 of 40 pin header), and then, power on the Xavier NX.
Unfortunatelly, there is no “SPI test successful” printed out, I trace this issue in the app/spi-app.c, print out the data read from SPI which get by API spi_transfer(), the 2 bytes read from SPI are 0 both.
What’s wrong in the steps I try the SPI app on Xavier NX?
Thanks,
Best Regards,
George