CLKOUT on LPC175x

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

CLKOUT on LPC175x

Jump to solution
527 Views
androidtab
Contributor I

The datasheet of the LPC1756 is mentioning using the CLKOUT (P1.27) to calibrate the RTC. 

koen1_0-1697370222795.png

 

The LPC1756 does not have P1.27 in the PIN description. Is there another pin available to multiplex this feature to?

koen1_1-1697370259392.png

 

Labels (1)
0 Kudos
Reply
1 Solution
482 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

You are right, for the LPC175x family, all the LPC175x MCU are 80 pins package, while the LPC176x family are 100 package. The LPC176x family have the P1[27]/CLKOUT pin, but the LPC175x do not have P1[27]/CLKOUT pin.

I suppose this may be a workaround, the following fig is the clock of LPC175x, you can use the rtc_clk as the PLL input, for example multiply the rtc_clk with a number N, the PLL clock PLLCLK will be rtc_clck*N. Then the CCLK frequency will be rtc_clk*N. You can use for example I2S as a master, the I2S bit clock can be from the pclk1, the I2S bit clock can be configures as cclk/N or rtc_clk with an internal divider, because the bit clock of I2S is continuous, so you can calibrate the rtc_clk.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1697421250375.png

 

View solution in original post

0 Kudos
Reply
2 Replies
483 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

You are right, for the LPC175x family, all the LPC175x MCU are 80 pins package, while the LPC176x family are 100 package. The LPC176x family have the P1[27]/CLKOUT pin, but the LPC175x do not have P1[27]/CLKOUT pin.

I suppose this may be a workaround, the following fig is the clock of LPC175x, you can use the rtc_clk as the PLL input, for example multiply the rtc_clk with a number N, the PLL clock PLLCLK will be rtc_clck*N. Then the CCLK frequency will be rtc_clk*N. You can use for example I2S as a master, the I2S bit clock can be from the pclk1, the I2S bit clock can be configures as cclk/N or rtc_clk with an internal divider, because the bit clock of I2S is continuous, so you can calibrate the rtc_clk.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1697421250375.png

 

0 Kudos
Reply
467 Views
androidtab
Contributor I
Thank you for your reply. That is actually a good idea. I did not think of that.
0 Kudos
Reply