SDK_2.4.1_LPC54606J512

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SDK_2.4.1_LPC54606J512

1,014件の閲覧回数
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 返信

846件の閲覧回数
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 件の賞賛
返信