SDK_2.4.1_LPC54606J512

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

SDK_2.4.1_LPC54606J512

981 次查看
vijo
Contributor III

Hi,

I have found what I belive is a bug in:

Function:          uint32_t CLOCK_GetFlexCommClkFreq(uint32_t id) 

File:                     fsl_clock.c

Package:           SDK_2.4.1_LPC54606J512

 

This line:                                          freq = CLOCK_GetFroHfFreq();

Should be replaced by this line:      freq = CLOCK_GetFroHfFreq() / ((SYSCON->FROHFCLKDIV & 0xffu) + 1U); 

As it is fro_hf_div and not fro_hf that can be the source for the FlexComm moduls.

 

Regards

Viggo

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

813 次查看
soledad
NXP Employee
NXP Employee

Hi,

Thank you for your feedback, we will check this internally in order to fix the issue.


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复