Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3427 Datasheet(PDF) 30 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) 30 Page - STMicroelectronics

Back Button AN3427 Datasheet HTML 26Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 52 page
background image
Peripheral migration
AN3427
30/52
Doc ID 019001 Rev 1
3.6.1
Alternate function mode
In STM32 F1 series
1.
The configuration to use an I/O as alternate function depends on the peripheral mode
used. For example, the USART Tx pin should be configured as alternate function push-
pull while USART Rx pin should be configured as input floating or input pull-up.
2.
To optimize the number of peripheral I/O functions for different device packages
(especially with those with low pin count), it is possible by software to remap some
alternate functions to other pins. For example, the USART2_RX pin can be mapped on
PA3 (default remap) or PD6 (done through software remap) pin.
In STM32 F2 series
1.
Whatever the peripheral mode used, the I/O must be configured as alternate function,
then the system can use the I/O in the proper way (input or output).
2.
The I/O pins are connected to onboard peripherals/modules through a multiplexer that
allows only one peripheral’s alternate function to be connected to an I/O pin at a time.
Table 9.
GPIO differences between STM32 F1 series and STM32 F2 series
GPIO
STM32 F1 series
STM32 F2 series
Input mode
Floating
PU
PD
Floating
PU
PD
General purpose
output
PP
OD
PP
PP + PU
PP + PD
OD
OD + PU
OD + PD
Alternate Function
output
PP
OD
PP
PP + PU
PP + PD
OD
OD + PU
OD + PD
Input / Output
Analog
Analog
Output speed
2 MHz
10 MHz
50 MHz
2 MHz
25 MHz
50 MHz
100 MHz
Alternate function
selection
To optimize the number of peripheral I/O
functions for different device packages, it
is possible to remap some alternate
functions to some other pins (software
remap).
Highly flexible pin multiplexing allows no
conflict between peripherals sharing the
same I/O pin.
Max IO toggle frequency 16 MHz
60 MHz



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