I have a device that uses an interface very similar to SPI.
It has a MOSI, MISO and clock line, but no CS (chip select).
I would still like to use the SPI peripheral for this, instead of implementing some implementing it from scratch using interrupts from the clock line.
I tried initializing spics_io_num in spi_slave_interface_config_t as -1, but this results in an exception, when spicommon_cs_initialize is called from spi_slave_initialize:
Code: Select all
E (270) gpio: gpio_set_direction(263): GPIO number error