I’m using an OpenMV N6 and I’ve problems with the SPI.
I’ve tryed the example arduino_spi_slave and the code show error
OSError: [Errno 22] EINVAL referred to this line of code
spi = pyb.SPI(2, pyb.SPI.SLAVE, polarity=0, phase=0)
Any suggestion ?
P.S: I’ve also tryed one example from the doumentation 3.22. SPI nel codice - Documentazione OpenMV MicroPython 1.28
`from machine import SPI, Pin
spi = SPI(2, baudrate=1_000_000, polarity=0, phase=0)
cs = Pin(“P3”, Pin.OUT, value=1) # CS idle high`
and I got the same error on line code : spi = SPI(2, baudrate=1_000_000, polarity=0, phase=0)