C8051F326/7 - Silicon Labs
C8051F326/7 - Silicon Labs
C8051F326/7 - Silicon Labs
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
10. Oscillators<br />
<strong>C8051F326</strong>/7<br />
<strong>C8051F326</strong>/7 devices include a programmable internal oscillator, an external clock input circuit, a low frequency<br />
internal oscillator, and a 4x Clock Multiplier. The internal oscillator can be enabled/disabled and<br />
calibrated using the OSCICN and OSCICL registers, as shown in Figure 10.1. The Low Frequency oscillator<br />
can be enabled/disabled and calibrated using the OSCLCN register, as shown in Figure 10.3. The system<br />
clock (SYSCLK) can be derived from the internal oscillator, external clock, low frequency oscillator, or<br />
the 4x Clock Multiplier divided by 2. The USB clock (USBCLK) can be derived from the internal oscillator<br />
divided by 2, external clock, or 4x Clock Multiplier. Oscillator electrical specifications are given in<br />
Table 10.3 on page 78.<br />
CMOS<br />
Clock<br />
XTAL2<br />
OSCICL OSCICN<br />
Programmable<br />
Internal Clock<br />
Generator<br />
OSCLF<br />
Low Frequency<br />
Oscillator<br />
Input<br />
Circuit<br />
IOSCEN<br />
IFRDY<br />
SUSPEND<br />
EXOSC<br />
MULEN<br />
MULINIT<br />
MULRDY<br />
10.1. Programmable Internal Oscillator<br />
EN<br />
EN<br />
IOSC<br />
IOSC<br />
EXOSC<br />
CLKMUL<br />
Clock Multiplier<br />
Figure 10.1. Oscillator Diagram<br />
All <strong>C8051F326</strong>/7 devices include a programmable internal oscillator that defaults as the system clock after<br />
a system reset. The internal oscillator period can be adjusted via the OSCICL register. On <strong>C8051F326</strong>/7<br />
devices, OSCICL is factory calibrated to obtain a 12 MHz frequency. Electrical specifications for the precision<br />
internal oscillator are given in Table 10.3 on page 78. Note that the system clock may be derived from<br />
the programmed internal oscillator divided by 1, 2, 4, or 8, as defined by the IFCN bits in register OSCICN.<br />
The divide value defaults to 8 following a reset.<br />
IFCN1<br />
IFCN0<br />
n<br />
OSCLEN<br />
MULSEL1<br />
MULSEL0<br />
OSCLCN<br />
x 2 x 2<br />
CLKSEL<br />
USBCLK1<br />
USBCLK0<br />
IOSC / 2<br />
EXOSC<br />
OFF (0 Hz)<br />
CLKSEL2<br />
CLKSL1<br />
CLKSL0<br />
SYSCLK<br />
USBCLK<br />
Rev. 1.1 71<br />
USBCLK1-0