Question - USB with Internal RC Oscillator

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

Question - USB with Internal RC Oscillator

784 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Clovis on Tue Jul 24 08:26:40 MST 2012
Hi everyone. I'm introducing myself in the world of CortexM3 and I would really appreciate your help in this matter.

I've been succesfully testing some example codes for USB HID with an LPC1769 on a LPCXpresso Embedded Artist's Base board that I've found on the Internet.

I would like to modify this examples to operate the USB HID using the internal RC oscillator in order to simplify a future PCB Design.

I've been reading LPC17xx's User Manual, Clocking and Power Control Section.
The internal RC Oscillator runs at a 12MHz frequency, and the system PLL is capable of taking it as input and multipliyng this frequency four times, so I could generate a 48MHz main clock. This clock would allow USB HID to work fine.

HOWEVER, I've seen SEVERAL times in the user manual that it's strongly suggested (almost as if it were an obbligation) to use the system oscillator (external) and not the internal RC oscillator when using the PLL0 output for USB clocking.

Is it impossible to use the IRC?
Has anyone faced this issue before?

Thanks in advance!
Labels (1)
0 Kudos
Reply
1 Reply

683 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wellsk on Tue Jul 24 14:25:55 MST 2012
The 17xx IRC is trimmed to 1% accuracy, which isn't really good enough for USB. The external oscillator is recommended due to stability needed for USB. The USB requires a precise clock that the IRC can't meet.

From the datasheet (http://www.nxp.com/documents/data_sheet/LPC178X_7X.pdf)...
"Also, only the main oscillator in conjunction with the PLL can meet the precision and jitter specifications for USB."


0 Kudos
Reply