Code: Select all
E (240684) gpio: gpio_set_direction(247): GPIO number error
This is fixed now and will be commited tomorrow.
If you initialize the spi like this:
Code: Select all
spi = machine.SPI(2, baudrate=32000000, sck=sck, mosi=mosi, miso=miso, cs=cs)
Both HSPI & VSPI can be used if the sdcard is not configured in SPI mode, but in 1-line or 4-line SD mode.
VSPI is not available if the psRAM is configured to run at 80 MHz.