Content originally posted in LPCWare by BichoBus on Tue Sep 18 08:08:20 MST 2012
Quote: glenn_mark
Hi,
Maybe his thread is too old but I'll post my query anyway.
Is it OK to use the IRC for USB Applications?
I'm also confused with the system oscillator. And I think the initial question of 'what a system oscillator is made of' was not yet answered. Is it an external component (crystal) or is this an internal oscillator?
|-----------------------------------------------------------|
As far as I know,
"System Oscillator" is the on-chip circuitry that drives the external quartz crystal, and generates the square wave of same frecuency that the crystal frecuency. Is the circuitry connected to XTALIN and XTALOUT pins.
It is not the internal oscillator (the internal oscillator is the "IRC" oscillator, and it is an accuracy R-C on-chip oscillator; or same kind of precise oscillator)
Some NXP microcontrollers, like LPC1227, can "connect" or "disconnect" the "system oscillator".
I think this is: Imagine we have an external square wave (clock), and we want to use this for "clocking" the LPC1227. We connect the signal to XTALIN (as described in Data-Sheet), and left floating XTALOUT (disconnected). Then we disconnect the "system oscillator": register SYSOSCCTRL, bit 0 "BYPASS" = 1; => "bypass enabled" (because we are not using any external crystal).