Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PSD835G2 Datasheet(PDF) 64 Page - STMicroelectronics

Part # PSD835G2
Description  Flash PSD, 5V Supply, for 8-bit MCUs 4 Mbit 256 Kbit Dual Flash Memories and 64 Kbit SRAM
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PSD835G2 Datasheet(HTML) 64 Page - STMicroelectronics

Back Button PSD835G2 Datasheet HTML 60Page - STMicroelectronics PSD835G2 Datasheet HTML 61Page - STMicroelectronics PSD835G2 Datasheet HTML 62Page - STMicroelectronics PSD835G2 Datasheet HTML 63Page - STMicroelectronics PSD835G2 Datasheet HTML 64Page - STMicroelectronics PSD835G2 Datasheet HTML 65Page - STMicroelectronics PSD835G2 Datasheet HTML 66Page - STMicroelectronics PSD835G2 Datasheet HTML 67Page - STMicroelectronics PSD835G2 Datasheet HTML 68Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 64 / 102 page
background image
PSD835G2
64/102
JTAG In-System Programming (ISP)
Port E is JTAG compliant, and can be used for In-
System Programming (ISP). You can multiplex
JTAG operations with other functions on Port E
because In-System Programming (ISP) is not per-
formed in normal Operating mode. For more infor-
mation on the JTAG Port, see PROGRAMMING
IN-CIRCUIT
USING
THE
JTAG/ISP
INTERFACE, page 76.
Port Configuration Registers (PCR)
Each Port has a set of Port Configuration Regis-
ters (PCR) used for configuration. The contents of
the registers can be accessed by the MCU through
normal READ/WRITE bus cycles at the addresses
given in Table 5., page 19. The addresses in Ta-
ble 5 are the offsets in hexadecimal from the base
of the CSIOP register.
The pins of a port are individually configurable and
each bit in the register controls its respective pin.
For example, Bit 0 in a register refers to Bit 0 of its
port. The three Port Configuration Registers
(PCR), shown in Table 38, are used for setting the
Port configurations. The default Power-up state for
each register in Table 38 is 00h.
Control Register
Any bit reset to ’0’ in the Control Register sets the
corresponding port pin to MCU I/O Mode, and a ’1’
sets it to Address Out Mode. The default mode is
MCU I/O. Only Ports E, F and G have an associat-
ed Control Register.
Direction Register
The Direction Register, in conjunction with the out-
put enable (except for Port D), controls the direc-
tion of data flow in the I/O Ports. Any bit set to ’1’
in the Direction Register causes the correspond-
ing pin to be an output, and any bit set to ’0’ causes
it to be an input. The default mode for all port pins
is input.
Figure 28., page 66 and Figure 29., page 67 show
the Port Architecture diagrams for Ports A/B/C and
E/F/G, respectively. The direction of data flow for
Ports A, B, C and F are controlled not only by the
direction register, but also by the output enable
product term from the PLD AND Array. If the out-
put enable product term is not active, the Direction
Register has sole control of a given pin’s direction.
An example of a configuration for a Port with the
three least significant bits set to output and the re-
mainder set to input is shown in Table 41. Since
Port D only contains four pins (shown in Figure
29., page 67), the Direction Register for Port D
has only the four least significant bits active.
Drive Select Register
The Drive Select Register configures the pin driver
as Open Drain or CMOS for some port pins, and
controls the slew rate for the other port pins. An
external pull-up resistor should be used for pins
configured as Open Drain.
A pin can be configured as Open Drain if its corre-
sponding bit in the Drive Select Register is set to a
'1.' The default pin drive is CMOS.
Note that the slew rate is a measurement of the
rise and fall times of an output. A higher slew rate
means a faster output response and may create
more electrical noise. A pin operates at a high slew
rate when the corresponding bit in the Drive Reg-
ister is set to '1.' The default rate is slow slew.
Table 42., page 65 shows the Drive Register for
Ports A, B, C, D, E and F. It summarizes which
pins can be configured as Open Drain outputs and
which pins the slew rate can be set for.
Table 38. Port Configuration Registers (PCR)
Note: 1. See Table 42., page 65 for Drive Register bit definition.
Table 39. Port Pin Direction Control, Output
Enable P.T. Not Defined
Table 40. Port Pin Direction Control, Output
Enable P.T. Defined
Table 41. Port Direction Assignment Example
Register Name
Port
MCU Access
Control
E, F, G
WRITE/READ
Direction
A,B,C,D, E, F, G
WRITE/READ
Drive Select1
A,B,C,D, E, F, G
WRITE/READ
Direction Register Bit
Port Pin Mode
0
Input
1
Output
Direction
Register Bit
Output Enable
P.T.
Port Pin Mode
0
0
Input
0
1
Output
1
0
Output
1
1
Output
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
0
0
0
0
1
1
1



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