lpc54102 clock

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

lpc54102 clock

1,515 Views
zhan8g
Contributor I

It is found that there is a problem in the LPC54102 chip. The internal IRC 12MHz clock is passed through EMI, but IRC has the problem of temperature drift. The long-term usage leads to UART communication rate deviation and can not communicate. Using 32K RTC PLL TO 12MHz, the system clock temperature drift problem has been solved, but there are more serious problems and very poor anti-interference. Why does this chip have such a problem?!!

Labels (1)
Tags (1)
0 Kudos
5 Replies

859 Views
zhan8g
Contributor I

Why? NXP engineers don't reply to this problem?!!

0 Kudos

859 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Below is the LPC5410x internal 12MHz IRC spec:

pastedImage_1.png

The IRC clock frequency drift with temperature is normal.

As you can see the full temperature range clock frequency accuracy within 3.5%.

The UART communication also allow communication clock accuracy tolerance, please check here for the detailed info.

I would recommend two ways to reduce the UART communication error rate:

1> reduce the UART communication baud rate;

2> using IRC Control register to trim the IRC with temperature change.

Wis it helps.


Have a great day,
Mike

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

0 Kudos

859 Views
zhan8g
Contributor I

1>. UART baud rate is 9600bps, can start normal communication on the 2 day, then there will be communication failure. Useing oscilloscope test waveform, found that the system clock increased, causing the baud rate to become 9620bps. 

Why?  the IRC clock is just a rough measure, the measurement function returns 12000000, can be like the RTC PLL clock, fine measurement, return 12001280?

2>. How to trim , can it be explained in detail?

Thanks.

0 Kudos

859 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

In general, the internal IRC is really not very precise.

The IRC clock frequency could be changed with voltage and operation temperature modification.

We don't have LPC54102 IRC trim example.

While,there is an application note AN4020 about MPC5510 16MHz IRC clock calibration, the method is also suitable with LPC54102 IRC clock.

Wish it helps.


Have a great day,
Mike

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

0 Kudos

859 Views
zhan8g
Contributor I

Is this chip debug? Which one has a large and long-term use of LPC541XX chips,How to solve this problem?

0 Kudos