Content originally posted in LPCWare by Luis Digital on Thu Nov 25 07:30:04 MST 2010
Hello,
[COLOR=#000000]The "Main clock" is not an oscillator, but a clock source, you can select different oscillators.
[/COLOR]The main clock feeds the "System clock", and is used by the system (memory, peripherals, etc.).
[COLOR=#000000]
[/COLOR]The UART uses two clock sources:
Quote:
The UART block is gated by the AHBCLKCTRL register (see Table 3–19). The peripheral
UART clock, which is used by the UART baud rate generator, is controlled by the
UARTCLKDIV register (see Table 3–21).
The UART_PCLK can be disabled in the UARTCLKDIV register (see Section 3–4.16) and
the UART block can be disabled through the System AHB clock control register bit 12
(see Section 3–4.14) for power savings.
Remark: The UART pins must be configured in the corresponding IOCON registers
before the UART clocks are enabled.
We now understand a little better how it works. ;)