Tool/software:
Hi,
I am trying to interface the TUSS4470 with i.MX93 via SPI ports.
I tested the SPI in loopback and logic, the SPI configuration is ok, and it was also confirmed by the i.MX93 vendor.
I want to read the TUSS4470 chip ID, hence register 0x1D, and I send the following command from tthe erminal:
spidev_test -D /dev/spidev0.0 -s 500000 -b 8 -H -p '\xBA\x00'
-v
spi mode: 0x1
bits per word: 8
max speed: 500000 Hz (500 kHz)
TX | BA 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ |..|
RX | 00 00 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ |..|
I always received 00 00, but in the logic it seems that the TUSS answered with 00 B9.
Any advice?
BR
Basel