This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DP83848I: PHY DRV Initialization failed for DP83848 PHY driver library in MPLAB with PIC32MZ2064DAS169i micro controller

Part Number: DP83848I

Tool/software:

Hi,

I am using PIC32MZ2064DAS169i micro controller with DP83848 PHY.

I have interfaced the DP83848 PHY driver library in MPLAB version 6.20 harmony library.

When i am flashing the code following error i am getting.

PHY DRV initialization failed operation error: -2

PHY Operation Error: -7 (DRV_ETHPHY_RES_NEGOTIATION_NOT_STARTED error)

PHY operation error: -4 (DRV_ETHPHY_RES_NEGOTIATION_INACTIVE) 

 

typedef enum
{
/* Everything ok */
DRV_ETHPHY_RES_OK /*DOM-IGNORE-BEGIN*/ = 0, /*DOM-IGNORE-END*/

/* Operation pending, in progress */
DRV_ETHPHY_RES_PENDING /*DOM-IGNORE-BEGIN*/ = 1, /*DOM-IGNORE-END*/

/* Device/transaction status is busy */
/* Driver busy with a previous operation and operation needs to be retried */
DRV_ETHPHY_RES_BUSY /*DOM-IGNORE-BEGIN*/ = 2, /*DOM-IGNORE-END*/


/* Errors */

/* No PHY was detected or it failed to respond to reset command */
DRV_ETHPHY_RES_DTCT_ERR /*DOM-IGNORE-BEGIN*/ = -1, /*DOM-IGNORE-END*/

/* Timeout in the detection procedure */
DRV_ETHPHY_RES_DTCT_TMO /*DOM-IGNORE-BEGIN*/ = -2, /*DOM-IGNORE-END*/

/* No match between the capabilities: the PHY supported and the open
requested ones */
DRV_ETHPHY_RES_CPBL_ERR /*DOM-IGNORE-BEGIN*/ = -3, /*DOM-IGNORE-END*/

/* Hardware configuration doesn't match the requested open mode */
DRV_ETHPHY_RES_CFG_ERR /*DOM-IGNORE-BEGIN*/ = -4, /*DOM-IGNORE-END*/

/* No negotiation active */
DRV_ETHPHY_RES_NEGOTIATION_INACTIVE /*DOM-IGNORE-BEGIN*/ = -5, /*DOM-IGNORE-END*/

/* No negotiation support */
DRV_ETHPHY_RES_NEGOTIATION_UNABLE /*DOM-IGNORE-BEGIN*/ = -6, /*DOM-IGNORE-END*/

/* Negotiation not started yet */
DRV_ETHPHY_RES_NEGOTIATION_NOT_STARTED/*DOM-IGNORE-BEGIN*/ = -7, /*DOM-IGNORE-END*/

/* Negotiation active */
DRV_ETHPHY_RES_NEGOTIATION_ACTIVE /*DOM-IGNORE-BEGIN*/ = -8, /*DOM-IGNORE-END*/

/* Unsupported or operation error */
DRV_ETHPHY_RES_OPERATION_ERR /*DOM-IGNORE-BEGIN*/ = -9, /*DOM-IGNORE-END*/

/* Driver busy with a previous operation */
DRV_ETHPHY_RES_NOT_READY_ERR /*DOM-IGNORE-BEGIN*/ = -10, /*DOM-IGNORE-END*/

/* Passed handle is invalid */
DRV_ETHPHY_RES_HANDLE_ERR /*DOM-IGNORE-BEGIN*/ = -11, /*DOM-IGNORE-END*/

/* Operation aborted */
DRV_ETHPHY_RES_ABORTED /*DOM-IGNORE-BEGIN*/ = -12, /*DOM-IGNORE-END*/

/* MIIM Driver Operation Error */
DRV_ETHPHY_RES_MIIM_ERR /*DOM-IGNORE-BEGIN*/ = -13, /*DOM-IGNORE-END*/

} DRV_ETHPHY_RESULT;

Can any body help me to resolve the issue.