Hi,
Would someone be able to tell me how to use sspi in uboot on the Jetson to send spi on the touch spi pins (TS_SPI_SCK, TS_SPI_CS_L, TS_SPI_MOSE, TS_SPI_MISO, pins 4,6,5, and 7 on J3A1)
I haven’t been able to see the CS go high or see a clock with the scope.
thanks
jachen
August 1, 2016, 7:44am
2
Hello, Jason:
Pins you mentioned (TS_SPI_xxx) are connected to (ULPI_xxx), which are SPI1, CS0.
you can try 0:0 to see whether pins are responding.
as a reference, Jetson TK1 has a SPI flash connected. This command
sf probe 1:0
can detect the chip.
br
ChenJian
Thanks, this is the output from those commands:
jetson3 # sf probe 0:0
SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
Failed to initialize SPI flash at 0:0 (error -22)
jetson3 # sf probe 1:0
SF: Detected W25Q32DW with page size 256 Bytes, erase size 4 KiB, total 4 MiB
jachen
August 8, 2016, 7:16am
4
Hello, Jason:
SF: Detected W25Q32DW with page size 256 Bytes, erase size 4 KiB, total 4 MiB
That shows the SPI device has been detected. And you should see the toggle of corresponding CS in that chip.
br
Chenjian