Psd813f2v (Isp)
Psd813f2v (Isp)
PSD853F2V, PSD854F2V
Flash In-System Programmable (ISP)
Peripherals for 8-bit MCUs, 3V
PRELIMINARY DATA
FEATURES SUMMARY
■ FLASH IN-SYSTEM PROGRAMMABLE (ISP) Figure 1. Packages
PERIPHERAL FOR 8-BIT MCUS
■ DUAL BANK FLASH MEMORIES
– UP TO 2 Mbit OF PRIMARY FLASH
MEMORY (8 Uniform Sectors, 32K x8)
– UP TO 256 Kbit SECONDARY FLASH
MEMORY (4 Uniform Sectors)
– Concurrent operation: READ from one PQFP52 (M)
memory while erasing and writing the
other
■ UP TO 256 Kbit BATTERY-BACKED SRAM
■ 27 RECONFIGURABLE I/O PORTS
■ ENHANCED JTAG SERIAL PORT
■ PLD WITH MACROCELLS
– Over 3000 Gates of PLD: CPLD and
DPLD
– CPLD with 16 Output Macrocells (OMCs)
and 24 Input Macrocells (IMCs)
– DPLD - user defined internal chip select PLCC52 (J)
decoding
■ 27 INDIVIDUALLY CONFIGURABLE I/O
PORT PINS
The can be used for the following functions:
– MCU I/Os
– PLD I/Os
– Latched MCU address output
– Special function I/Os.
– 16 of the I/O ports may be configured as TQFP64 (U)
open-drain outputs.
■ IN-SYSTEM PROGRAMMING (ISP) WITH
JTAG
– Built-in JTAG compliant serial port allows
full-chip In-System Programmability
– Efficient manufacturing allow easy
product testing and programming ■ HIGH ENDURANCE:
– Use low cost FlashLINK cable with PC – 100,000 Erase/WRITE Cycles of Flash
■ PAGE REGISTER Memory
– Internal page register that can be used to – 1,000 Erase/WRITE Cycles of PLD
expand the microcontroller address space – 15 Year Data Retention
by a factor of 256 ■ 3.3V±10% SINGLE SUPPLY VOLTAGE
■ PROGRAMMABLE POWER MANAGEMENT ■ STANDBY CURRENT AS LOW AS 25µA
TABLE OF CONTENTS
FEATURES SUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SUMMARY DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
PIN DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
DEVELOPMENT SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
DETAILED OPERATION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Memory Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Primary Flash Memory and Secondary Flash memory Description . . . . . . . . . . . . . . . . . . . . . 20
Memory Block Select Signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
INSTRUCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Power-up Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Read Memory Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Read Primary Flash Identifier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Read Memory Sector Protection Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Reading the Erase/Program Status Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Data Polling Flag (DQ7). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Toggle Flag (DQ6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Error Flag (DQ5). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Erase Time-out Flag (DQ3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
SPECIFIC FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Flash Memory Sector Protect. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Reset Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Reset (RESET) Signal (on the PSD83xF2 and PSD85xF2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
PAGE REGISTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
PLDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
The Turbo Bit in PSD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Decode PLD (DPLD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Complex PLD (CPLD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Output Macrocell (OMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Product Term Allocator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Loading and Reading the Output Macrocells (OMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
The OMC Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
The Output Enable of the OMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Input Macrocells (IMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
I/O PORTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
General Port Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Port Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
MCU I/O Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
PLD I/O Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Address Out Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Address In Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
POWER MANAGEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Automatic Power-down (APD) Unit and Power-down Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
For Users of the HC11 (or compatible) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Other Power Saving Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
PLD Power Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
PSD Chip Select Input (CSI, PD2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Input Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Input Control Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
AC/DC PARAMETERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
MAXIMUM RATING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
DC AND AC PARAMETERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
4/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
5/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
SUMMARY DESCRIPTION
The PSD8XXFX family of memory systems for mi- The innovative PSD8XXFX family solves key
crocontrollers (MCUs) brings In-System-Program- problems faced by designers when managing dis-
mability (ISP) to Flash memory and programmable crete Flash memory devices, such as:
logic. The result is a simple and flexible solution for – First-time In-System Programming (ISP)
embedded designs. PSD devices combine many
of the peripheral functions found in MCU based – Complex address decoding
applications. – Simultaneous read and write to the device.
Table 1 summarizes all the devices in the The JTAG Serial Interface block allows In-System
PSD834F2, PSD853F2, PSD854F2. Programming (ISP), and eliminates the need for
The CPLD in the PSD devices features an opti- an external Boot EPROM, or an external program-
mized macrocell logic architecture. The PSD mac- mer. To simplify Flash memory updates, program
execution is performed from a secondary Flash
rocell was created to address the unique
memory while the primary Flash memory is being
requirements of embedded system designs. It al-
lows direct connection between the system ad- updated. This solution avoids the complicated
hardware and software overhead necessary to im-
dress/data bus, and the internal PSD registers, to
plement IAP.
simplify communication between the MCU and
other supporting devices. ST makes available a software development tool,
The PSD device includes a JTAG Serial Program- PSDsoft Express, that generates ANSI-C compli-
ming interface, to allow In-System Programming ant code for use with your target MCU. This code
allows you to manipulate the non-volatile memory
(ISP) of the entire device. This feature reduces de-
(NVM) within the PSD. Code examples are also
velopment time, simplifies the manufacturing flow,
and dramatically lowers the cost of field upgrades. provided for:
Using ST’s special Fast-JTAG programming, a de- – Flash memory IAP via the UART of the host
sign can be rapidly programmed into the PSD in as MCU
little as seven seconds. – Memory paging to execute code across
several PSD memory pages
– Loading, reading, and manipulation of PSD
macrocells by the MCU.
6/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
40 CNTLO
41 RESET
43 CNTL1
42 CNTL2
46 GND
52 PB0
51 PB1
50 PB2
49 PB3
48 PB4
47 PB5
45 PB6
44 PB7
PD2 1 39 AD15
PD1 2 38 AD14
PD0 3 37 AD13
PC7 4 36 AD12
PC6 5 35 AD11
PC5 6 34 AD10
PC4 7 33 AD9
VCC 8 32 AD8
GND 9 31 VCC
PC3 10 30 AD7
PC2 11 29 AD6
PC1 12 28 AD5
PC0 13 27 AD4
PA7 14
PA6 15
PA5 16
PA4 17
PA3 18
GND 19
PA2 20
PA1 21
PA0 22
AD0 23
AD1 24
AD2 25
AD3 26
AI02858
7/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
RESET
CNTL2
CNTL0
CNTL1
PB0
PB1
PB2
PB3
PB4
PB5
GND
PB6
PB7
4
7
3
2
52
51
50
49
48
47
6
1
PD2 8 46 AD15
PD1 9 45 AD14
PD0 10 44 AD13
PC7 11 43 AD12
PC6 12 42 AD11
PC5 13 41 AD10
PC4 14 40 AD9
VCC 15 39 AD8
GND 16 38 VCC
PC3 17 37 AD7
PC2 18 36 AD6
PC1 19 35 AD5
PC0 20 32 34 AD4
21
22
23
24
25
26
27
28
29
31
33
30
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
AD2
AD1
AD3
AD0
GND
AI02857
8/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
50 RESET
52 CNTL1
51 CNTL2
56 GND
55 GND
62 PB0
61 PB1
60 PB2
59 PB3
58 PB4
57 PB5
54 PB6
53 PB7
64 NC
63 NC
49 NC
PD2 1 48 CNTL0
PD1 2 47 AD15
PD0 3 46 AD14
PC7 4 45 AD13
PC6 5 44 AD12
PC5 6 43 AD11
VCC 7 42 AD10
VCC 8 41 AD9
VCC 9 40 AD8
GND 10 39 VCC
GND 11 38 VCC
PC3 12 37 AD7
PC2 13 36 AD6
PC1 14 35 AD5
PC0 15 34 AD4
NC 16 33 AD3
NC 17
NC 18
PA7 19
PA6 20
PA5 21
PA4 22
PA3 23
GND 24
GND 25
PA2 26
PA1 27
PA0 28
AD0 29
AD1 30
ND 31
AD2 32
AI09645
9/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
PIN DESCRIPTION
If your MCU does not have a multiplexed address/data bus, or you are using an 80C251
ADIO0-7 30-37 I/O in page mode, connect A0-A7 to this port.
If you are using an 80C51XA in burst mode, connect A4/D0 through A11/D7 to this port.
ALE or AS latches the address. The PSD drives data out only if the READ signal is active
and one of the PSD functional blocks was selected. The addresses on this port are
passed to the PLDs.
This is the upper Address/Data port. Connect your MCU address or address/data bus
according to the following rules:
If your MCU has a multiplexed address/data bus where the data is multiplexed with the
lower address bits, connect A8-A15 to this port.
If your MCU does not have a multiplexed address/data bus, connect A8-A15 to this port.
ADIO8-15 39-46 I/O If you are using an 80C251 in page mode, connect AD8-AD15 to this port.
If you are using an 80C51XA in burst mode, connect A12/D8 through A19/D15 to this
port.
ALE or AS latches the address. The PSD drives data out only if the READ signal is active
and one of the PSD functional blocks was selected. The addresses on this port are
passed to the PLDs.
The following control signals can be connected to this port, based on your MCU:
WR – active Low Write Strobe input.
This port is connected to the PLDs. Therefore, these signals can be used in decode and
other logic equations.
The following control signals can be connected to this port, based on your MCU:
RD – active Low Read Strobe input.
E – E clock input.
This port is connected to the PLDs. Therefore, these signals can be used in decode and
other logic equations.
This port can be used to input the PSEN (Program Select Enable) signal from any MCU
that uses this signal for code exclusively. If your MCU does not output a Program Select
CNTL2 49 I
Enable signal, this port can be used as a generic input. This port is connected to the
PLDs.
10/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Note: PA0-PA3 can only output CMOS signals with an option for high slew rate. However,
PA4-PA7 can be configured as CMOS or Open Drain Outputs.
These pins make up Port B. These port pins are configurable and can have the following
functions:
PB0 7 MCU I/O – write to or read from a standard output or input port.
PB1 6
PB2 5 CPLD macrocell (McellAB0-7 or McellBC0-7) outputs.
PB3 4
I/O
PB4 3 Inputs to the PLDs.
PB5 2
PB6 52 Latched address outputs (see Table 6).
PB7 51
Note: PB0-PB3 can only output CMOS signals with an option for high slew rate.
However, PB4-PB7 can be configured as CMOS or Open Drain Outputs.
PC0 pin of Port C. This port pin can be configured to have the following functions:
MCU I/O – write to or read from a standard output or input port.
11/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Battery-on Indicator (VBATON). Goes High when power is being drawn from the external
battery.
12/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
DBE – active Low Data Byte Enable input from 68HC912 type MCUs.
CLKIN – clock input to the CPLD macrocells, the APD Unit’s Power-down counter, and
the CPLD AND Array.
PD2 pin of Port D. This port pin can be configured to have the following functions:
MCU I/O - write to or read from a standard output or input port.
PSD Chip Select Input (CSI). When Low, the MCU can access the PSD memory and I/O.
When High, the PSD memory blocks are disabled to conserve power.
VCC 15, 38 Supply Voltage
1, 16,
GND Ground pins
26
Note: 1. The pin numbers in this table are for the PLCC package only. See the package information from Table 74., page 102 onwards, for
pin numbers on other package types.
2. These functions can be multiplexed with other functions.
13/110
14/110
ADDRESS/DATA/CONTROL BUS
PLD
INPUT
BUS 1 OR 2 MBIT PRIMARY
PAGE
REGISTER FLASH MEMORY
EMBEDDED
ALGORITHM 8 SECTORS
8
POWER
MANGMT VSTDBY
Figure 5. PSD Block Diagram
PORT
24 INPUT MACROCELLS B
CLKIN PORT A ,B & C
PROG.
PORT PC0 – PC7
PROG.
PORT PD0 – PD2
PLD, CONFIGURATION JTAG
CLKIN SERIAL PORT
& FLASH MEMORY
(PD1) D
LOADER CHANNEL
AI02861E
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
15/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
JTAG Port
In-System Programming (ISP) can be performed MCU inactivity. The APD Unit has a Power-down
through the JTAG signals on Port C. This serial in- mode that helps reduce power consumption.
terface allows complete programming of the entire The PSD also has some bits that are configured at
PSD device. A blank device can be completely run-time by the MCU to reduce power consump-
programmed. The JTAG signals (TMS, TCK, tion of the CPLD. The Turbo Bit in PMMR0 can be
TSTAT, TERR, TDI, TDO) can be multiplexed with reset to '0' and the CPLD latches its outputs and
other functions on Port C. Table 4 indicates the goes to sleep until the next transition on its inputs.
JTAG pin assignments.
Additionally, bits in PMMR2 can be set by the
In-System Programming (ISP) MCU to block signals from entering the CPLD to
Using the JTAG signals on Port C, the entire PSD reduce power consumption. Please see the sec-
device can be programmed or erased without the tion entitled POWER MANAGEMENT, page 62 for
use of the MCU. The primary Flash memory can more details.
also be programmed in-system by the MCU exe-
cuting the programming algorithms out of the sec- Table 4. JTAG SIgnals on Port C
ondary memory, or SRAM. The secondary
memory can be programmed the same way by ex- Port C Pins JTAG Signal
ecuting out of the primary Flash memory. The PLD PC0 TMS
or other PSD Configuration blocks can be pro-
grammed through the JTAG port or a device pro- PC1 TCK
grammer. Table 5 indicates which programming
methods can program different functional blocks PC3 TSTAT
of the PSD. PC4 TERR
Power Management Unit (PMU)
PC5 TDI
The Power Management Unit (PMU) gives the
user control of the power consumption on selected PC6 TDO
functional blocks based on system requirements.
The PMU includes an Automatic Power-down
(APD) Unit that turns off device functions during
16/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
DEVELOPMENT SYSTEM
The PSD8XXFX family is supported by PSDsoft PSDsoft Express directly supports two low cost
Express, a Windows-based software development device programmers form ST: PSDpro and
tool. A PSD design is quickly and easily produced FlashLINK (JTAG). Both of these programmers
in a point and click environment. The designer may be purchased through your local distributor/
does not need to enter Hardware Description Lan- representative, or directly from our web site using
guage (HDL) equations, unless desired, to define a credit card. The PSD is also supported by third
PSD pin functions and memory map information. party device programmers. See our web site for
The general design flow is shown in Figure 6. PS- the current list.
Dsoft Express is available from our web site (the
address is given on the back page of this data
sheet) or other distribution channels.
PSDabel
PLD DESCRIPTION
MODIFY ABEL TEMPLATE FILE
OR GENERATE NEW FILE
PSD Fitter
LOGIC SYNTHESIS USER'S CHOICE OF
FIRMWARE
AND FITTING MICROCONTROLLER
HEX OR S-RECORD COMPILER/LINKER
ADDRESS TRANSLATION FORMAT
AND MEMORY MAPPING
*.OBJ FILE
AI04918
17/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
18/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
DETAILED OPERATION
As shown in Figure 5., page 14, the PSD consists Memory Blocks
of six major types of functional blocks: The PSD has the following memory blocks:
■ Memory Blocks – Primary Flash memory
■ PLD Blocks – Optional Secondary Flash memory
■ MCU Bus Interface – Optional SRAM
■ I/O Ports The Memory Select signals for these blocks origi-
■ Power Management Unit (PMU) nate from the Decode PLD (DPLD) and are user-
■ JTAG Interface defined in PSDsoft Express.
The functions of each block are described in the
following sections. Many of the blocks perform
multiple functions, and are user configurable.
19/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Primary Flash Memory and Secondary Flash Memory Operation. The primary Flash memory
memory Description and secondary Flash memory are addressed
The primary Flash memory is divided evenly into through the MCU Bus Interface. The MCU can ac-
eight equal sectors. The secondary Flash memory cess these memories in one of two ways:
is divided into four equal sectors. Each sector of – The MCU can execute a typical bus WRITE or
either memory block can be separately protected READ operation just as it would if accessing a
from Program and Erase cycles. RAM or ROM device using standard bus
Flash memory may be erased on a sector-by-sec- cycles.
tor basis. Flash sector erasure may be suspended – The MCU can execute a specific instruction
while data is read from other sectors of the block that consists of several WRITE and READ
and then resumed after reading. operations. This involves writing specific data
During a Program or Erase cycle in Flash memory, patterns to special addresses within the Flash
the status can be output on Ready/Busy (PC3). memory to invoke an embedded algorithm.
This pin is set up using PSDsoft Express Configu- These instructions are summarized in Table
ration. 9., page 21.
Memory Block Select Signals Typically, the MCU can read Flash memory using
READ operations, just as it would read a ROM de-
The DPLD generates the Select signals for all the vice. However, Flash memory can only be altered
internal memory blocks (see the section entitled
using specific Erase and Program instructions. For
PLDS, page 33). Each of the eight sectors of the
example, the MCU cannot write a single byte di-
primary Flash memory has a Select signal (FS0-
rectly to Flash memory as it would write a byte to
FS7) which can contain up to three product terms. RAM. To program a byte into Flash memory, the
Each of the four sectors of the secondary Flash
MCU must execute a Program instruction, then
memory has a Select signal (CSBOOT0-
test the status of the Program cycle. This status
CSBOOT3) which can contain up to three product test is achieved by a READ operation or polling
terms. Having three product terms for each Select Ready/Busy (PC3).
signal allows a given sector to be mapped in differ-
ent areas of system memory. When using a MCU Flash memory can also be read by using special
with separate Program and Data space, these instructions to retrieve particular Flash device in-
flexible Select signals allow dynamic re-mapping formation (sector protect status and ID).
of sectors from one memory space to the other.
Ready/Busy (PC3). This signal can be used to
output the Ready/Busy status of the PSD. The out-
put on Ready/Busy (PC3) is a 0 (Busy) when Flash
memory is being written to, or when Flash memory
is being erased. The output is a 1 (Ready) when
no WRITE or Erase cycle is in progress.
20/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 9. Instructions
FS0-FS7 or
Instruction CSBOOT0- Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 Cycle 6 Cycle 7
CSBOOT3
“READ”
READ5 1
RD @ RA
Read Main AAh@ 55h@ 90h@ Read identifier
1
Flash ID6 X555h XAAAh X555h (A6,A1,A0 = 0,0,1)
Read Sector AAh@ 55h@ 90h@ Read identifier
1
Protection6,8,13 X555h XAAAh X555h (A6,A1,A0 = 0,1,0)
Program a AAh@ 55h@ A0h@
1 PD@ PA
Flash Byte13 X555h XAAAh X555h
Flash Sector AAh@ 55h@ 80h@ 55h@ 30h@ 30h7@
1 AAh@ X555h
Erase7,13 X555h XAAAh X555h XAAAh SA next SA
Flash Bulk AAh@ 55h@ 80h@ 55h@ 10h@
1 AAh@ X555h
Erase13 X555h XAAAh X555h XAAAh X555h
Suspend B0h@
1
Sector Erase11 XXXXh
Resume 30h@
1
Sector Erase12 XXXXh
F0h@
Reset6 1
XXXXh
AAh@ 55h@ 20h@
Unlock Bypass 1
X555h XAAAh X555h
Unlock Bypass A0h@
1 PD@ PA
Program9 XXXXh
Unlock Bypass 90h@ 00h@
1
Reset10 XXXXh XXXXh
Note: 1. All bus cycles are WRITE bus cycles, except the ones with the “READ” label
2. All values are in hexadecimal:
X = Don’t Care. Addresses of the form XXXXh, in this table, must be even addresses
RA = Address of the memory location to be read
RD = Data read from location RA during the READ cycle
PA = Address of the memory location to be programmed. Addresses are latched on the falling edge of Write Strobe (WR, CNTL0).
PA is an even address for PSD in word programming mode.
PD = Data word to be programmed at location PA. Data is latched on the rising edge of Write Strobe (WR, CNTL0)
SA = Address of the sector to be erased or verified. The Sector Select (FS0-FS7 or CSBOOT0-CSBOOT3) of the sector to be
erased, or verified, must be Active (High).
3. Sector Select (FS0 to FS7 or CSBOOT0 to CSBOOT3) signals are active High, and are defined in PSDsoft Express.
4. Only address bits A11-A0 are used in instruction decoding.
5. No Unlock or instruction cycles are required when the device is in the READ Mode
6. The Reset instruction is required to return to the READ Mode after reading the Flash ID, or after reading the Sector Protection Sta-
tus, or if the Error Flag Bit (DQ5/DQ13) goes High.
7. Additional sectors to be erased must be written at the end of the Sector Erase instruction within 80µs.
8. The data is 00h for an unprotected sector, and 01h for a protected sector. In the fourth cycle, the Sector Select is active, and
(A1,A0)=(1,0)
9. The Unlock Bypass instruction is required prior to the Unlock Bypass Program instruction.
10. The Unlock Bypass Reset Flash instruction is required to return to reading memory data when the device is in the Unlock Bypass
mode.
11. The system may perform READ and Program cycles in non-erasing sectors, read the Flash ID or read the Sector Protection Status
when in the Suspend Sector Erase mode. The Suspend Sector Erase instruction is valid only during a Sector Erase cycle.
12. The Resume Sector Erase instruction is valid only during the Suspend Sector Erase mode.
13. The MCU cannot invoke these instructions while executing code from the same Flash memory as that for which the instruction is
intended. The MCU must fetch, for example, the code from the secondary Flash memory when reading the Sector Protection Status
of the primary Flash memory.
21/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
INSTRUCTIONS
An instruction consists of a sequence of specific for maximum security of the data contents and to
operations. Each received byte is sequentially de- remove the possibility of a byte being written on
coded by the PSD and not executed as a standard the first edge of Write Strobe (WR, CNTL0). Any
WRITE operation. The instruction is executed WRITE cycle initiation is locked when VCC is be-
when the correct number of bytes are properly re- low VLKO.
ceived and the time between two consecutive READ
bytes is shorter than the time-out period. Some in-
Under typical conditions, the MCU may read the
structions are structured to include READ opera-
tions after the initial WRITE operations. primary Flash memory or the secondary Flash
memory using READ operations just as it would a
The instruction must be followed exactly. Any in- ROM or RAM device. Alternately, the MCU may
valid combination of instruction bytes or time-out use READ operations to obtain status information
between two consecutive bytes while addressing about a Program or Erase cycle that is currently in
Flash memory resets the device logic into READ progress. Lastly, the MCU may use instructions to
Mode (Flash memory is read like a ROM device). read special data from these memory blocks. The
The PSD supports the instructions summarized in following sections describe these READ functions.
Table 9., page 21: Read Memory Contents
Flash memory: Primary Flash memory and secondary Flash
■ Erase memory by chip or sector memory are placed in the READ Mode after Pow-
■ Suspend or resume sector erase er-up, chip reset, or a Reset Flash instruction (see
Table 9., page 21). The MCU can read the memo-
■ Program a Byte
ry contents of the primary Flash memory or the
■ Reset to READ Mode secondary Flash memory by using READ opera-
■ Read primary Flash Identifier value tions any time the READ operation is not part of an
■ Read Sector Protection Status instruction.
■ Bypass (on the PSD833F2, PSD834F2, Read Primary Flash Identifier
PSD853F2 and PSD854F2) The primary Flash memory identifier is read with
These instructions are detailed in Table an instruction composed of 4 operations: 3 specific
9., page 21. For efficient decoding of the instruc- WRITE operations and a READ operation (see Ta-
tions, the first two bytes of an instruction are the ble 9., page 21). During the READ operation, ad-
coded cycles and are followed by an instruction dress bits A6, A1, and A0 must be '0,0,1,'
byte or confirmation byte. The coded cycles con- respectively, and the appropriate Sector Select
sist of writing the data AAh to address X555h dur- (FS0-FS7) must be High. The identifier for the
ing the first cycle and data 55h to address XAAAh PSD813F2/3/4/5 is E4h, and for the PSD83xF2 or
during the second cycle. Address signals A15-A12 PSD85xF2 it is E7h.
are Don’t Care during the instruction WRITE cy- Read Memory Sector Protection Status
cles. However, the appropriate Sector Select The primary Flash memory Sector Protection Sta-
(FS0-FS7 or CSBOOT0-CSBOOT3) must be se- tus is read with an instruction composed of 4 oper-
lected. ations: 3 specific WRITE operations and a READ
The primary and secondary Flash memories have operation (see Table 9., page 21). During the
the same instruction set (except for Read Primary READ operation, address Bits A6, A1, and A0
Flash Identifier). The Sector Select signals deter- must be '0,1,0,' respectively, while Sector Select
mine which Flash memory is to receive and exe- (FS0-FS7 or CSBOOT0-CSBOOT3) designates
cute the instruction. The primary Flash memory is the Flash memory sector whose protection has to
selected if any one of Sector Select (FS0-FS7) is be verified. The READ operation produces 01h if
High, and the secondary Flash memory is selected the Flash memory sector is protected, or 00h if the
if any one of Sector Select (CSBOOT0- sector is not protected.
CSBOOT3) is High. The sector protection status for all NVM blocks
Power-up Mode (primary Flash memory or secondary Flash mem-
The PSD internal logic is reset upon Power-up to ory) can also be read by the MCU accessing the
the READ Mode. Sector Select (FS0-FS7 and Flash Protection registers in PSD I/O space. See
CSBOOT0-CSBOOT3) must be held Low, and the section entitled Flash Memory Sector
Write Strobe (WR, CNTL0) High, during Power-up Protect, page 28 for register definitions.
22/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
23/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
24/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
25/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Data Toggle
Checking the Toggle Flag Bit (DQ6) is a method of The Flash memory then enters the Unlock Bypass
determining whether a Program or Erase cycle is mode. A two-cycle Unlock Bypass Program in-
in progress or has completed. Figure 8 shows the struction is all that is required to program in this
Data Toggle algorithm. mode. The first cycle in this instruction contains
When the MCU issues a Program instruction, the the Unlock Bypass Program code, A0h. The sec-
embedded algorithm within the PSD begins. The ond cycle contains the program address and data.
MCU then reads the location of the byte to be pro- Additional data is programmed in the same man-
grammed in Flash memory to check status. The ner. These instructions dispense with the initial
Toggle Flag Bit (DQ6) of this location toggles each two Unlock cycles required in the standard Pro-
time the MCU reads this location until the embed- gram instruction, resulting in faster total Flash
ded algorithm is complete. The MCU continues to memory programming.
read this location, checking the Toggle Flag Bit During the Unlock Bypass mode, only the Unlock
(DQ6) and monitoring the Error Flag Bit (DQ5). Bypass Program and Unlock Bypass Reset Flash
When the Toggle Flag Bit (DQ6) stops toggling instructions are valid.
(two consecutive reads yield the same value), and To exit the Unlock Bypass mode, the system must
the Error Flag Bit (DQ5) remains ’0,’ the embed- issue the two-cycle Unlock Bypass Reset Flash in-
ded algorithm is complete. If the Error Flag Bit struction. The first cycle must contain the data
(DQ5) is '1,' the MCU should test the Toggle Flag 90h; the second cycle the data 00h. Addresses are
Bit (DQ6) again, since the Toggle Flag Bit (DQ6) Don’t Care for both cycles. The Flash memory
may have changed simultaneously with the Error then returns to READ Mode.
Flag Bit (DQ5, see Figure 8).
The Error Flag Bit (DQ5) is set if either an internal Figure 8. Data Toggle Flowchart
time-out occurred while the embedded algorithm
attempted to program the byte, or if the MCU at-
START
tempted to program a '1' to a bit that was not
erased (not erased is logic '0').
It is suggested (as with all Flash memories) to read READ
the location again after the embedded program- DQ5 & DQ6
ming algorithm has completed, to compare the
byte that was written to Flash memory with the
byte that was intended to be written. DQ6
= NO
When using the Data Toggle method after an TOGGLE
Erase cycle, Figure 8 still applies. the Toggle Flag YES
Bit (DQ6) toggles until the Erase cycle is complete.
A '1' on the Error Flag Bit (DQ5) indicates a time-
out condition on the Erase cycle; a '0' indicates no NO DQ5
error. The MCU can read any location within the =1
sector being erased to get the Toggle Flag Bit YES
(DQ6) and the Error Flag Bit (DQ5).
PSDsoft Express generates ANSI C code func- READ DQ6
tions which implement these Data Toggling algo-
rithms.
DQ6 NO
Unlock Bypass (PSD833F2x, PSD834F2x, =
TOGGLE
PSD853F2x, PSD854F2x)
YES
The Unlock Bypass instructions allow the system
to program bytes to the Flash memories faster FAIL PASS
than using the standard Program instruction. The
Unlock Bypass mode is entered by first initiating
two Unlock cycles. This is followed by a third AI01370B
26/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
27/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
SPECIFIC FEATURES
Flash Memory Sector Protect
Each primary and secondary Flash memory sector On the PSD813F2/3/4/5, the Reset Flash instruc-
can be separately protected against Program and tion puts the Flash memory back into normal
Erase cycles. Sector Protection provides addition- READ Mode. It may take the Flash memory up to
al data security because it disables all Program or a few milliseconds to complete the Reset cycle.
Erase cycles. This mode can be activated through The Reset Flash instruction is ignored when it is is-
the JTAG Port or a Device Programmer. sued during a Program or Bulk Erase cycle of the
Sector protection can be selected for each sector Flash memory. The Reset Flash instruction aborts
using the PSDsoft Express Configuration pro- any on-going Sector Erase cycle, and returns the
gram. This automatically protects selected sectors Flash memory to the normal READ Mode within a
when the device is programmed through the JTAG few milliseconds.
Port or a Device Programmer. Flash memory sec- On the PSD83xF2 or PSD85xF2, the Reset Flash
tors can be unprotected to allow updating of their instruction puts the Flash memory back into nor-
contents using the JTAG Port or a Device Pro- mal READ Mode. If an Error condition has oc-
grammer. The MCU can read (but cannot change) curred (and the device has set the Error Flag Bit
the sector protection bits. (DQ5) to '1') the Flash memory is put back into nor-
Any attempt to program or erase a protected Flash mal READ Mode within 25µs of the Reset Flash in-
memory sector is ignored by the device. The Verify struction having been issued. The Reset Flash
operation results in a READ of the protected data. instruction is ignored when it is issued during a
This allows a guarantee of the retention of the Pro- Program or Bulk Erase cycle of the Flash memory.
tection status. The Reset Flash instruction aborts any on-going
Sector Erase cycle, and returns the Flash memory
The sector protection status can be read by the
to the normal READ Mode within 25µs.
MCU through the Flash memory protection and
PSD/EE protection registers (in the CSIOP block). Reset (RESET) Signal (on the PSD83xF2 and
See Tables 11 and 12. PSD85xF2)
Reset Flash A pulse on Reset (RESET) aborts any cycle that is
in progress, and resets the Flash memory to the
The Reset Flash instruction consists of one
READ Mode. When the reset occurs during a Pro-
WRITE cycle (see Table 9., page 21). It can also
gram or Erase cycle, the Flash memory takes up
be optionally preceded by the standard two to 25µs to return to the READ Mode. It is recom-
WRITE decoding cycles (writing AAh to 555h and
mended that the Reset (RESET) pulse (except for
55h to AAAh). It must be executed after:
Power On Reset, as described on RESET TIMING
– Reading the Flash Protection Status or Flash AND DEVICE STATUS AT RESET, page 67) be
ID at least 25µs so that the Flash memory is always
– An Error condition has occurred (and the ready for the MCU to fetch the bootstrap instruc-
device has set the Error Flag Bit (DQ5) to '1') tions after the Reset cycle is complete.
during a Flash memory Program or Erase
cycle.
28/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
SRAM
The SRAM is enabled when SRAM Select (RS0) PC4 can be configured as an output that indicates
from the DPLD is High. SRAM Select (RS0) can when power is being drawn from the external bat-
contain up to two product terms, allowing flexible tery. Battery-on Indicator (VBATON, PC4) is High
memory mapping. with the supply voltage falls below the battery volt-
The SRAM can be backed up using an external age and the battery on Voltage Stand-by (VSTBY,
battery. The external battery should be connected PC2) is supplying power to the internal SRAM.
to Voltage Stand-by (VSTBY, PC2). If you have an SRAM Select (RS0), Voltage Stand-by (VSTBY,
external battery connected to the PSD, the con- PC2) and Battery-on Indicator (VBATON, PC4)
tents of the SRAM are retained in the event of a are all configured using PSDsoft Express Configu-
power loss. The contents of the SRAM are re- ration.
tained so long as the battery voltage remains at
2 V or greater. If the supply voltage falls below the
battery voltage, an internal power switch-over to
the battery occurs.
29/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
30/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
FS0-FS7
CS CS CS
OE OE OE
PSEN
RD
AI02869C
FS0-FS7
CS CS CS
OE OE OE
VM REG BIT 3
VM REG BIT 4
PSEN
VM REG BIT 1
VM REG BIT 2 RD
VM REG BIT 0
AI02870C
31/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
PAGE REGISTER
The 8-bit Page Register increases the addressing If memory paging is not needed, or if not all 8 page
capability of the MCU by a factor of up to 256. The register bits are needed for memory paging, then
contents of the register can also be read by the these bits may be used in the CPLD for general
MCU. The outputs of the Page Register (PGR0- logic. See Application Note AN1154.
PGR7) are inputs to the DPLD decoder and can be Figure 12 shows the Page Register. The eight flip-
included in the Sector Select (FS0-FS7, flops in the register are connected to the internal
CSBOOT0-CSBOOT3), and SRAM Select (RS0) data bus D0-D7. The MCU can write to or read
equations. from the Page Register. The Page Register can be
accessed at address location CSIOP + E0h.
PGR0 INTERNAL
D0 Q0
PGR1 SELECTS
D1 Q1 AND LOGIC
D0 - D7 PGR2
D2 Q2
PGR3 DPLD
D3 Q3 AND
PGR4 CPLD
D4 Q4
PGR5
D5 Q5
PGR6
D6 Q6
PGR7
R/W D7 Q7
PAGE PLD
REGISTER AI02871B
32/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
PLDS
The PLDs bring programmable logic functionality Additionally, five bits are available in PMMR2 to
to the PSD. After specifying the logic for the PLDs block MCU control signals from entering the PLDs.
using the PSDabel tool in PSDsoft Express, the This reduces power consumption and can be used
logic is programmed into the device and available only when these MCU control signals are not used
upon Power-up. in PLD logic equations.
The PSD contains two PLDs: the Decode PLD Each of the two PLDs has unique characteristics
(DPLD), and the Complex PLD (CPLD). The PLDs suited for its applications. They are described in
are briefly discussed in the next few paragraphs, the following sections.
and in more detail in the section entitled Decode
PLD (DPLD), page 35 and the section entitled Table 14. DPLD and CPLD Inputs
Complex PLD (CPLD), page 36. Figure
13., page 34 shows the configuration of the PLDs. Number
Input Source Input Name of
The DPLD performs address decoding for Select
Signals
signals for internal components, such as memory,
registers, and I/O ports. MCU Address Bus1 A15-A0 16
The CPLD can be used for logic functions, such as
loadable counters and shift registers, state ma- MCU Control Signals CNTL2-CNTL0 3
chines, and encoding and decoding logic. These Reset RST 1
logic functions can be constructed using the 16
Output Macrocells (OMC), 24 Input Macrocells Power-down PDN 1
(IMC), and the AND Array. The CPLD can also be Port A Input
used to generate External Chip Select (ECS0- PA7-PA0 8
Macrocells
ECS2) signals.
The AND Array is used to form product terms. Port B Input
PB7-PB0 8
Macrocells
These product terms are specified using PSDabel.
An Input Bus consisting of 73 signals is connected Port C Input
to the PLDs. The signals are shown in Table 14. PC7-PC0 8
Macrocells
The Turbo Bit in PSD Port D Inputs PD2-PD0 3
The PLDs in the PSD can minimize power con-
sumption by switching off when inputs remain un- Page Register PGR7-PGR0 8
changed for an extended time of about 70ns. Macrocell AB MCELLAB.FB7-
Resetting the Turbo Bit to '0' (Bit 3 of PMMR0) au- 8
Feedback FB0
tomatically places the PLDs into standby if no in-
puts are changing. Turning the Turbo mode off Macrocell BC MCELLBC.FB7-
8
increases propagation delays while reducing pow- Feedback FB0
er consumption. See the section entitled POWER Secondary Flash
MANAGEMENT, page 62 on how to set the Turbo memory Program Ready/Busy 1
Bit. Status Bit
Note: 1. The address inputs are A19-A4 in 80C51XA mode.
33/110
34/110
8
DATA PAGE
BUS REGISTER
Figure 13. PLD Diagram
8
DECODE PLD PRIMARY FLASH MEMORY SELECTS
73
4
SECONDARY NON-VOLATILE MEMORY SELECTS
1
SRAM SELECT
1
CSIOP SELECT
2
PERIPHERAL SELECTS
1
JTAG SELECT
16 OUTPUT MACROCELL FEEDBACK DIRECT MACROCELL ACCESS FROM MCU DATA BUS
MACROCELL TO PORT A OR B 8
MACROCELL
PT ALLOC.
73 ALLOC. MCELLBC
TO PORT B OR C 8
24 INPUT MACROCELL
(PORT A,B,C)
3
I/O PORTS
3 PORT D INPUTS
AI02872C
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
3 CSBOOT 0
3 CSBOOT 1
3 CSBOOT 2
3 CSBOOT 3
(INPUTS) 3
FS0
I /O PORTS (PORT A,B,C) (24)
3
FS1
MCELLAB.FB [7:0] (FEEDBACKS) (8)
3
FS2
MCELLBC.FB [7:0] (FEEDBACKS) (8)
3
FS3 8 PRIMARY FLASH
PGR0 - PGR7 (8)
3 MEMORY SECTOR SELECTS
FS4
A[15:0] * (16)
3
FS5
PD[2:0] (ALE,CLKIN,CSI) (3)
3
FS6
PDN (APD OUTPUT) (1)
3
FS7
CNTRL[2:0] (READ/WRITE CONTROL SIGNALS) (3)
RESET (1)
2 RS0
SRAM SELECT
RD_BSY (1)
1 CSIOP I/O DECODER
SELECT
1 PSEL0
PERIPHERAL I/O MODE
1 PSEL1 SELECT
1 JTAGSEL
AI02873D
35/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
FROM OTHER
MACROCELLS
TO OTHER I/O PORTS
PRODUCT TERMS
MACROCELL CPLD OUTPUT
OUT TO
MCU
POLARITY
MUX
SELECT
PR DI LD
D/T Q SELECT
PT
CLOCK CPLD PDR
D/T/JK FF COMB. OUTPUT INPUT
SELECT /REG
MUX
GLOBAL
PLD INPUT BUS
CLOCK SELECT
CK MACROCELL
TO
CL I/O PORT
CLOCK ALLOC. D Q
SELECT DIR
WR REG.
PT CLEAR
Q D
ALE/AS G
AI02874
36/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
37/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
38/110
MASK
REG.
WR
PT DIRECTION
ALLOCATOR REGISTER
Figure 16. CPLD Output Macrocell
ENABLE (.OE)
PRESET(.PR) COMB/REG
SELECT
PT
PT
DIN PR
AND ARRAY
MUX I/O PIN
LD MACROCELL
PT Q ALLOCATOR
POLARITY
SELECT IN
PORT
DRIVER
CLR
CLKIN MUX
FEEDBACK (.FB)
AI02875B
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
39/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
40/110
INTERNAL DATA BUS D [ 7:0]
Figure 17. Input Macrocell
OUTPUT
PT MACROCELLS BC
AND
MACROCELL AB
I/O PIN
AND ARRAY
PT
PORT
DRIVER
MUX ALE/AS
D FF
FEEDBACK Q D
G
LATCH
INPUT MACROCELL
AI02876B
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
41/110
42/110
PSD
SLAVE– CS
RD
WR
SLAVE–READ
PORT A
DATA OUT SLAVE
REGISTER MCU
CPLD D [ 7:0]
MCU- RD D Q
PORT A
MCU-WR
MCU- WR
MASTER
MCU
SLAVE–WR
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
D [ 7:0]
PORT A
INPUT
MACROCELL
Figure 18. Handshaking Communication Using Input Macrocells
Q D
MCU-RD
AI02877C
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
43/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
MCU PSD
AD [ 7:0] A [ 7: 0]
PORT
A (OPTIONAL)
ADIO
PORT
A[ 15:8]
PORT A [ 15: 8]
B (OPTIONAL)
WR WR (CNTRL0)
RD RD (CNTRL1)
BHE BHE (CNTRL2) PORT
C
RST
PORT D
RESET
AI02878C
44/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
MCU PSD
D [ 7:0] D [ 7:0]
PORT
ADIO A
PORT
A [ 15:0]
PORT A[ 23:16]
B
(OPTIONAL)
WR WR (CNTRL0)
RD RD (CNTRL1)
BHE BHE (CNTRL2) PORT
RST C
PORT D
RESET
AI02879C
45/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
80C31
Figure 21 shows the bus interface for the 80C31, CNTL1), and Write Strobe (WR, CNTL0) may be
which has an 8-bit multiplexed address/data bus. used for accessing the internal memory and I/O
The lower address byte is multiplexed with the Ports blocks. Address Strobe (ALE/AS, PD0)
data bus. The MCU control signals Program Se- latches the address.
lect Enable (PSEN, CNTL2), Read Strobe (RD,
80C31 PSD
AD0 30 29
31 31 ADIO0 PA0
39 AD0 AD1 28
EA/VP P0.0 ADIO1 PA1
38 AD1 AD2 32 27
19 P0.1 ADIO2 PA2
X1 37 AD2 AD3 33 25
P0.2 34 ADIO3 PA3
36 AD3 AD4 24
18 P0.3 ADIO4 PA4
X2 35 AD4 AD5 35 23
P0.4 ADIO5 PA5
34 AD5 AD6 36 22
P0.5 ADIO6 PA6
9 33 AD6 AD7 37 21
RESET RESET P0.6 ADIO7 PA7
32 AD7
P0.7
12
INT0 21 A8 39 7
13 P2.0 ADIO8 PB0
INT1 22 A9 40 6
14 P2.1 ADIO9 PB1
T0 23 A10 41 5
15 P2.2 ADIO10 PB2
T1 24 A11 42
P2.3 ADIO11 4
25 A12 43 PB3
P2.4 ADIO12 3
1 26 A13 44 PB4
P1.0 P2.5 ADIO13 2
2 27 A14 45 PB5
P1.1 P2.6 ADIO14 52
3 28 A15 46 PB6
P1.2 P2.7 ADIO15 51
4 PB7
P1.3 17 RD
5 RD
P1.4
6 16 WR 47 20
P1.5 WR CNTL0 (WR) PC0
7 29 PSEN 50 19
P1.6 PSEN CNTL1(RD) PC1
8 18
P1.7 30 ALE PC2
ALE/P 49 17
11 CNTL2 (PSEN) PC3
TXD 14
PC4
10 10 13
RXD PD0-ALE PC5
12
9 PC6
PD1 11
8 PC7
PD2
RESET 48
RESET RESET
AI02880C
46/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
80C251
The Intel 80C251 MCU features a user-config- The 80C251 has two major operating modes:
urable bus interface with four possible bus config- Page mode and Non-page mode. In Non-page
urations, as shown in Table 18., page 48. mode, the data is multiplexed with the lower ad-
The first configuration is 80C31-compatible, and dress byte, and Address Strobe (ALE/AS, PD0) is
the bus interface to the PSD is identical to that active in every bus cycle. In Page mode, data (D7-
shown in Figure 21., page 46. The second and D0) is multiplexed with address (A15-A8). In a bus
third configurations have the same bus connection cycle where there is a Page hit, Address Strobe
as shown in Figure 22. There is only one Read (ALE/AS, PD0) is not active and only addresses
Strobe (PSEN) connected to CNTL1 on the PSD. (A7-A0) are changing. The PSD supports both
The A16 connection to PA0 allows for a larger ad- modes. In Page Mode, the PSD bus timing is iden-
dress input to the PSD. The fourth configuration is tical to Non-Page Mode except the address hold
shown in Figure 23., page 48. Read Strobe (RD) is time and setup time with respect to Address
connected to CNTL1 and Program Select Enable Strobe (ALE/AS, PD0) is not required. The PSD
(PSEN) is connected to CNTL2. access time is measured from address (A7-A0)
valid to data in valid.
Figure 22. Interfacing the PSD with the 80C251, with One READ Input
80C251SB PSD
2 43 A0 A0 30
P1.0 P0.0 ADIO0 A161
3 42 A1 A1 31 29
P1.1 P0.1 ADIO1 PA0
4 41 A2 A2 32 28
P1.2 P0.2 ADIO2 PA1
5 P0.3
40 A3 A3 33
ADIO3
27 A171
P1.3 A4
PA2
6 39 A4 34 25
P1.4 P0.4 ADIO4 PA3
7 38 A5 A5 35 24
P1.5 P0.5 ADIO5 PA4
8 37 A6 A6 36 23
P1.6 P0.6 ADIO6 PA5
9 36 A7 A7 37 22
P1.7 P0.7 ADIO7 PA6
21
24 AD8
PA7
21 P2.0
X1 25 AD9 AD8 39
P2.1 ADIO8 7
20 26 AD10 AD9 40
X2 P2.2 ADIO9 PB0 6
27 AD11 AD10 41
P2.3 ADIO10 PB1 5
11 28 AD12 AD11 42
P3.0/RXD P2.4 ADIO11 PB2 4
13 29 AD13 AD12 43 PB3
P3.1/TXD P2.5 ADIO12 3
14 30 AD14 AD13 44 PB4
P3.2/INT0 P2.6 ADIO13 2
15 31 AD15 AD14 45 PB5
P2.7 ADIO14 52
P3.3/INT1 AD15 46 PB6
16 ADIO15
P3.4/T0 51
17 PB7
P3.5/T1 33 ALE 47
ALE CNTL0 ( WR)
10 32 RD 50
RESET RST PSEN CNTL1( RD) 20
18 WR PC0
WR 19
35 19 A16 49 PC1
EA RD/A16 CNTL 2(PSEN) 18
PC2
17
PC3
10 14
PD0-ALE PC4
13
9 PC5
PD1 12
8 PC6
PD2 11
PC7
RESET 48
RESET RESET
AI02881C
47/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Figure 23. Interfacing the PSD with the 80C251, with RD and PSEN Inputs
80C251SB PSD
2 43 A0 A0 30
P1.0 P0.0 ADIO0
3 42 A1 A1 31 29
P1.1 P0.1 ADIO1 PA0
4 41 A2 A2 32 28
P1.2 P0.2 ADIO2 PA1
5 40 A3 A3 33 27
P1.3 P0.3 ADIO3 PA2
6 39 A4 A4 34 25
P1.4 P0.4 ADIO4 PA3
7 38 A5 A5 35 24
P1.5 P0.5 ADIO5 PA4
8 37 A6 A6 36 23
P1.6 P0.6 ADIO6 PA5
9 36 A7 A7 37 22
P1.7 P0.7 ADIO7 PA6
21
24 AD8
PA7
21 P2.0
X1 25 AD9 AD8 39
P2.1 ADIO8 7
20 26 AD10 AD9 40
X2 P2.2 ADIO9 PB0 6
27 AD11 AD10 41
P2.3 ADIO10 PB1 5
11 28 AD12 AD11 42
P3.0/RXD P2.4 ADIO11 PB2 4
13 29 AD13 AD12 43 PB3
P3.1/TXD P2.5 ADIO12 3
14 30 AD14 AD13 44 PB4
P3.2/INT0 P2.6 ADIO13 2
15 31 AD15 AD14 45 PB5
P3.3/INT1 P2.7 ADIO14 52
16 AD15 46 PB6
P3.4/T0 ADIO15 51
17 PB7
P3.5/T1 33 ALE 47
ALE CNTL0 ( WR)
10 32 RD 50
RESET RST PSEN CNTL1( RD) 20
18 WR PC0
WR 19
35 19 PSEN 49 PC1
EA RD/A16 CNTL 2(PSEN) 18
PC2
17
PC3
10 14
PD0-ALE PC4
13
9 PC5
PD1 12
8 PC6
PD2 11
PC7
RESET 48
RESET RESET
AI02882C
48/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
80C51XA
The Philips 80C51XA MCU family supports an 8- es. In Burst Mode, address A19-A4 are latched
or 16-bit multiplexed bus that can have burst cy- internally by the PSD, while the 80C51XA changes
cles. Address bits (A3-A0) are not multiplexed, the A3-A0 signals to fetch up to 16 bytes of code.
while (A19-A4) are multiplexed with data bits The PSD access time is then measured from ad-
(D15-D0) in 16-bit mode. In 8-bit mode, (A11-A4) dress A3-A0 valid to data in valid. The PSD bus
are multiplexed with data bits (D7-D0). timing requirement in Burst Mode is identical to the
The 80C51XA can be configured to operate in normal bus cycle, except the address setup and
eight-bit data mode (as shown in Figure 24). hold time with respect to Address Strobe (ALE/AS,
PD0) does not apply.
The 80C51XA improves bus throughput and per-
formance by executing burst cycles for code fetch-
Figure 24. Interfacing the PSD with the 80C51X, 8-bit Data Bus
80C51XA PSD
21 2 A0 A4D0 30
XTAL1 A0/WRH ADIO0
20 3 A1 A5D1 31 29 A0
XTAL2 A1 ADIO1 PA0
4 A2 A6D2 32 28 A1
A2 ADIO2 PA1
5 A3 A7D3 33 27 A2
A3 ADIO3 PA2
43 A4D0 A8D4 34 25 A3
11 A4D0 AD104 PA3
RXD0 42 A5D1 A9D5 35 AD105 24
13 A5D1 PA4
TXD0 41 A6D2 A10D6 36 23
6 A6D2 ADIO6 PA5
RXD1 40 A7D3 A11D7 37 22
7 A7D3 ADIO7 PA6
TXD1 39 A8D4 21
A8D4 PA7
38 A9D5
A9D5
37 A10D6 A12 39
9 A10D6 ADIO8 7
T2EX 36 A11D7 A13 40 PB0
8 A11D7 ADIO9 6
T2 24 A12 A14 41 PB1
16 A12D8 ADIO10 5
T0 25 A13 A15 42 PB2
A13D9 ADIO11 4
26 A14 A16 43 PB3
A14D10 AD1012 3
27 A15 A17 44 PB4
A15D11 AD1013 2
10 28 A16 A18 45 PB5
RESET RST A16D12 ADIO14 52
14 29 A17 A19 46 PB6
INT0 A17D13 ADIO15 51
30 A18 PB7
15 A18D14
INT1 31 A19
A19D15
47 CNTL0 (WR) 20
50 PC0
CNTL1(RD) 19
PC1
18
PC2
35 32 PSEN 49 17
EA/WAIT PSEN CNTL 2(PSEN) PC3
19 14
17 RD 10 PC4
BUSW RD 13
18 WR 8 PD0-ALE PC5
WRL PD1 12
33 ALE 9 PC6
ALE PD2 11
PC7
48
RESET
RESET
AI02883C
49/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
68HC11
Figure 25 shows a bus interface to a 68HC11 used to generate the READ and WR signals for
where the PSD is configured in 8-bit multiplexed external devices.
mode with E and R/W settings. The DPLD can be
AD7-AD0
AD7-AD0
PSD
AD0 30 29
ADIO0 PA0
AD1 31 28
68HC11 ADIO1 PA1
27
AD2 32 PA2
ADIO2
31 AD3 33 25
8 PA3 ADIO3 PA3
XT 30 AD4 34 24
PA4 AD104 PA4
7 29 AD5 35 23
EX PA5 AD105 PA5
28 AD6 36 22
PA6 ADIO6 PA6
17 27 AD7 37 21
RESET PA7 ADIO7 PA7
RESET
19
IRQ
18
XIRQ 42 A8 39 7
PB0 ADIO8 PB0
41 A9 40 6
2 PB1 ADIO9 PB1
MODB 40 A10 41 5
PB2 ADIO10 PB2
39 A11 42 4
34 PB3 ADIO11 PB3
38 A12 43 3
PA0 PB4 AD1012 PB4
33 37 A13 44 2
PA1 PB5 AD1013 PB5
32 36 A14 45 52
PA2 PB6 ADIO14 PB6
35 A15 46 51
PB7 ADIO15 PB7
9 AD0
43 PC0 20
PE0 10 AD1 PC0
44 PC1 47 19
PE1 11 AD2 CNTL0 (R _W) PC1
45 PC2 50 18
PE2 12 AD3 CNTL1(E) PC2
46 PC3 17
PE3 13 AD4 PC3
47 PC4 49 14
PE4 14 AD5 CNTL 2 PC4
48 PC5 13
PE5 15 AD6 PC5
49 PC6 10 12
PE6 16 AD7 PD0 – AS PC6
50 PC7 9 11
PE7 8 PD1 PC7
20 PD2
52 PD0
VRH 21
51 PD1 48
VRL 22 RESET
PD2
23
PD3
24
PD4
25
PD5
3
MODA
5 E
E
4 AS
AS
6 R/W
R/W
RESET
AI02884C
50/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
I/O PORTS
There are four programmable I/O ports: Ports A, B, The Port pin’s tri-state output driver enable is con-
C, and D. Each of the ports is eight bits except Port trolled by a two input OR gate whose inputs come
D, which is 3 bits. Each port pin is individually user from the CPLD AND Array enable product term
configurable, thus allowing multiple functions per and the Direction Register. If the enable product
port. The ports are configured using PSDsoft Ex- term of any of the Array outputs are not defined
press Configuration or by the MCU writing to on- and that port pin is not defined as a CPLD output
chip registers in the CSIOP space. in the PSDabel file, then the Direction Register has
The topics discussed in this section are: sole control of the buffer that drives the port pin.
■ General Port architecture The contents of these registers can be altered by
the MCU. The Port Data Buffer (PDB) feedback
■ Port operating modes
path allows the MCU to check the contents of the
■ Port Configuration Registers (PCR) registers.
■ Port Data Registers Ports A, B, and C have embedded Input Macro-
■ Individual Port functionality. cells (IMC). The Input Macrocells (IMC) can be
General Port Architecture configured as latches, registers, or direct inputs to
the PLDs. The latches and registers are clocked
The general architecture of the I/O Port block is by Address Strobe (ALE/AS, PD0) or a product
shown in Figure 26., page 52. Individual Port ar- term from the PLD AND Array. The outputs from
chitectures are shown in Figure 28., page 58 to the Input Macrocells (IMC) drive the PLD input bus
Figure 31., page 61. In general, once the purpose and can be read by the MCU. See the section en-
for a port pin has been defined, that pin is no long- titled Input Macrocell, page 41.
er available for other purposes. Exceptions are
noted. Port Operating Modes
As shown in Figure 26., page 52, the ports contain The I/O Ports have several modes of operation.
an output multiplexer whose select signals are Some modes can be defined using PSDabel,
driven by the configuration bits in the Control Reg- some by the MCU writing to the Control Registers
isters (Ports A and B only) and PSDsoft Express in CSIOP space, and some by both. The modes
Configuration. Inputs to the multiplexer include the that can only be defined using PSDsoft Express
following: must be programmed into the device and cannot
be changed unless the device is reprogrammed.
■ Output data from the Data Out register The modes that can be changed by the MCU can
■ Latched address outputs be done so dynamically at run-time. The PLD I/O,
■ CPLD macrocell output Data Port, Address Input, and Peripheral I/O
■ External Chip Select (ECS0-ECS2) from the modes are the only modes that must be defined
CPLD. before programming the device. All other modes
can be changed by the MCU at run-time. See Ap-
The Port Data Buffer (PDB) is a tri-state buffer that plication Note AN1171 for more detail.
allows only one source at a time to be read. The
Port Data Buffer (PDB) is connected to the Internal Table 19., page 53 summarizes which modes are
Data Bus for feedback and can be read by the available on each port. Table 22., page 56 shows
MCU. The Data Out and macrocell outputs, Direc- how and where the different modes are config-
tion and Control Registers, and port pin input are ured. Each of the port operating modes are de-
all connected to the Port Data Buffer (PDB). scribed in the following sections.
51/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
DATA OUT
REG.
DATA OUT
D Q
WR
ADDRESS ADDRESS
D Q PORT PIN
ALE OUTPUT
G MUX
MACROCELL OUTPUTS
EXT CS
READ MUX
INTERNAL DATA BUS
P OUTPUT
SELECT
D
DATA IN
B
CONTROL REG.
ENABLE OUT
D Q
WR
DIR REG.
D Q
WR
CPLD- INPUT
AI02885
52/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
53/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Data Port (Port A) N/A Specify bus type N/A N/A N/A N/A
Address Out
(Port A,B)
Declare pins only N/A 1 1 (Note 2) N/A N/A
80C251
N/A N/A Address a11-a8 Address a15-a12
(Page Mode)
All Other
Address a3-a0 Address a7-a4 Address a3-a0 Address a7-a4
8-Bit Multiplexed
8-Bit
N/A N/A Address a3-a0 Address a7-a4
Non-Multiplexed Bus
Note: 1. N/A = Not Applicable.
54/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
RD
PSEL0
PSEL
PSEL1
D0 - D7
VM REGISTER BIT 7 PA0 - PA7
DATA BUS
WR
AI02886
55/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
56/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
57/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
DATA OUT
REG.
DATA OUT
D Q
WR
ADDRESS PORT
ADDRESS A OR B PIN
D Q
ALE A[ 7:0] OR A[15:8] OUTPUT
G MUX
MACROCELL OUTPUTS
READ MUX
INTERNAL DATA BUS
P OUTPUT
SELECT
D DATA IN
B
CONTROL REG.
ENABLE OUT
D Q
WR
DIR REG.
D Q
WR
CPLD - INPUT
AI02887
58/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
1 PORT C PIN
SPECIAL FUNCTION OUTPUT
MUX
MCELLBC[ 7:0]
READ MUX
INTERNAL DATA BUS
P OUTPUT
SELECT
D
DATA IN
B
ENABLE OUT
DIR REG.
D Q
WR
INPUT
MACROCELL
1
CPLD - INPUT SPECIAL FUNCTION CONFIGURATION
BIT AI02888B
59/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
DATA OUT
REG.
DATA OUT
D Q
WR
PORT D PIN
OUTPUT
MUX
ECS[ 2:0]
READ MUX
INTERNAL DATA BUS
P OUTPUT
SELECT
D
B DATA IN
ENABLE PRODUCT
DIR REG. TERM (.OE)
D Q
WR
CPLD-INPUT AI02889
60/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
POLARITY
CPLD AND ARRAY
BIT
PLD INPUT BUS
POLARITY
BIT
ENABLE (.OE) DIRECTION
REGISTER
POLARITY
BIT AI02890
61/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
POWER MANAGEMENT
All PSD devices offer configurable power saving remain in standby mode even if the address/
options. These options may be used individually or data signals are changing state externally
in combinations, as follows: (noise, other devices on the MCU bus, etc.).
■ All memory blocks in a PSD (primary and Keep in mind that any unblocked PLD input
secondary Flash memory, and SRAM) are signals that are changing states keeps the PLD
built with power management technology. In out of Stand-by mode, but not the memories.
addition to using special silicon design ■ PSD Chip Select Input (CSI, PD2) can be
methodology, power management technology used to disable the internal memories, placing
puts the memories into standby mode when them in standby mode even if inputs are
address/data inputs are not changing (zero changing. This feature does not block any
DC current). As soon as a transition occurs on internal signals or disable the PLDs. This is a
an input, the affected memory “wakes up”, good alternative to using the APD Unit. There
changes and latches its outputs, then goes is a slight penalty in memory access time
back to standby. The designer does not have when PSD Chip Select Input (CSI, PD2)
to do anything special to achieve memory makes its initial transition from deselected to
standby mode when no inputs are changing— selected.
it happens automatically. ■ The PMMRs can be written by the MCU at run-
The PLD sections can also achieve Stand-by time to manage power. All PSD supports
mode when its inputs are not changing, as “blocking bits” in these registers that are set to
described in the sections on the Power block designated signals from reaching both
Management Mode Registers (PMMR). PLDs. Current consumption of the PLDs is
■ As with the Power Management mode, the directly related to the composite frequency of
Automatic Power Down (APD) block allows the changes on their inputs (see Figure 35 and
the PSD to reduce to stand-by current Figure 36., page 72). Significant power
automatically. The APD Unit can also block savings can be achieved by blocking signals
MCU address/data signals from reaching the that are not used in DPLD or CPLD logic
memories and PLDs. This feature is available equations.
on all the devices of the PSD family. The APD PSD devices have a Turbo Bit in PMMR0. This
Unit is described in more detail in the sections bit can be set to turn the Turbo mode off (the
entitled Automatic Power-down (APD) Unit default is with Turbo mode turned on). While
and Power-down Mode, page 63. Turbo mode is off, the PLDs can achieve
Built in logic monitors the Address Strobe of the standby current when no PLD inputs are
MCU for activity. If there is no activity for a changing (zero DC current). Even when inputs
certain time period (MCU is asleep), the APD do change, significant power can be saved at
Unit initiates Power-down mode (if enabled). lower frequencies (AC current), compared to
Once in Power-down mode, all address/data when Turbo mode is on. When the Turbo mode
signals are blocked from reaching PSD memory is on, there is a significant DC current
and PLDs, and the memories are deselected component and the AC component is higher.
internally. This allows the memory and PLDs to
62/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
DISABLE
FLASH/EEPROM/SRAM AI02891
Table 29. PSD Timing and Stand-by Current during Power-down Mode
PLD Propagation Memory Access Recovery Time Typical Stand-by Current
Mode
Delay Access Time to Normal Access 5V VCC 3V VCC
Power-down Normal tPD (Note 1) No Access tLVDV 75µA (Note 2) 25µA (Note 2)
Note: 1. Power-down does not affect the operation of the PLD. The PLD operation in this mode is based only on the Turbo Bit.
2. Typical current consumption assuming no PLD inputs are changing state and the PLD Turbo Bit is ’0.’
63/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
No ALE/AS idle
for 15 CLKIN
clocks?
Yes
PSD in Power
Down Mode
AI02892
64/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
65/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
66/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
VCC VCC(min)
tNLNH
tNLNH-PO tOPR tNLNH-A tOPR
Power-On Reset Warm Reset
RESET
AI02866b
67/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 33. Status During Power-On Reset, Warm Reset and Power-down Mode
Port Configuration Power-On Reset Warm Reset Power-down Mode
MCU I/O Input mode Input mode Unchanged
Valid after internal PSD Depends on inputs to PLD
PLD Output configuration bits are Valid (addresses are blocked in
loaded PD mode)
Address Out Tri-stated Tri-stated Not defined
Data Port Tri-stated Tri-stated Tri-stated
Peripheral I/O Tri-stated Tri-stated Tri-stated
68/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
69/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
70/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
71/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
AC/DC PARAMETERS
These tables describe the AD and DC parameters – Power-down and Reset Timing
of the PSD: The following are issues concerning the parame-
❏ DC Electrical Specification ters presented:
❏ AC Timing Specification – In the DC specification the supply current is
■ PLD Timing given for different modes of operation. Before
calculating the total power consumption,
– Combinatorial Timing determine the percentage of time that the PSD
– Synchronous Clock Mode is in each mode. Also, the supply power is
– Asynchronous Clock Mode considerably different if the Turbo Bit is ’0.’
– Input Macrocell Timing – The AC power component gives the PLD,
■ MCU Timing Flash memory, and SRAM mA/MHz
specification. Figures 35 and 36 show the PLD
– READ Timing mA/MHz as a function of the number of
– WRITE Timing Product Terms (PT) used.
– Peripheral Mode Timing – In the PLD timing parameters, add the
required delay when Turbo Bit is ’0.’
100 VCC = 5V
)
00%
90
ON (1
BO
80 TUR
70
ICC – (mA)
)
(25%
FF
60
O ON
URB
O
T
O
50
RB
TU
40
30
F
20 OF PT 100%
O
RB PT 25%
TU
10
0
0 5 10 15 20 25
40
ICC – (mA)
30
FF
%)
O
(25
O ON
O
TU R B
RB
20
TU
PT 100%
10 F
OF PT 25%
O
RB
TU
0
0 5 10 15 20 25
72/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 36. Example of PSD Typical Power Calculation at VCC = 5.0V (Turbo Mode On)
Conditions
Highest Composite PLD input frequency
(Freq PLD) = 8 MHz
MCU ALE frequency (Freq ALE) = 4 MHz
% Flash memory Access = 80%
% SRAM access = 15%
% I/O access = 5% (no additional power above base)
Operational Modes
% Normal = 10%
% Power-down Mode = 90%
Number of product terms used
(from fitter report) = 45 PT
% of total product terms = 45/182 = 24.7%
Turbo Mode = ON
Calculation (using typical values)
ICC total = Ipwrdown x %pwrdown + %normal x (ICC (ac) + ICC (dc))
73/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 37. Example of PSD Typical Power Calculation at VCC = 5.0V (Turbo Mode Off)
Conditions
Highest Composite PLD input frequency
(Freq PLD) = 8 MHz
MCU ALE frequency (Freq ALE) = 4 MHz
% Flash memory Access = 80%
% SRAM access = 15%
% I/O access = 5% (no additional power above base)
Operational Modes
% Normal = 10%
% Power-down Mode = 90%
Number of product terms used
(from fitter report) = 45 PT
% of total product terms = 45/182 = 24.7%
Turbo Mode = Off
Calculation (using typical values)
ICC total = Ipwrdown x %pwrdown + %normal x (ICC (ac) + ICC (dc))
74/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
MAXIMUM RATING
Stressing the device above the rating listed in the plied. Exposure to Absolute Maximum Rating con-
Absolute Maximum Ratings” table may cause per- ditions for extended periods may affect device
manent damage to the device. These are stress reliability. Refer also to the STMicroelectronics
ratings only and operation of the device at these or SURE Program and other relevant quality docu-
any other conditions above those indicated in the ments.
Operating sections of this specification is not im-
75/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
DC AND AC PARAMETERS
This section summarizes the operating and mea- ment Conditions summarized in the relevant
surement conditions, and the DC and AC charac- tables. Designers should check that the operating
teristics of the device. The parameters in the DC conditions in their circuit match the measurement
and AC Characteristic tables that follow are de- conditions when relying on the quoted parame-
rived from tests performed under the Measure- ters.
Table 41. AC Signal Letters for PLD Timing Table 42. AC Signal Behavior Symbols for PLD
A Address Input
Timing
t Time
C CEout Output
L Logic Level Low or ALE
D Input Data
H Logic Level High
E E Input
V Valid
G Internal WDOG_ON signal
X No Longer a Valid Logic Level
I Interrupt Input
Z Float
L ALE Input
PW Pulse Width
N RESET Input or Output
Note: Example: tAVLX = Time from Address Valid to ALE Invalid.
P Port Signal Output
Q Output Data
R WR, UDS, LDS, DS, IORD, PSEN Inputs
S Chip Select Input
T R/W Input
W Internal PDN Signal
B VSTBY Output
M Output Macrocell
Note: Example: tAVLX = Time from Address Valid to ALE Invalid.
CL Load Capacitance 30 pF
Note: 1. Output Hi-Z is defined as the point where data out is no longer driven.
76/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Figure 37. AC Measurement I/O Waveform Figure 38. AC Measurement Load Circuit
2.01 V
3.0V 195 Ω
Test Point 1.5V
Device
Under Test
0V CL = 30 pF
AI03103b (Including Scope and
Jig Capacitance)
AI03104b
AI03102
77/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
VIH1 Reset High Level Input Voltage (Note 1) 0.8VCC VCC +0.5 V
VIL1 Reset Low Level Input Voltage (Note 1) –0.5 0.2VCC –0.1 V
Output High Voltage Except IOH = –20µA, VCC = 4.5 V 4.4 4.49 V
VOH
VSTBY On IOH = –2mA, VCC = 4.5 V 2.4 3.9 V
ILI Input Leakage Current VSS < VIN < VCC –1 ±0.1 1 µA
ILO Output Leakage Current 0.45 < VOUT < VCC –10 ±5 10 µA
PLD_TURBO = Off,
0 µA/PT
f = 0 MHz (Note 5)
PLD Only
PLD_TURBO = On,
400 700 µA/PT
ICC (DC) Operating f = 0 MHz
Supply
(Note 5) Current During Flash memory
15 30 mA
Flash memory WRITE/Erase Only
Read only, f = 0 MHz 0 0 mA
SRAM f = 0 MHz 0 0 mA
78/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
VIH1 Reset High Level Input Voltage (Note 1) 0.8VCC VCC +0.5 V
VIL1 Reset Low Level Input Voltage (Note 1) –0.5 0.2VCC –0.1 V
Output High Voltage Except IOH = –20µA, VCC = 3.0 V 2.9 2.99 V
VOH
VSTBY On IOH = –1mA, VCC = 3.0 V 2.7 2.8 V
VOH1 Output High Voltage VSTBY On IOH1 = 1µA VSTBY – 0.8 V
ILI Input Leakage Current VSS < VIN < VCC –1 ±0.1 1 µA
ILO Output Leakage Current 0.45 < VIN < VCC –10 ±5 10 µA
PLD_TURBO = Off,
0 µA/PT
f = 0 MHz (Note 3)
PLD Only
PLD_TURBO = On,
200 400 µA/PT
Operating f = 0 MHz
ICC (DC)
Supply
(Note 5) Current During Flash memory
10 25 mA
Flash memory WRITE/Erase Only
Read only, f = 0 MHz 0 0 mA
SRAM f = 0 MHz 0 0 mA
79/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
INPUT
tER tEA
INPUT TO
OUTPUT
ENABLE/DISABLE
AI02863
80/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
CLKIN
tS tH
INPUT
tCO
REGISTERED
OUTPUT
AI02860
Table 49. CPLD Macrocell Synchronous Clock Mode Timing (5V devices)
-70 -90 -15 Fast
Turbo Slew
Symbol Parameter Conditions PT Unit
Min Max Min Max Min Max Aloc
Off rate1
Maximum
Frequency
1/(tS+tCO) 40.0 30.30 25.00 MHz
External
Feedback
Maximum
Frequency
fMAX
Internal 1/(tS+tCO–10) 66.6 43.48 31.25 MHz
Feedback
(fCNT)
Maximum
Frequency 1/(tCH+tCL) 83.3 50.00 35.71 MHz
Pipelined Data
Input Setup
tS 12 15 20 +2 + 10 ns
Time
tH Input Hold Time 0 0 0 ns
tCH Clock High Time Clock Input 6 10 15 ns
tCL Clock Low Time Clock Input 6 10 15 ns
Clock to Output
tCO Clock Input 13 18 22 –2 ns
Delay
CPLD Array
tARD Any macrocell 11 16 22 +2 ns
Delay
Minimum Clock
tMIN tCH+tCL 12 20 30 ns
Period 2
Note: 1. Fast Slew Rate output available on PA3-PA0, PB3-PB0, and PD2-PD0. Decrement times by given amount.
2. CLKIN (PD1) tCLCL = tCH + tCL.
81/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 50. CPLD Macrocell Synchronous Clock Mode Timing (3V devices)
-12 -15 -20 PT Turbo Slew
Symbol Parameter Conditions Unit
Min Max Min Max Min Max Aloc Off rate1
Maximum
Frequency 1/(tS+tCO) 22.2 18.8 15.8 MHz
External Feedback
Maximum
Frequency
fMAX 1/(tS+tCO–10) 28.5 23.2 18.8 MHz
Internal Feedback
(fCNT)
Maximum
Frequency 1/(tCH+tCL) 40.0 33.3 31.2 MHz
Pipelined Data
tS Input Setup Time 20 25 30 +4 + 20 ns
tH Input Hold Time 0 0 0 ns
tCH Clock High Time Clock Input 15 15 16 ns
tCL Clock Low Time Clock Input 10 15 16 ns
Clock to Output
tCO Clock Input 25 28 33 –6 ns
Delay
tARD CPLD Array Delay Any macrocell 25 29 33 +4 ns
Minimum Clock
tMIN tCH+tCL 25 29 32 ns
Period2
Note: 1. Fast Slew Rate output available on PA3-PA0, PB3-PB0, and PD2-PD0. Decrement times by given amount.
2. CLKIN (PD1) tCLCL = tCH + tCL.
82/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
RESET/PRESET
INPUT
tARP
REGISTER
OUTPUT
AI02864
CLOCK
tSA tHA
INPUT
tCOA
REGISTERED
OUTPUT
AI02859
83/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 51. CPLD Macrocell Asynchronous Clock Mode Timing (5V devices)
-70 -90 -15 PT Turbo Slew
Symbol Parameter Conditions Unit
Min Max Min Max Min Max Aloc Off Rate
Maximum
Frequency
1/(tSA+tCOA) 38.4 26.32 21.27 MHz
External
Feedback
Maximum
Frequency
fMAXA Internal 1/(tSA+tCOA–10) 62.5 35.71 27.78 MHz
Feedback
(fCNTA)
Maximum
Frequency
1/(tCHA+tCLA) 71.4 41.67 35.71 MHz
Pipelined
Data
Input Setup
tSA 7 8 12 +2 + 10 ns
Time
Input Hold
tHA 8 12 14 ns
Time
Clock Input
tCHA 9 12 15 + 10 ns
High Time
Clock Input
tCLA 9 12 15 + 10 ns
Low Time
Clock to
tCOA 21 30 37 + 10 –2 ns
Output Delay
CPLD Array
tARDA Any macrocell 11 16 22 +2 ns
Delay
Minimum
tMINA 1/fCNTA 16 28 39 ns
Clock Period
84/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 52. CPLD Macrocell Asynchronous Clock Mode Timing (3V devices)
-12 -15 -20 PT Turbo Slew
Symbol Parameter Conditions Unit
Min Max Min Max Min Max Aloc Off Rate
Maximum
Frequency
1/(tSA+tCOA) 21.7 19.2 16.9 MHz
External
Feedback
Maximum
Frequency
fMAXA
Internal 1/(tSA+tCOA–10) 27.8 23.8 20.4 MHz
Feedback
(fCNTA)
Maximum
Frequency 1/(tCHA+tCLA) 33.3 27 24.4 MHz
Pipelined Data
Input Setup
tSA 10 12 13 +4 + 20 ns
Time
tHA Input Hold Time 12 15 17 ns
tCHA Clock High Time 17 22 25 + 20 ns
tCLA Clock Low Time 13 15 16 + 20 ns
Clock to Output
tCOA 36 40 46 + 20 –6 ns
Delay
CPLD Array
tARD Any macrocell 25 29 33 +4 ns
Delay
Minimum Clock
tMINA 1/fCNTA 36 42 49 ns
Period
85/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
PT CLOCK
t IS t IH
INPUT
OUTPUT
t INO
AI03101
Note: 1. Inputs from Port A, B, and C relative to register/ latch clock from the PLD. ALE/AS latch timings refer to tAVLX and tLXAX.
Note: 1. Inputs from Port A, B, and C relative to register/latch clock from the PLD. ALE latch timings refer to tAVLX and tLXAX.
86/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
ALE /AS
tLVLX
A /D ADDRESS DATA
MULTIPLEXED VALID VALID
BUS tAVQV
ADDRESS
ADDRESS
NON-MULTIPLEXED
VALID
BUS
DATA DATA
NON-MULTIPLEXED VALID
BUS
tSLQV
CSI
tRLQV
tRHQX
tRLRH
RD
(PSEN, DS) tRHQZ
tEHEL
E
tTHEH tELTL
R/W
tAVPV
ADDRESS OUT
AI02895
Note: 1. tAVLX and tLXAX are not required for 80C251 in Page Mode or 80C51XA in Burst Mode.
87/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Note: 1. RD timing has the same timing as DS, LDS, UDS, and PSEN signals.
2. RD and PSEN have the same timing.
3. Any input used to select an internal PSD function.
4. In multiplexed mode, latched addresses generated from ADIO delay to address output on any Port.
5. RD timing has the same timing as DS, LDS, and UDS signals.
88/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Note: 1. RD timing has the same timing as DS, LDS, UDS, and PSEN signals.
2. RD and PSEN have the same timing for 8031.
3. Any input used to select an internal PSD function.
4. In multiplexed mode latched address generated from ADIO delay to address output on any Port.
5. RD timing has the same timing as DS, LDS, and UDS signals.
89/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
ALE/AS
t LVLX
A/D ADDRESS DATA
MULTIPLEXED VALID VALID
BUS
tAVWL
ADDRESS
ADDRESS
NON-MULTIPLEXED
VALID
BUS
DATA DATA
NON-MULTIPLEXED VALID
BUS
tSLWL
CSI
tDVWH t WHDX
WR t WLWH
(DS) t WHAX
t EHEL
E
t THEH t ELTL
R/ W
t WLMV
tAVPV t WHPV
STANDARD
ADDRESS OUT MCU I/O OUT
AI02896
90/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
91/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
92/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
93/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
ALE/AS
tAVQV (PA)
tSLQV (PA)
CSI
tDVQV (PA)
DATA ON PORT A
AI02897
Table 61. Port A Peripheral Data Mode READ Timing (5V devices)
-70 -90 -15 Turbo
Symbol Parameter Conditions Unit
Min Max Min Max Min Max Off
94/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 62. Port A Peripheral Data Mode READ Timing (3V devices)
-12 -15 -20 Turbo
Symbol Parameter Conditions Unit
Min Max Min Max Min Max Off
ALE/AS
WR
tDVQV (PA)
PORT A
DATA OUT
AI02898
Table 63. Port A Peripheral Data Mode WRITE Timing (5V devices)
-70 -90 -15
Symbol Parameter Conditions Unit
Min Max Min Max Min Max
95/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 64. Port A Peripheral Data Mode WRITE Timing (3V devices)
-12 -15 -20
Symbol Parameter Conditions Unit
Min Max Min Max Min Max
VCC VCC(min)
tNLNH
tNLNH-PO tOPR tNLNH-A tOPR
Power-On Reset Warm Reset
RESET
AI02866b
96/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
97/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
TCK
t ISCCL
t ISCPSU t ISCPH
TDI/TMS
t ISCPZV
t ISCPCO
ISC OUTPUTS/TDO
t ISCPVZ
ISC OUTPUTS/TDO
AI02865
tISCCHP Clock (TCK, PC1) High Time (PLD only) (Note 2) 240 240 240 ns
tISCCLP Clock (TCK, PC1) Low Time (PLD only) (Note 2) 240 240 240 ns
98/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
tISCCHP Clock (TCK, PC1) High Time (PLD only) (Note 2) 240 240 240 ns
tISCCLP Clock (TCK, PC1) Low Time (PLD only) (Note 2) 240 240 240 ns
99/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
PACKAGE MECHANICAL
Figure 51. PQFP52 - 52-pin Plastic, Quad, Flat Package Mechanical Drawing
D
D1
D2 A2
Ne E2 E1 E
b
N
1
Nd A
CP
L1
c
QFP-A A1 α L
100/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 73. PQFP52 - 52-pin Plastic, Quad, Flat Package Mechanical Dimensions
mm inches
Symb.
Typ. Min. Max. Typ. Min. Max.
A 2.35 0.093
A1 0.25 0.010
A2 2.00 1.80 2.10 0.079 0.077 0.083
b 0.22 0.38 0.009 0.015
c 0.11 0.23 0.004 0.009
D 13.20 13.15 13.25 0.520 0.518 0.522
D1 10.00 9.95 10.05 0.394 0.392 0.396
D2 7.80 – – 0.307 – –
E 13.20 13.15 13.25 0.520 0.518 0.522
E1 10.00 9.95 10.05 0.394 0.392 0.396
E2 7.80 – – 0.307 – –
e 0.65 – – 0.026
L 0.88 0.73 1.03 0.035 0.029 0.041
L1 1.60 – – 0.063
α 0° 7° 0° 7°
N 52 52
Nd 13 13
Ne 13 13
CP 0.10 0.004
101/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Figure 52. PLCC52 - 52-lead Plastic Lead, Chip Carrier Package Mechanical Drawing
D A1
D1 A2 M1
M
1 N
b1
E1 E D2/E2 D3/E3 e
b
L1
L
C
A
CP
PLCC-B
Table 74. PLCC52 - 52-lead Plastic Lead, Chip Carrier Package Mechanical Dimensions
mm inches
Symbol
Typ. Min. Max. Typ. Min. Max.
A 4.19 4.57 0.165 0.180
A1 2.54 2.79 0.100 0.110
A2 – 0.91 – 0.036
B 0.33 0.53 0.013 0.021
B1 0.66 0.81 0.026 0.032
C 0.246 0.261 0.0097 0.0103
D 19.94 20.19 0.785 0.795
D1 19.05 19.15 0.750 0.754
D2 17.53 18.54 0.690 0.730
E 19.94 20.19 0.785 0.795
E1 19.05 19.15 0.750 0.754
E2 17.53 18.54 0.690 0.730
e 1.27 – – 0.050 – –
R 0.89 – – 0.035 – –
N 52 52
Nd 13 13
Ne 13 13
102/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
D1
D2 A2
Ne E2 E1 E
b
N
1
Nd A
CP
L1
c
QFP-A A1 α L
103/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Table 75. TQFP64 - 64-lead Thin Quad Flatpack, Package Mechanical Data
mm inches
Symb.
Typ. Min. Max. Typ. Min. Max.
A 1.42 1.54 0.056 0.061
A1 0.10 0.07 0.14 0.004 0.003 0.005
A2 1.40 1.36 1.44 0.055 0.054 0.057
α 3.5° 0.0° 7.0° 3.5° 0.0° 7.0°
b 0.35 0.33 0.38 0.014 0.013 0.015
c 0.17 0.006
D 16.00 15.90 16.10 0.630 0.626 0.634
D1 14.00 13.98 14.03 0.551 0.550 0.552
D2 12.00 11.95 12.05 0.472 0.470 0.474
E 16.00 15.90 16.10 0.630 0.626 0.634
E1 14.00 13.98 14.03 0.551 0.550 0.552
E2 12.00 11.95 12.05 0.472 0.470 0.474
e 0.80 0.75 0.85 0.031 0.030 0.033
L 0.60 0.45 0.75 0.024 0.018 0.030
L1 1.00 0.94 1.06 0.039 0.037 0.042
CP 0.10 0.004
N 64 64
Nd 16 16
Ne 16 16
104/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
PART NUMBERING
Device Type
PSD8 = 8-bit PSD with Register Logic
PSD9 = 8-bit PSD with Combinatorial Logic
SRAM Capacity
1 = 16 Kbit
3 = 64 Kbit
5 = 256 Kbit
Operating Voltage
blank = VCC = 4.5 to 5.5V
V = VCC = 3.0 to 3.6V
Speed
70 = 70ns
90 = 90ns
12 = 120ns
15 = 150ns
20 = 200ns
Package
J = PLCC52
M = PQFP52
U = TQFP64
Temperature Range
blank = 0 to 70°C (commercial)
I = –40 to 85°C (industrial)
Option
T = Tape & Reel Packing
For a list of available options (e.g., speed, package) or for further information on any aspect of this device,
please contact your nearest ST Sales Office.
105/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
106/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
19 PC1 45 AD14
20 PC0 46 AD15
21 PA7 47 CNTL0
22 PA6 48 RESET
23 PA5 49 CNTL2
24 PA4 50 CNTL1
25 PA3 51 PB7
26 GND 52 PB6
107/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
8 VCC 40 AD8
9 VCC 41 AD9
10 GND 42 AD10
11 GND 43 AD11
12 PC3 44 AD12
13 PC2 45 AD13
14 PC1 46 AD14
15 PC0 47 AD15
16 NC 48 CNTL0
17 NC 49 NC
18 NC 50 RESET
19 PA7 51 CNTL2
20 PA6 52 CNTL1
21 PA5 53 PB7
22 PA4 54 PB6
23 PA3 55 GND
24 GND 56 GND
25 GND 57 PB5
26 PA2 58 PB4
27 PA1 59 PB3
28 PA0 60 PB2
29 AD0 61 PB1
30 AD1 62 PB0
31 N/D 63 NC
32 AD2 64 NC
108/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
REVISION HISTORY
109/110
PSD813F2V, PSD833F2V, PSD853F2V, PSD854F2V
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequ
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is g
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are s
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products a
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectron
110/110