Missing functions in fsl_clock for LPC845

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

Missing functions in fsl_clock for LPC845

1,223件の閲覧回数
1234567890
Contributor IV

There exist functions like

uint32_t CLOCK_GetUart0ClkFreq(void);

in the actual fsl_clock driver, but not for e.g. SPI or I2C.

Also register definitions for UARTxCLKSEL, I2CxCLKSEL and SPIxCLKSEL are not present (I would assume in LPC845.h).

By the way: There is a c&P-error in UM11029, 8.6.26:

pastedImage_1.png

It must be B0 instead of AC.

ラベル(1)
0 件の賞賛
返信
1 返信

1,179件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi  12345 67890,

Thank you for your comments!

I will check if the functions that you pointed out will be included on the upcoming SDK release for the LPC845, if not I will report it.

Also register definitions for UARTxCLKSEL, I2CxCLKSEL and SPIxCLKSEL are not present (I would assume in LPC845.h).

In this case, their register definitions are not made explicitly, however  they are accessible through the FCLKSEL array.

 __IO uint32_t FCLKSEL[11];                      

/**< peripheral clock source select register. FCLK0SEL~FCLK4SEL are for UART0~UART4 clock source select register. FCLK5SEL~FCLK8SEL are for I2C0~I2C3 clock source select register. FCLK9SEL~FCLK10SEL are for SPI0~SPI1 clock source select register., array offset: 0x90, array step: 0x4 */

By the way: There is a c&P-error in UM11029, 8.6.26:

I have reported this copy and paste error.

Thank you!

Regards,

Diego.

0 件の賞賛
返信