How can test the SPI port clk clock at TX1 R28.2?
what command I need to run ?
Try the spi_tests utility should be like spi_test -f 600000
I can not use the "-f"flag.
nvidia@tegra-ubuntu:~/spi$ sudo ./spidev_test -f 600000
./spidev_test: invalid option -- 'f'
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?
Sorry should be the -s
How can I use spidev_test to send out some data?
for example I send out 10000 bytes.
-p for data pattern but for your case you may need to modify the program for it.