công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN4228 bảng dữ liệu(PDF) 36 Page - STMicroelectronics

tên linh kiện AN4228
Giải thích chi tiết về linh kiện  Migrating from STM32F1 to STM32F3 microcontrollers
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4228 bảng dữ liệu(HTML) 36 Page - STMicroelectronics

Back Button AN4228 Datasheet HTML 32Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 90 page
background image
Firmware migration using the library
AN4228
36/90
DocID024110 Rev 5
4
Firmware migration using the library
This section describes how to migrate an application based on STM32F1xx Standard
Peripherals Library to the STM32F3xx Standard Peripherals Library.
The STM32F1xx and STM32F3xx libraries have the same architecture and are CMSIS
compliant; they use the same driver naming and the same APIs for all compatible
peripherals.
Only a few peripheral drivers need to be updated to migrate the application from an
STM32F1 series to an STM32F3 series product.
Note:
In the rest of this section (unless otherwise specified), the term “STM32F3xx library” is used
to refer to the STM32F3xx Standard Peripherals Library, and the term “STM32F10x library”
is used to refer to the STM32F10x Standard Peripherals Library.
STM32F3xx devices refers to STM32F30/31xxx devices and STM32F37/38xxx devices.
4.1
Migration steps
To update your application code to run on STM32F3xx library, follow the steps listed below:
1.
Update the toolchain startup files:
a)
Project files: device connections and Flash memory loader. These files are
provided with the latest version of your toolchain that supports STM32F3xx
devices. For more information, please refer to your toolchain documentation.
b)
Linker configuration and vector table location files: these files are developed
following the CMSIS standard and are included in the STM32F3xx library install
package under the following directory: Libraries\CMSIS\Device\ST\STM32F3xx.
2.
Add STM32F3xx library source files to the application sources:
a)
Replace the stm32f10x_conf.h file of your application by stm32f3xx_conf.h
provided in STM32F3xx library.
b)
Replace the existing stm32f10x_it.c/stm32f10x_it.h files in your application by
stm32f3xx_it.c/Stm32f3xx_it.h provided in STM32F3xx library.
3.
Update the part of your application code that uses the PWR, GPIO, FLASH, ADC and
RTC drivers. Further details are provided in the next section.
Note:
The STM32F3xx library comes with a rich set of examples (around 76 in total)
demonstrating how to use the different peripherals. They are located under
Project\STM32F3xx_StdPeriph_Examples\.
4.2
RCC driver
4.2.1
System clock configuration
As presented in Section 3.4: Reset and clock controller (RCC) interface, the STM32F3 and
STM32F1 series have the same clock sources and configuration procedures. However,
there are some differences related to the product voltage range, PLL configuration,
maximum frequency and Flash wait state configuration. Thanks to the CMSIS layer, these
differences are hidden from the application code: only replace the system_stm32f10x.c file
by system_stm32f3xx.c file. This file provides an implementation of SystemInit() function



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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