I’m trying to figure out how to enable the SPI ports on the Xavier. In particular, the ports on the 40 pin header and on the PCIe port. I can’t seem to find any documentation for setting the pinmux, or addressing the ports once enabled. Can someone point me in the right direction? Or if you’ve accomplished this already, please share? Thanks!
Can you define the pinmux registers? What are they addressing? Chip select (CS)? Polarity? etc.
I’m having a ton of trouble changing the CS delay time. I can send a SPI message, but there’s a 40 micro second delay AFTER the clock stops and BEFORE CS rises. Same thing on the falling edge of CS - huge delay before the clock starts. How do I change this delay time?
I need to burst data at a near 100kHz rate, can’t do it presently because of the delay time with the chip select.
Hi,
I cant find the flash.sh, I cant find the dir you say “nvidia_sdk/JetPack_4.2_linux_P2888/Linux_for_Tegra” ,where is this dir?
BTW, I say you try to enable the SPI, how is going?
It can be set in DOWNLOAD & INSTALL OPTIONS in step STEP 02 of SDK Manager. After refreshing the device, these files will be generated in the corresponding directory.
thanks a lot, I find it on the host. But there is a question cofused me.
if I modify the device-tree and use this command on xaiver
sudo dtc -I dts -O dtb -o tegra194-p2888-0001-p2822-0000-base.dtb extracted_proc.dts
I get a dtb file. the next step is flash.sh. I cant find the relationship between the new dtb file and the sh, so how doese the sh work?
Thanks, and I want to know if I recompile a dtb file name A.dtb on xavier.
should I copy A.dtb to my host and use flash.sh to update the xavier’s dtb?
if so, how to change the command
sudo ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1
I check the flash.sh and it says -d
so is the below command can be used?
I didn’t try the -d ever, but some user tell it worked for them.
For me I just replace the …/Linux_for_tegra/kernel/dtb/tegra194-p2888-0001-p2822-0000.dtb with A.dtb then issue the sudo ./flash -r -k kernel-dtb jetson-xavier mmcblk0p1