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

X  

AN3427 bảng dữ liệu(PDF) 31 Page - STMicroelectronics

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

AN3427 bảng dữ liệu(HTML) 31 Page - STMicroelectronics

Back Button AN3427 Datasheet HTML 27Page - STMicroelectronics AN3427 Datasheet HTML 28Page - STMicroelectronics AN3427 Datasheet HTML 29Page - STMicroelectronics AN3427 Datasheet HTML 30Page - STMicroelectronics AN3427 Datasheet HTML 31Page - STMicroelectronics AN3427 Datasheet HTML 32Page - STMicroelectronics AN3427 Datasheet HTML 33Page - STMicroelectronics AN3427 Datasheet HTML 34Page - STMicroelectronics AN3427 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 52 page
background image
AN3427
Peripheral migration
Doc ID 019001 Rev 1
31/52
In this way, there can be no conflict between peripherals sharing the same I/O pin.
Each I/O pin has a multiplexer with sixteen alternate function inputs (AF0 to AF15) that
can be configured through the GPIOx_AFRL and GPIOx_AFRH registers:
After reset all I/Os are connected to the system’s alternate function 0 (AF0)
The peripherals’ alternate functions are mapped from AF1 to AF13
Cortex-M3 EVENTOUT is mapped on AF15
3.
In addition to this flexible I/O multiplexing architecture, each peripheral has alternate
functions mapped onto different I/O pins to optimize the number of peripheral I/O
functions for different device packages. For example, the USART2_RX pin can be
mapped on PA3 or PD6 pin
Note:
Please refer to the “Alternate function mapping” table in the STM32F20x and STM32F21x
datasheets for the detailed mapping of the system and peripherals’ alternate function I/O
pins.
4.
Configuration procedure
Configure the desired I/O as an alternate function in the GPIOx_MODER register
Select the type, pull-up/pull-down and output speed via the GPIOx_OTYPER,
GPIOx_PUPDR and GPIOx_OSPEEDER registers, respectively
Connect the I/O to the desired AFx in the GPIOx_AFRL or GPIOx_AFRH register
3.7
EXTI source selection
In STM32 F1 the selection of the EXTI line source is performed through the EXTIx bits in the
AFIO_EXTICRx registers, while in F2 series this selection is done through the EXTIx bits in
the SYSCFG_EXTICRx registers.
Only the mapping of the EXTICRx registers has been changed, without any changes to the
meaning of the EXTIx bits. However, the range of EXTIx bits values has been extended to
0b1000 to support the two ports added in F2, port H and I (in F1 series the maximum value
is 0b0110).
3.8
FLASH
The table below presents the difference between the FLASH interface in the STM32 F1 and
STM32 F2 series, these differences are the following:
New interface, new technology
New architecture, sectors instead of pages
New read protection mechanism, 3 read protection levels with JTAG fuse
As consequence the F2 Flash programming procedures and registers are different from the
the F1 series, i.e. any code on F1 series using the Flash needs to be rewritten to run on F2
series.
For more information on programming, erasing and protection of the F2 Flash memory,
please refer to the STM32F2xx Flash programming manual (PM0059).



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


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