Content originally posted in LPCWare by DMH on Mon Jun 01 19:57:25 MST 2015
Quote: MikeSimmonds
The next issue(s) then are (in 1769 user manual terminology) Station Address [MAC ADDRESS]
and RXFILTERCTRL.
I set my RXFILTERCTRL to 0x26 [MAC ADDR Match + Broadcast + Multicast] You need broadcast for ARP
Depending on the revision of your user manual, there may be a bug in the description of the Station Address (MAC ADDRRESS)
registers.
Regardless, if your MAC ADDR is 01-23-45-67-89-AB,
SA0 = 89-AB [0x89AB]
SA1 = 45-67 [0x4567]
SA2 = 01-23 [0x0123]
EDIT: I had another look at you posted code; the filtering is OK, the MAC address is backwards, due to some idiot in the
documation department, I think if you download that latest manual, they fixed it. Anyway, swap SA0 and SA2.
Mike
My manual is the latest on available on their website, I'll try your solution.
Edit: I've tried swapping, still the same result. Do I have to do anything to the used descriptor? Like set it to some initial value or something after reception?