Re: DP83848 PHY Driver - Harmony 3
Is there any progress on this? I found a driver for the DP83848 in ...Harmony\net\driver\ethphy\src\dynamic but it is not supported by the Harmony 3 Configurator and is not shown in ...Harmony\net\driver\ethphy\config.
I inserted the DP83848 driver manually and it compiles with no errors but the DP83848 fails to initialize. No errors are reported. I set the parameters to match my current design,
Interface: RMII, default pins.
Environment: Harmony Version 3 with all modules updated as of 29-May-2020 by Content Manager. Net is V3.5.1.
#define TCPIP_INTMAC_PHY_CONFIG_FLAGS DRV_ETHPHY_CFG_RMII | DRV_ETHPHY_CFG_DEFAULT
#define TCPIP_INTMAC_PHY_LINK_INIT_DELAY 500
#define TCPIP_INTMAC_PHY_ADDRESS 1
#define DRV_ETHPHY_INSTANCES_NUMBER 1
#define DRV_ETHPHY_CLIENTS_NUMBER 1
#define DRV_ETHPHY_INDEX 1
#define DRV_ETHPHY_PERIPHERAL_ID 1
#define DRV_ETHPHY_NEG_INIT_TMO 1
#define DRV_ETHPHY_NEG_DONE_TMO 2000
#define DRV_ETHPHY_RESET_CLR_TMO 500
#pragma config FMIIEN = OFF // 1 = MII is enabled, 0 = RMII
#pragma config FETHIO = ON // 1 = Default Ethernet I/O Pins, 0 = Alternate
The target hardware works very well when compiled with the pre-Harmony libraries, the latest of which is Microchip Solutions Version from 2013-06-15. Unfortunately, That only works with XC32 compiler 1.34 and earlier. That is not a sustainable environment for continued maintenance of my existing products.