|
|
I have an ADC and DAC board built for Raspberry Pi which has 2 slaves on the SPI bus, requiring ce0 and ce1. This works fine on the Raspberry pi 3, which installs devices /dev/spidevo.0 and also /dev/spidev/0.1, to access each slave. On the OPi PC I can access slave 0, but not slave 1. In /dev on the Opi there is only a single spidev device: /dev/spidev0.0 and no spidev0.1 device. I have modified the script.bin (I am using Armbian legacy OS) by editing the .fex to add a spi_cs1 = port C07<3><default><default><default> line. But this prevents any spidev device from loading, even spidev0.0 is now missing.
I have tried many variations to add a spi_cs1 connection in the fex file, but noothing works. the OPi pinout description includes SPI-CE1 (header pin 26) but how can i make this active?
How can I make the spi system on the OPi PC work with 2 slave devices on the bus as the rasberry pi does easily?
|
|