mchobby / esp8266-upy

MicroPython Cross-platform Drivers - collection of code, wiring and sample for various breakout boards - Works with ESP8266, Pyboard, PYB405, Wemos, etc))
53 stars 30 forks source link

hat-piface on Pico-W #7

Open vdomos opened 1 year ago

vdomos commented 1 year ago

Hi, I tested the hat-piface V1 on Pico and it works well with the examples provided.

But with the Pico-W and the same wiring, it does not work and no error is reported in the code.

Is there a different operation for the SPI0 between the Pico and PicoW? I have not found anything in the documentation of the PicoW

vdomos commented 1 year ago

With SPI1, it works:

# Raspberry-picoW
spi = SPI(1, polarity=0, phase=0, sck=Pin(10), mosi=Pin(11), miso=Pin(8))
cs = Pin(9, Pin.OUT, value=True )