Search found 3 matches
- Thu Jul 29, 2021 6:28 pm
- Forum: General Discussion
- Topic: Ethernet ENC28j60 github example - Error: enc28j60_init: wrong chip ID
- Replies: 6
- Views: 5948
Re: Ethernet ENC28j60 github example - Error: enc28j60_init: wrong chip ID
So it seems I messed up the wiring and the clock speed. I reduced the length of the jumper wires and reduced the SCK speed to 6MHz and it is functioning now. Hope this helps. Thanks to ESP-Sprite for bringing in the thought.
- Thu Jul 29, 2021 10:09 am
- Forum: General Discussion
- Topic: Ethernet ENC28j60 github example - Error: enc28j60_init: wrong chip ID
- Replies: 6
- Views: 5948
Re: Ethernet ENC28j60 github example - Error: enc28j60_init: wrong chip ID
It is because when I tested it initially, it failed to retrieve the revision ID (so it was just assigned 0) so I re-did the wiring, and then it worked out (Later it gave me a value of 6 and kept doing so).ESP_Sprite wrote: ↑Thu Jul 29, 2021 10:01 amJust curious: what makes you so sure about that?My wiring is functioning properly
- Thu Jul 29, 2021 8:07 am
- Forum: General Discussion
- Topic: Ethernet ENC28j60 github example - Error: enc28j60_init: wrong chip ID
- Replies: 6
- Views: 5948
Ethernet ENC28j60 github example - Error: enc28j60_init: wrong chip ID
After running idf.py menuconfig and flashing the code, I am getting a “Wrong Chip ID” error. I explored the code and I think the problem seems to be occurring while reading the PHY register PHCON1 (ETH_PHY_IDR1_REG_ADDR) and PHCON2 (ETH_PHY_IDR1_REG_ADDR). My wiring is functioning properly but the i...