Hi,
I try setting the MDIO/MDC in iMX and sending data.
But I can't measure any signal by logic analyzer.
Thanks.
Best Regards,
Wayne.
Hi NXP,
My imx processor is "iMX8M Plus", I want to setting in M7.
When I finish setting, I can't probe any signal from MDC/MDIO.
My setting as follows,
1. gpio setting
- {pin_num: AH28, peripheral: ENET_QOS, signal: enet_qos_mdc, pin_signal: ENET_MDC, PUE: Weak_Pull_Down, ODE: Open_Drain_Disable, FSEL: Slow, DSE: X6, SION: DISABLED}
- {pin_num: AH29, peripheral: ENET_QOS, signal: enet_qos_mdio, pin_signal: ENET_MDIO, PE: Enabled, HYS: CMOS, PUE: Weak_Pull_Down, ODE: Open_Drain_Disable, FSEL: Slow,
DSE: X6, SION: DISABLED}
2. other setting
#define EXAMPLE_ENET ENET1
#define EXAMPLE_CLOCK_FREQ \
(CLOCK_GetPllFreq(kCLOCK_SystemPll1Ctrl) / (CLOCK_GetRootPreDivider(kCLOCK_RootEnetQos)) / \
(CLOCK_GetRootPostDivider(kCLOCK_RootEnetQos)))
- BOARD_InitModuleClock
CLOCK_SetRootMux(kCLOCK_RootEnetQos, kCLOCK_EnetQosRootmuxSysPll1Div5);
CLOCK_SetRootDivider(kCLOCK_RootEnetQos, 1U, 10U);
Thanks.
Best Regards,
Wayne.
Hi ,
How to get the "MAC_MDIO_ADDRESS" ?
Thanks.
Best Regards,
Wayne.
Hi,
I found this register in "ENET_QOS-> MAC_MDIO_ADDRESS".
Is it correct ?
Thanks.
Best Regards,
Wayne.
Hi,
I reference the MIMXRT1176xxxxx enet driver example code and port to iMX8M Plus M7.
I can't get the PHY CHECK ID and even I measure the MDIO line, it didn't have any signal.
I think maybe my MDIO initial is not correct.
How could we check about it ?
Thanks.
Best Regards,
Wayne.