Hey guys,
I'm doing some stuff with the the Microchip ENC28J60. I'm looking into the Ethercard library for a little bit of reference...
Current datasheet...
If you look at enc28j60.cpp inside the repo, it will have all the defines. If you look at the datasheet I linked (published 2008) the addresses for the registers don't line up completely.
Note:
#define MAADR1 (0x00|0x60|0x80)
#define MAADR0 (0x01|0x60|0x80)
#define MAADR3 (0x02|0x60|0x80)
#define MAADR2 (0x03|0x60|0x80)
#define MAADR5 (0x04|0x60|0x80)
#define MAADR4 (0x05|0x60|0x80)
These are wrong and...
#define MACON2 (0x01|0x40|0x80)
Doesn't exist anymore. Here is a datasheet from 2004:
Everything lines up fine here, I'm wondering if anyone knows of any recent development on this library?