Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UPSD3422 Datasheet(PDF) 83 Page - STMicroelectronics

Part # UPSD3422
Description  Turbo Plus series Fast Turbo 8032 MCU with USB and programmable logic
PDF  300 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3422 Datasheet(HTML) 83 Page - STMicroelectronics

Back Button UPSD3422_V01 Datasheet HTML 79Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 80Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 81Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 82Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 83Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 84Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 85Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 86Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 87Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 83 / 300 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
UPSD3422, UPSD3433, UPSD3434, UPSD3454
I/O ports of mcu module
83/300
17.1.4
Alternate functions
There are five SFRs used to control the mapping of alternate functions onto MCU port pins,
and these SFRs are depicted as switches in Figure 15 on page 80.
●
Port 3 uses the SFR, P3SFS (Table 41 on page 84).
●
Port 1 uses SFRs, P1SFS0 (Table 43 on page 84) and P1SFS1 (Table 44 on page 84).
●
Port 4 uses SFRs, P4SFS0 (Table 46 on page 85) and P4SFS1 (Table 47 on page 85).
Since these SFRs are cleared by a reset, then by default all port pins function as GPIO (not
the alternate function) until firmware initializes these SFRs.
Each pin on each of the three ports can be independently assigned a different function on a
pin-by-pin basis.
The peripheral functions Timer 2, UART1, and I2C may be split independently between Port
1 and Port 4 for additional flexibility by giving a wider choice of peripheral usage on a limited
number of device pins.
When the selected alternate function is UART0, UART1, or SPI, then the related pins are in
quasi-bidirectional mode, including the use of the high-side driver for rapid 0-to-1 output
transitions. The high-side driver is enabled for just one MCU_CLK period on 0-to-1
transitions by the delay function at the “digital_alt_func_data_out” signal pictured in
Figure 16 on page 80 through Figure 18 on page 81.
If the alternate function is Timer 0, Timer 1, Timer 2, or PCA input, then the related pins are
in quasi-bidirectional mode, but input only.
If the alternate function is ADC, then for each pin the pull-ups, the high-side driver, and the
low-side driver are disabled. The analog input is routed directly to the ADC unit. Only Port 1
supports analog functions (Figure 16 on page 80). Port 1 is not 5 V tolerant.
If the alternate function is I2C, the related pins will be in open drain mode, which is just like
quasi-bidirectional mode but the high-side driver is not enabled for one cycle when
outputting a 0-to-1 transition. Only the low-side driver and the internal weak pull-ups are
used. Only Port 3 supports open-drain mode (Figure 17 on page 81). I2C requires the use of
an external pull-up resistor on each bus signal, typically 4.7K
Ω to VCC.
If the alternate function is PCA output, then the related pins are in push-pull mode, meaning
the pins are actively driven and held to logic '1' by the high-side driver, or actively driven and
held to logic '0' by the low-side driver. Only Port 4 supports push-pull mode (Figure 18 on
page 81). Port 4 push-pull pins can source IOH current when driving logic '1,' and sink IOL
current when driving logic '0.' This current is significantly more than the capability of pins on
Port 1 or Port 3 (see Table 211 on page 271).
For example, to assign these port functions:
●
Port 1: UART1, ADC[1:0], P1[7:4] are GPIO
●
Port 3: UART0, I2C, P3[5:2] are GPIO
●
Port 4: TCM0, SPI, P4[3:1] are GPIO
The following values need to be written to the SFRs:
P1SFS0 = 00001111b, or 0Fh
P1SFS1 = 00000011b , or 03h
P3SFS = 11000011b, or C3h
P4SFS0 = 11110001b, or F1h
P4SFS1 = 11110000b, or F0h
Obsolete
Product(s)
- Obsolete
Product(s)



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 91 92 93 94 95 96 97 98 99 100  ...More


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