SDK_2_13_0_LPC54608J512 bug in fsl_enet.c in ENET_SetSMI()

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDK_2_13_0_LPC54608J512 bug in fsl_enet.c in ENET_SetSMI()

285 Views
A_M
Contributor III

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?

Tags (3)
0 Kudos
1 Reply

265 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @A_M 

 

Thanks for your sharing, yes, you are right. I will report this bug to SDK team,thanks.

 

BR

Alice

0 Kudos