29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Connectivity line devices: reset <strong>and</strong> clock control (RCC)<br />

RM0008<br />

Several prescalers allow the configuration of the AHB frequency, the high speed APB<br />

(APB2) <strong>and</strong> the low speed APB (APB1) domains. The maximum frequency of the AHB <strong>and</strong><br />

the APB2 domains is 72 MHz. The maximum allowed frequency of the APB1 domain is<br />

36 MHz.<br />

All peripheral clocks are derived from the system clock (SYSCLK) except:<br />

●<br />

●<br />

The Flash memory programming interface clock which is always the HSI clock<br />

The USB OTG FS 48MHz clock which is derived from the PLL VCO clock<br />

● The I2S2 <strong>and</strong> I2S3 clocks which can also be derived from the PLL3 VCO clock<br />

(selection by software)<br />

● The Ethernet MAC clocks (TX, RX <strong>and</strong> RMII) which are provided from the external<br />

PHY. For further information on Ethernet configuration, please refer to Section 27.4.4:<br />

MII/RMII selection.<br />

The RCC feeds the Cortex System Timer (SysTick) external clock with the AHB clock<br />

(HCLK) divided by 8. The SysTick can work either with this clock or with the Cortex clock<br />

(HCLK), configurable in the SysTick Control <strong>and</strong> Status Register. The ADCs are clocked by<br />

the clock of the High Speed domain (APB2) divided by 2, 4, 6 or 8.<br />

The timer clock frequencies are automatically fixed by hardware. There are two cases:<br />

1. if the APB prescaler is 1, the timer clock frequencies are set to the same frequency as<br />

that of the APB domain to which the timers are connected.<br />

2. otherwise, they are set to twice (×2) the frequency of the APB domain to which the<br />

timers are connected.<br />

FCLK acts as Cortex-M3 free running clock. For more details refer to the ARM Cortex-<br />

M3 Technical Reference Manual.<br />

7.2.1 HSE clock<br />

The high speed external clock signal (HSE) can be generated from two possible clock<br />

sources:<br />

● HSE external crystal/ceramic resonator<br />

● HSE user external clock<br />

The resonator <strong>and</strong> the load capacitors have to be placed as close as possible to the<br />

oscillator pins in order to minimize output distortion <strong>and</strong> startup stabilization time. The<br />

loading capacitance values must be adjusted according to the selected oscillator.<br />

108/995 Doc ID 13902 Rev 9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!