SPI1 Issue

Im DTS ist SPI1 “status = okay”, im laufenden System allerdings:

root@MBLS102xa:~ hexdump -C /proc/device-tree/soc/dspi@2100000/status
00000000  64 69 73 61 62 6c 65 64  00                       |disabled.|

Mit dem folgendem Ansatz https://community.nxp.com/thread/385442 konnte SPI1 erfolgreich getestet werden.

SIN,SOUT nicht gebrückt
root@MBLS102xa:~ spidev_test -D /dev/spidev0.0
spi mode: 0x0
bits per word: 8
max speed: 500000 Hz (500 KHz)
RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................................
SIN,SOUT gebrückt
root@MBLS102xa:~ spidev_test -D /dev/spidev0.0
spi mode: 0x0
bits per word: 8
max speed: 500000 Hz (500 KHz)
RX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D  | ......@....▒..................▒.


Disclaimer
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.