Other Parts Discussed in Thread: DP83640
Hi,
I am trying to get a DP83822 phy working with the PIC32MX675F512L
There are two dp phys drivers in MPLAB Harmony, DP83848 and DP83640. I have decided to go for the DP83848 driver as it is most similar to DP83822.
Only 2 functions are to be edited:
- DRV_EXTPHY_MIIConfigure,
- DRV_EXTPHY_MDIXConfigure,
I am able to configure the PHY to MII mode (reg 0x0017), configure phy to enable Auto MDI/X (reg 0x0019). I know they're set because when I read these registers back it is what i set them to be. But there are no activity on the ethernet port, which makes me wonder this is a hardware issue.
I have two questions:
Are there any differences in software when initialising the DP83848 and DP83822 in MII mode?
Can you share any schematic examples of the DP83822 in MII (preferably with a pic32)? I can also share schematics of my board, maybe there is a fault you can spot...
Thanks,
Hasib