SDK_2.4.1_LPC54606J512

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

SDK_2.4.1_LPC54606J512

895 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

727 Views
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 Kudos
Reply