Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Reset error Ethernet Featherwing with Particle Xenon
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Reset error Ethernet Featherwing with Particle Xenon

by jetdillo on Thu Sep 17, 2020 1:22 am

I have a handful of Particle Xenons that I've migrated over to CircuitPython.
I'm having trouble getting them to work with the Ethernet Featherwing.
I was running CircuitPython 5.0.0 and am now running 5.3.1 and am still seeing the following error:
Code: Select all | TOGGLE FULL SIZE
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Wiznet5k WebClient Test
Traceback (most recent call last):
  File "code.py", line 17, in <module>
  File "adafruit_wiznet5k/adafruit_wiznet5k.py", line 188, in __init__
  File "adafruit_wiznet5k/adafruit_wiznet5k.py", line 387, in _w5100_init
  File "adafruit_wiznet5k/adafruit_wiznet5k.py", line 401, in detect_w5500
AssertionError: Chip not reset properly!


Is there another pin(s) I need to use for the WIZNET module or SPI bus ?
I copy-pasta'ed the example code from the Ethernet for CircuitPython page just to try it out.
I've got the Xenon plugged into a Particle Ethernet Featherwing board and an ethernet cable plugged into the port.
There's a link-state light and activity blinks on my switch and on the board, so at least we have that.
Thoughts ?
Thanks!

jetdillo
 
Posts: 1
Joined: Sun May 10, 2020 6:49 pm

Re: Reset error Ethernet Featherwing with Particle Xenon

by siddacious on Tue Sep 22, 2020 5:05 pm

The Wiznet library is written for the Adafruit Ethernet FeatherWing which isn't exactly the same as the Particle offering. Take a look at the particle docs to check the pinout to make sure you're initializing the library with the correct pins:

https://docs.particle.io/datasheets/acc ... eatherwing

If this does not work, please post the exact code that you are trying along with clear well let pictures of the hardware setup (yes, I know it's all plug and play) that allows us to see all the connections so we can verify that a subtle hardware issue isn't to blame

siddacious
 
Posts: 338
Joined: Fri Apr 21, 2017 3:09 pm

Please be positive and constructive with your questions and comments.