I have rebuilt the OS to change the GPIO header to use SPI1 instead of UART4.
The device shows up in /dev/spidev1/0 and I can open and close it, send ioctl commands to configure it, but I cannot get it to accept writes. I get the following error in the debug terminal.
rockchip-spi ff1d0000.spi: spi controller is in busy state!
Anyone got SPI to work? I am not using the FriendlyThings as that requires platform keys etc. A mess to try and debug your code with. Instead, I modified the OS build to allow user space access to the GPIO and SPI interfaces.
The device shows up in /dev/spidev1/0 and I can open and close it, send ioctl commands to configure it, but I cannot get it to accept writes. I get the following error in the debug terminal.
rockchip-spi ff1d0000.spi: spi controller is in busy state!
Anyone got SPI to work? I am not using the FriendlyThings as that requires platform keys etc. A mess to try and debug your code with. Instead, I modified the OS build to allow user space access to the GPIO and SPI interfaces.