Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN4228 Datasheet(PDF) 37 Page - STMicroelectronics

Part # AN4228
Description  Migrating from STM32F1 to STM32F3 microcontrollers
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4228 Datasheet(HTML) 37 Page - STMicroelectronics

Back Button AN4228 Datasheet HTML 33Page - STMicroelectronics AN4228 Datasheet HTML 34Page - STMicroelectronics AN4228 Datasheet HTML 35Page - STMicroelectronics AN4228 Datasheet HTML 36Page - STMicroelectronics AN4228 Datasheet HTML 37Page - STMicroelectronics AN4228 Datasheet HTML 38Page - STMicroelectronics AN4228 Datasheet HTML 39Page - STMicroelectronics AN4228 Datasheet HTML 40Page - STMicroelectronics AN4228 Datasheet HTML 41Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 90 page
background image
DocID024110 Rev 5
37/90
AN4228
Firmware migration using the library
89
used to configure the microcontroller system at start-up and before branching to the main()
program.
Note:
For STM32F3xx, you can use the clock configuration tool,
STM32F3xx_Clock_Configuration.xls, to generate a customized SystemInit() function
depending on your application requirements. For more information, refer to AN4152 “Clock
configuration tool for STM32F30xx microcontrollers” and to AN4132 Clock configuration tool
for STM32F37xx microcontrollers”.
4.2.2
Peripheral access configuration
As presented in Section 3.4: Reset and clock controller (RCC) interface, you need to call
different functions to enable/disable the peripheral clock or enter/exit from reset mode.
As an example, GPIOA is mapped on AHB bus on STM32F3 series (APB2 bus on
STM32F1 series). To enable its clock in the STM32F1 series, use
_AHBPeriphClockCmd(_AHBPeriph_GPIOA, ENABLE)
instead of:
_APB2PeriphClockCmd(_APB2Periph_GPIOA, ENABLE);
Refer to Table 8 for the peripheral bus mapping changes between STM32F3 and STM32F1
series.
4.2.3
Peripheral clock configuration
Some STM32F3xx peripherals support dual clock features. The table below summarizes the
clock sources for these IPs in comparison with STM32F10x peripherals.
Table 19. STM32F10x and STM32F3xx clock source API correspondence
Peripherals
Source clock in STM32F10x
Source clock in STM32F3xx
CEC
APB1 clock with prescaler
– HSI/244: by default
–LSE
– APB clock: Clock for the digital interface
(used for register read/write access). This
clock is equal to the APB2 clock.
I2C
APB1 clock
I2C can be clocked with:
– System clock
–HSI
SPI/I2S
System clock
– APB clock
– External clock for I2S clock source(1)
1.
It is applicable only for STM32F30xx devices.
USART
– USART1 can be clocked by PCLK2
(72 MHz Max)
– Other USARTs can be clocked by
PCLK1 (36 MHz Max)
USART can be clocked with:
– system clock
– LSE clock
– HSI clock
– APB clock (PCLK)



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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90


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