Raspberry pico 2 w with Wiznet 5500 board driver #16871
Replies: 1 comment
-
Can't help with your actual problem (I use the W5500-EVB-PICO/W5500-EVB-PICO-POE with official firmware) but using the mostly undocumented interrupt pin will significantly improve your network performance, once you do get it working. Also the SPI can be driven at up to 31_250_000 baud rate with stock clocks @ 125MHz - the higher baud rate has a much more significant impact on network performance once you are using the interrupt pin. And finally, soft resets wreck Edit: Sorry, just realised you are talking about the Pico2, in which case you could use the W5500-EVB-PICO2 but official micropython firmware isn't yet available, plus the SPI usage will be changing (to SPI PIO, so hopefully that's reliable...). 🙁 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'd like to use my Raspberry Pi 2 W with a W5500 module. I created a modified firmware and tested the example software.
At nic.active(True), the pico became unresponsive and I was unable to reach it; I also tried flash_nuke,uf2, but it did not work.
This happend with 2 pieces of pico
Here is what i have change in the mpconfigs:
What did I do wrong to make this happen to the Pico 2 W?
I have tried this program:
------------------Program---------------------------
from machine import Pin,SPI
import network
import time
led = Pin(25, Pin.OUT)
#W5x00 chip init
def w5x00_init():
spi=SPI(0,2_000_000, mosi=Pin(19),miso=Pin(16),sck=Pin(18))
nic = network.WIZNET5K(spi,Pin(17),Pin(20)) #spi,cs,reset pin
nic.active(True)
nic.ifconfig(('192.168.1.20','255.255.255.0','192.168.1.1','8.8.8.8'))
while not nic.isconnected():
time.sleep(1)
print(nic.regs())
print(nic.ifconfig())
def main():
w5x00_init()
if name == "main":
main()
Beta Was this translation helpful? Give feedback.
All reactions