29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RM0008<br />

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

Figure 11.<br />

Clock tree<br />

40 kHz<br />

LSI<br />

RC<br />

to independent watchdog<br />

IWDGCLK<br />

OSC32_IN<br />

OSC32_OUT<br />

32.768 kHz<br />

LSE<br />

OSC<br />

LSI<br />

to RTC<br />

LSE<br />

RTCCLK<br />

/128<br />

RTCSEL[1:0]<br />

HSE<br />

CSS<br />

to Flash prog. IF<br />

FLITFCLK<br />

OSC_IN<br />

OSC_OUT<br />

XT1 to MCO<br />

3-25 MHz<br />

HSE<br />

OSC<br />

8 MHz<br />

HSI RC<br />

/2<br />

/1,2,3....<br />

..../15, /16<br />

PLLSCR<br />

PREDIV1<br />

PREDIV1SCR<br />

PLLMUL<br />

x4, x5,... x9,<br />

x6.5<br />

HSI<br />

PLLCLK<br />

SW<br />

PLLVCO<br />

USB prescaler<br />

/2,3<br />

SYSCLK<br />

system clock<br />

PREDIV2<br />

PLL2MUL<br />

x8, x9,... x14,<br />

x16, x20<br />

OTGFSCLK<br />

48 MHz<br />

to USB OTG FS<br />

to I2S2 interface<br />

/1,2,3....<br />

..../15, /16<br />

PLL3MUL PLL2CLK<br />

to MCO<br />

x8, x9,... x14,<br />

x16, x20<br />

PLL3VCO<br />

PLL3CLK to MCO<br />

to I2S3 interface<br />

MCO<br />

MCO[3:0]<br />

HSE<br />

HSI<br />

PLLCLK/2<br />

PLL2CLK<br />

PLL3CLK/2<br />

PLL3CLK<br />

XT1<br />

APB1 prescaler<br />

/1, 2, 4, 8, 16<br />

HCLK to AHB bus, core memory <strong>and</strong> DMA<br />

/2 to Cortex System timer<br />

FCLK Cortex free running clock<br />

36 MHz max<br />

Peripheral clock enable<br />

PCLK1<br />

to APB1 peripherals<br />

SYSCLK<br />

72 MHz max.<br />

(see note1)<br />

AHB prescaler<br />

/1,/2 ../512<br />

TIM2,3,4,5,6,7<br />

If(APB1 prescaler =1) x1<br />

else x2<br />

Peripheral clock enable<br />

to TIM2,3,4,5,<br />

6 & 7<br />

TIMxCLK<br />

APB2 prescaler<br />

/1, 2, 4, 8, 16<br />

72 MHz max<br />

Peripheral clock enable<br />

PCLK2<br />

to APB2 peripherals<br />

Ethernet<br />

PHY<br />

ETH_MII_TX_CLK<br />

ETH_MII_RX_CLK<br />

/2, /20<br />

MACTXCLK<br />

MII_RMII_SEL<br />

in AFIO_MAPR<br />

MACRXCLK<br />

to Ethernet MAC<br />

TIM1<br />

If(APB2 prescaler =1) x1<br />

else x2<br />

Peripheral clock enable<br />

ADC prescaler<br />

/2, 4, 6, 8<br />

ADCCLK<br />

14 MHz max<br />

to TIM1<br />

TIMxCLK<br />

to ADC1,2<br />

MACRMIICLK<br />

ai15699c<br />

1. When the HSI is used as a PLL clock input, the maximum system clock frequency that can be achieved is<br />

36 MHz.<br />

2. For full details about the internal <strong>and</strong> external clock source characteristics, please refer to the “Electrical<br />

characteristics” section in your device datasheet.<br />

The advanced clock controller features 3 PLLs to provide a high degree of flexibility to the<br />

application in the choice of the external crystal or oscillator to run the core <strong>and</strong> peripherals<br />

at the highest frequency <strong>and</strong> guarantee the appropriate frequency for the Ethernet <strong>and</strong> USB<br />

OTG FS.<br />

A single 25 MHz crystal can clock the entire system <strong>and</strong> all peripherals including the<br />

Ethernet <strong>and</strong> USB OTG FS peripherals. In order to achieve high-quality audio performance,<br />

an audio crystal can be used. In this case, the I2S master clock can generate all st<strong>and</strong>ard<br />

sampling frequencies from 8 kHz to 96 kHz with less than 0.5% accuracy.<br />

For more details about clock configuration for applications requiring Ethernet, USB OTG FS<br />

<strong>and</strong>/or I 2 S (audio), please refer to "Appendix A Applicative block diagrams" in your<br />

connectivity line device datasheet.<br />

Doc ID 13902 Rev 9 107/995

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

Saved successfully!

Ooh no, something went wrong!