Hi,
there is a bug in the SDK_2_13_0_LPC54608J512 bug in fsl_enet.c in ENET_SetSMI().
uint32_t srcClock_Hz = CLOCK_GetCoreSysClkFreq() / 1000000U; // This line works only when the SYSCON->AHBCLKDIV register is 0. then the AHB clk and main clk is the same*/
FIX:
uint32_t srcClock_Hz = CLOCK_GetFreq(kCLOCK_BusClk) / 1000000U; //ENET is connected to Systemclock CPU, AHB Bus,....
Sorry but is this the official way to repost bugs?
Hello @A_M
Thanks for your sharing, yes, you are right. I will report this bug to SDK team,thanks.
BR
Alice