We develop an IoT gateway based on ESP32 + DP83848J as PHY for ehternet. The PHY is working properly getting the link when connected to a 100 Mbps switch. If we directly connect the Ethernet to a modem router (or some switches) it does not get the link. We already tried to fix the PHY speed and duplex mode, and disabling autonegotiation.
In this case we get the link with most of the routers (only at 10 Mbps) but then the ARP messages result corrupted and we are not able to properly get the IP from the router.
We produced 10 devices and not all of them show the same problem with the same network device (router/switches).
We made several tests and the strapping is OK, Voltages on PFB and RBIAS are OK.
Can someone give us some guidance how to proceed?
Thanks a lot