Sipdev0.1 missing

Hi. Im using bpi-m2p with armbian legacy OS.

I see /dev/spidev0.0 but I don’t see /dev/sipdev0.1

I checked the fex file (converting with bin2fex from /boot/script.bin) and I see

[spi0]
spi_used = 1
spi_cs_bitmap = 1
spi_mosi = port:PC00<3><default><default><default>
spi_miso = port:PC01<3><default><default><default>
spi_sclk = port:PC02<3><default><default><default>
spi_cs0 = port:PC03<3><1><default><default>

According to the fex guide (link) there can be a cs1 assignent. On the 40 pin connector SPI_CS1 should be on pin 26 GPIO07 which as per schematic is linked to cpu PIN PC7

I did try at first the following:

[spi0]
spi_used = 1
spi_cs_bitmap = 3
spi_mosi = port:PC00<3><default><default><default>
spi_miso = port:PC01<3><default><default><default>
spi_sclk = port:PC02<3><default><default><default>
spi_cs0 = port:PC03<3><1><default><default>
spi_cs1 = port:PC01<3><1><default><default>

Wich leads to even spidev0.0 missing. Checking the H3 chip datasheet (link) it appears PC7 does not support function 3 (page 74) as does instead PC3 as SPI0_CS

Then I thought, I can just use a regular output… so I tried any the following settings

spi_cs1 = port:PC01<1><default><default><1>
spi_cs1 = port:PC01<1><1><default><default>
spi_cs1 = port:PC01<0><1><default><default>
spi_cs1 = port:PC01<1><default><default><default>

In all thes esettings spidev0.0 appears but no spidev0.1

I use spi_cs_bitmap = 3 because should mean use cs0&2 but I also tried with value 1 and no changes…

Any idea? Can H3 use cs1 at all? Shoulnd’t any GPIO do? How to convince the OS to enable the second spi device?

Thanks! Ascanio

For anybody interested, I found the following thread with info on the subject:

Enjoy

Ascanio