PaulStoffregen / teensy41_ethernet

15 stars 12 forks source link

Top four bits of ENET_ECR should be 0x7 and not 0xf #6

Open ssilverman opened 3 years ago

ssilverman commented 3 years ago

https://github.com/PaulStoffregen/teensy41_ethernet/blob/d2af818671489d0227b2fc18cbed3d269ec5043a/t41ether/lwip/src/lwip_t41.c#L327

It says in "41.6.5 Ethernet Control Register (ENETx_ECR)" of IMXRT1060RM_rev2.pdf that the top four bits should be 0b0111. Fix: Change to 0x70000000.