Need SPI SPI0_CS0 and SPI0_CS1 gpio no

Hi team,

I have enable SPI in /dev
cimcon@cimcon:~$ ls /dev/spidev
spidev0.0 spidev1.0

Now i want to add ADS8689IPWR SPI ic in spi0 bus So please let me know, what I will have to add in dts file for that ?

How can do SPI SPI0_CS0 and SPI0_CS1 pins as high/low from user space?

regards,
Babbelal

hello babbelal.patel1,

could you please check this Topic 73338 as see-also.
thanks

Can you provide direct support related to SPI. I can pay some money if required ?

if yes please provide contact details.

hello babbelal.patel1,

are you using Nano eMMC version or SD-card version?
if it is SD-card version, you may using Jetson-IO to configure the 40 pin header to enable SPI.

here’s SPI tools (spidev_test) for running loopback test.
for example, How to set to spi slave mode - #5 by ShaneCCC

I am using eMMC device with b01 module. I have enable spi after add below command.
FDT /boot/tegra210-p3448-0000-p3449-0000-b00.dtb

After enable spi0 and spi1. I am unable to test it.

sudo ./spi_test -D /dev/spidev0.0 -v -p “1234abcd”
spi mode: 0x0
bits per word: 8
max speed: 500000 Hz (500 KHz)
TX | 31 32 33 34 61 62 63 64 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ | 1234abcd
RX | 00 00 00 00 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ | …

Data not found. Please help.

Looks like already file new topic here. And have replied.

hello babbelal.patel1,

let’s moving to Topic 192783 to follow-up your issue, thanks

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