Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3427 Datasheet(PDF) 18 Page - STMicroelectronics

Part # AN3427
Description  Migrating a microcontroller application from STM32F1 to STM32F2 series
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3427 Datasheet(HTML) 18 Page - STMicroelectronics

Back Button AN3427 Datasheet HTML 14Page - STMicroelectronics AN3427 Datasheet HTML 15Page - STMicroelectronics AN3427 Datasheet HTML 16Page - STMicroelectronics AN3427 Datasheet HTML 17Page - STMicroelectronics AN3427 Datasheet HTML 18Page - STMicroelectronics AN3427 Datasheet HTML 19Page - STMicroelectronics AN3427 Datasheet HTML 20Page - STMicroelectronics AN3427 Datasheet HTML 21Page - STMicroelectronics AN3427 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 52 page
background image
Peripheral migration
AN3427
18/52
Doc ID 019001 Rev 1
In addition to the differences described in the table above, the following additional steps
need to be performed during the migration:
1.
System clock configuration: when moving from F1 series to F2 series only a few
settings need to be updated in the system clock configuration code; mainly the Flash
settings (configure the right wait states for the system frequency, prefetch
enable/disable,...) or/and the PLL parameters configuration:
a)
If the HSE or HSI is used directly as system clock source, in this case only the
Flash parameters should be modified.
b)
If PLL (clocked by HSE or HSI) is used as system clock source, in this case the
Flash parameters and PLL configuration need to be updated.
MCO clock
source
– MCO pin (PA8)
– Connectivity Line: HSI, HSE,
PLL/2, SYSCLK, PLL2, PLL3
or XT1
– Other product lines: HSI,
HSE, PLL/2 or SYSCLK
– MCO1 pin (PA8): HSI,
HSE, LSE or PLL
– MCO2 pin (PC9): PLLI2S,
PLL, HSE or SYSCLK
– With configurable
prescaler, from 1 to 5, for
each output.
MCO configuration in F2 series
is different from F1:
– For MCO1, the prescaler is
configured through bits
RCC_CFGR[MCO1PRE] and
the selection of the clock to
output through bits
RCC_CFGR[MCO1]
– For MCO2, the prescaler is
configured through bits
RCC_CFGR[MCO2PRE] and
the selection of the clock to
output through bits
RCC_CFGR[MCO2]
Internal
oscillator
measurement
/ calibration
- LSI connected to TIM5 CH4
IC: can measure LSI w/ respect
to HSI/HSE clock
- LSI connected to TIM5 CH4
IC: can measure LSI w/
respect to HSI/HSE clock
- LSE connected to TIM5
CH4 IC: can measure HSI w/
respect to LSE clock
- HSE connected to TIM11
CH1 IC: can measure HSE
range w/ respect to HSI clock
There is no configuration to
perform in RCC registers.
Interrupt
- CSS (linked to NMI IRQ)
- LSIRDY, LSERDY, HSIRDY,
HSERDY, PLLRDY, PLL2RDY
and PLL3RDY (linked to RCC
global IRQ)
- CSS (linked to IRQ)
- LSIRDY, LSERDY, HSIRDY,
HSERDY, PLLRDY and
PLLI2SRDY (linked to RCC
global IRQ)
No change on SW configuration:
interrupt enable, disable and
pending bits clear are done in
RCC_CIR register.
Table 4.
RCC differences between STM32 F1 and STM32 F2 series
RCC main
features
STM32 F1 series
STM32 F2 series
Comments



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com