Does this SPI port set spi mode is OK at TX1 R28.2?

Does this SPI port set spi mode is OK at TX1 R28.2?

Please see below. the ROW C is 00,is not 1f.

nvidia@tegra-ubuntu:~$ sudo cat /sys/kernel/debug/tegra_gpio
0:0 04 00 00 04 00 00 000000
0:1 00 00 00 00 00 00 000000
0:2 00 00 00 00 00 00 000000
0:3 00 00 00 00 00 00 000000
1:0 00 00 00 00 00 00 000000
1:1 00 00 00 00 00 00 000000
1:2 00 00 00 00 00 00 000000
1:3 3f 1b 0b 00 00 24 002024
2:0 0f 0d 05 02 00 00 000000
2:1 00 00 00 00 00 00 000000
2:2 80 00 00 80 00 80 008000
2:3 02 00 00 02 00 02 000000
3:0 00 00 00 00 00 00 000000
3:1 00 00 00 00 00 00 000000
3:2 00 00 00 00 00 00 000000
3:3 00 00 00 00 00 00 000000
4:0 00 00 00 00 00 00 000000
4:1 00 00 00 00 00 00 000000
4:2 10 10 00 00 00 00 000000
4:3 00 00 00 00 00 00 000000
5:0 00 00 00 00 00 00 000000
5:1 02 02 00 00 00 00 000000
5:2 00 00 00 00 00 00 000000
5:3 70 00 00 70 00 70 606000
6:0 01 00 00 01 00 01 010100
6:1 1f 08 00 17 00 07 030300
6:2 00 00 00 00 00 00 000000
6:3 04 04 00 00 00 00 000000
7:0 32 10 00 20 00 02 020200
7:1 00 00 00 00 00 00 000000
7:2 00 00 00 00 00 00 000000
7:3 00 00 00 00 00 00 000000
nvidia@tegra-ubuntu:~$ ls /dev/spi*
/dev/spidev0.0  /dev/spidev0.1

Should be correct.

But I can not find the SPI clock signal if I run "sudo ./spidev_test -D /dev/spidev0.0"command

How can i fix this?

How about below command

pidev_test -D /dev/spidev0.0 -g1 -n-1 -C

I run this command as below,but it can not real run.

nvidia@tegra-ubuntu:~/spi$ sudo ./spidev_test -D /dev/spidev0.0 -g1 -n-1 -C 
./spidev_test: invalid option -- 'g'
Usage: ./spidev_test [-DsbdlHOLC3]
  -D --device   device to use (default /dev/spidev1.1)
  -s --speed    max speed (Hz)
  -d --delay    delay (usec)
  -b --bpw      bits per word 
  -l --loop     loopback
  -H --cpha     clock phase
  -O --cpol     clock polarity
  -L --lsb      least significant bit first
  -C --cs-high  chip select active high
  -3 --3wire    SI/SO signals shared
  -v --verbose  Verbose (show tx buffer)
  -p            Send data (e.g. "1234\xde\xad")
  -N --no-cs    no chip select
  -R --ready    slave pulls low to pause
  -2 --dual     dual transfer
  -4 --quad     quad transfer

How can I fix this?

Try this binary.

spidev_test.txt (64.5 KB)

I can not find any binary.

The spidev_test.txt is the binary file. You should be able to use it after rename it and change it mode.

How can send a binary file?

-f for txt file