Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

UPSD3313D-40T6 Datasheet(PDF) 59 Page - STMicroelectronics

No. de pieza UPSD3313D-40T6
Descripción Electrónicos  Fast 8032 MCU with Programmable Logic
PDF  231 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3313D-40T6 Datasheet(HTML) 59 Page - STMicroelectronics

Back Button UPSD3313D-40T6 Datasheet HTML 55Page - STMicroelectronics UPSD3313D-40T6 Datasheet HTML 56Page - STMicroelectronics UPSD3313D-40T6 Datasheet HTML 57Page - STMicroelectronics UPSD3313D-40T6 Datasheet HTML 58Page - STMicroelectronics UPSD3313D-40T6 Datasheet HTML 59Page - STMicroelectronics UPSD3313D-40T6 Datasheet HTML 60Page - STMicroelectronics UPSD3313D-40T6 Datasheet HTML 61Page - STMicroelectronics UPSD3313D-40T6 Datasheet HTML 62Page - STMicroelectronics UPSD3313D-40T6 Datasheet HTML 63Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 231 page
background image
59/231
uPSD33xx
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 16., page 55.
Port 3 uses the SFR, P3SFS (Table
28., page 60).
Port 1 uses SFRs, P1SFS0 (Table
29., page 60) and P1SFS1 (Table
30., page 60).
Port 4 uses SFRs, P4SFS0 (Table
32., page 61) and P4SFS1 (Table
33., page 61).
Since these SFRs are cleared by a reset, then by
default all port pins function as GPIO (not the alter-
nate function) until firmware initializes these SFRs.
Each pin on each of the three ports can be inde-
pendently 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 17., page 56 through Figure 19., page 57.
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 di-
rectly to the ADC unit. Only Port 1 supports analog
functions (Figure 17., page 56). Port 1 is not 5V
tolerant.
If the alternate function is I2C, the related pins will
be in open drain mode, which is just like quasi-bi-
directional mode but the high-side driver is not en-
abled 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 18., page 56). I2C re-
quires 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 re-
lated 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 19., page 57). 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
129., page 207).
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



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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