Forum: Mikrocontroller und Digitale Elektronik ENC28J60 correct value of PHLCON and mirrored registers


von eProfi (Gast)


Angehängte Dateien:

Lesenswert?

Many enc28j60 drivers write a value like 0x0472 into the PHLCON.

Datasheet Rev.A is ambigous, Rev.B clearly says that the highest nibble 
should be 0011!!
Please correct all your files!

What do these reserved bits mean??


A second thing I noticed:
Before accessing registers 1A..1F it is not necessary to switch the 
bank! This saves much time!

See the attached file enc28j60.c (based on Ssssss Simon Schulz).
Also read my post in Beitrag "I/O über Ethernet mit einem ENC28J60".

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.