전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN4088 데이터시트(PDF) 30 Page - STMicroelectronics

부품명 AN4088
상세설명  Migrating between STM32F1 and STM32F0 series microcontrollers
PDF  71 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4088 데이터시트(HTML) 30 Page - STMicroelectronics

Back Button AN4088 Datasheet HTML 26Page - STMicroelectronics AN4088 Datasheet HTML 27Page - STMicroelectronics AN4088 Datasheet HTML 28Page - STMicroelectronics AN4088 Datasheet HTML 29Page - STMicroelectronics AN4088 Datasheet HTML 30Page - STMicroelectronics AN4088 Datasheet HTML 31Page - STMicroelectronics AN4088 Datasheet HTML 32Page - STMicroelectronics AN4088 Datasheet HTML 33Page - STMicroelectronics AN4088 Datasheet HTML 34Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 71 page
background image
Peripheral migration
AN4088
30/71
DocID023072 Rev 3
I/O pin has a multiplexer with eight alternate function inputs (AF0 to AF7) that can be
configured through the GPIOx_AFRL and GPIOx_AFRH registers:
–
The peripheral alternate functions are mapped by configuring AF0 to AF7.
3.
In addition to this flexible I/O multiplexing architecture, each peripheral has alternate
functions mapped on 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 PA15 pin.
Note:
Please refer to the “Alternate function mapping” table in the STM32F0x datasheet for the
detailed mapping of the system and the peripheral 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.8
EXTI source selection
In STM32F1, the selection of the EXTI line source is performed through EXTIx bits in
AFIO_EXTICRx registers, while in STM32F0 series this selection is done through EXTIx bits
in 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 maximum range of EXTIx bit values is 0b0101 as
the last PORT is F (in STM32F1 series, the maximum value is 0b0110).
3.9
Flash interface
The table below presents the difference between the Flash interface of STM32F1 series and
STM32F0 series, which can be grouped as follows:
New interface, new technology
New architecture
New read protection mechanism, 3 read protection levels
Consequently, the STM32F0 Flash programming procedures and registers are different
from the STM32F1 series, and any code written for the Flash interface in the STM32F1
series needs to be rewritten to run on STM32F0 series.



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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