SPI doesn't seem to work at all but the peripheral device has been tested with an Adafruit Feather ok.
Snippets from thread:
I just can't seem to get SPI working on the SyPy. I am trying to use I2C as well but due to the conflicting pins, I have shifted the I2C pins to P8 and P9 and it works fine.
For CS I have tried P12 and P23. Using P12 causes problems when uploading code probably because it keeps the pin high, which causes a firmware downgrade. Pins 13-18 are input only so can't be used. Pins 5-7 are SPI but connected to the Sigfox module. I don't think I can use pins 0-4 either so it doesn't leave much room for manoeuvre.
(sysname='SiPy', nodename='SiPy', release='1.18.0', version='v1.8.6-849-046b350 on 2018-06-01', machine='SiPy with ESP32', sigfox='1.0.1')
Please refer to forum https://forum.pycom.io/topic/3611/using-spi-on-sypy
SPI doesn't seem to work at all but the peripheral device has been tested with an Adafruit Feather ok.
Snippets from thread:
I just can't seem to get SPI working on the SyPy. I am trying to use I2C as well but due to the conflicting pins, I have shifted the I2C pins to P8 and P9 and it works fine.
For CS I have tried P12 and P23. Using P12 causes problems when uploading code probably because it keeps the pin high, which causes a firmware downgrade. Pins 13-18 are input only so can't be used. Pins 5-7 are SPI but connected to the Sigfox module. I don't think I can use pins 0-4 either so it doesn't leave much room for manoeuvre.
I'm trying the following pins:
CS = P23 MOSI = P11 MISO = P22 CLK = P10
but I've tried others too.