LPC55S04: Can device run with no external crystals or clocks

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPC55S04: Can device run with no external crystals or clocks

跳至解决方案
1,378 次查看
cpm72
Contributor II

Hello,

We are using an LPC55S04 microcontroller in a new low cost, space-constrained design. Can you confirm that the device can start up, run an application and be used with a debugger when there is no external crystal or clock provided on the XTAL_32M pins?

Various sections in the user manual (1.2, 4.2.3, 4.5.32, 4.5.33 and 4.6.3) indicate that the device starts up from the internal 12 MHz trimmed FRO. I just wanted to double-check that I don't need to leave room for external components.

Regards

标记 (2)
0 项奖励
回复
1 解答
1,364 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @cpm72,

There is no need for an external oscillator as long as you dont need a higher frequency or accuracy for your application; I suggest also looking at chapter 7.20.1 & 7.20.2 (Clock sources & PLL), as it has extensive information about the external and internal clock sources this board supports.

Best regards, Julian

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,365 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @cpm72,

There is no need for an external oscillator as long as you dont need a higher frequency or accuracy for your application; I suggest also looking at chapter 7.20.1 & 7.20.2 (Clock sources & PLL), as it has extensive information about the external and internal clock sources this board supports.

Best regards, Julian

0 项奖励
回复
1,355 次查看
cpm72
Contributor II

Hi Julian,

Thanks for your reply. We don't need accuracy for our application, but is there any reason why higher frequencies can't be used?

We would want to switch to the internal 96 MHz FRO after startup and, if necessary, use one of the PLLs to boost the speed further. I can't see anything in section 7.20 that would prevent that when we don't have an external crystal.

Regards,

Chris

0 项奖励
回复
1,351 次查看
frank_m
Senior Contributor III

Tolerances will multiply when using the PLL, and USB or ethernet would definitely not work (no connection due to clock deviation).

I suppose you might even get trouble with RS232 connections. Longterm timers might also deviate noticeably, depending on temperature.

0 项奖励
回复
1,345 次查看
cpm72
Contributor II

Ok thanks, good points. If no crystal is fitted, we can probably avoid having to use the PLL and we don't need to worry about USB or Ethernet for this application anyway.

The main peripheral interfaces are SPI and I2C, where frequency accuracy doesn't matter. Also, I'm hoping the 1% trimmed FRO over 0-85C should be good enough for a UART interface running ISP or debug. Timers should all be short term.

1,334 次查看
frank_m
Senior Contributor III

I was just pointing out some interfaces and peripherals that depend on clock accuracy in some way. According to my experiences (with other devices), issues tend to occur at extreme temperatures for most devices, and at moderate temperature for a smaller percentage of devices.

Not sure if you get along without PLL, performance-wise.

In regard to UART/debug, very much depends on the "other" device. While the RS232 standard defines maximal bit time tolerances, some devices can digest larger deviations without problems. 

UART is relatively prone to signal corruption anyway, so a robust protocol with consistency checks and possibly repetitions could alleviate those problems.

0 项奖励
回复