SDK_2_13_0_LPC54608J512 bug in fsl_enet.c in ENET_SetSMI()

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SDK_2_13_0_LPC54608J512 bug in fsl_enet.c in ENET_SetSMI()

287 次查看
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?

标记 (3)
0 项奖励
1 回复

267 次查看
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 项奖励