Document
R8A66153FP
PROGRAMMABLE BUFFERED I/O EXPANDER
REJ03F0260-0100 Rev. 1.00 Jan. 10. 2008
DESCRIPTION
The R8A66153FP is a programmable I/O expander using a high-voltage CMOS process. And has three sets of 8-bit I/O ports, two sets of 8-bit high voltage output ports, and one 4-bit input port.
FEATURES
● Output pattern can be written in input mode ● 8-bit X 2 high voltage output ports with IOL=24mA www.DataSheet4U.com ● CMOS level schmitt trigger input ● Vcc=4.5~5.5V, Ta=-40~85oC
APPLICATION
● I/O port expansion for MCU.
PIN CONFIGRATION (TOP VIEW)
Output port E
Output port F
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
Output port E
Bi-directional port B
Bi-directional port A
PE7 GND PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PA7 PA6 PA5 PA4 PA3 PA2
33
PE6 PE5 PE4 PE3 PE2 PE1 PE0 VCC PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9
32 31 30 29 28 27 26
R8A66153FP
25 24 23 22 21 20 19 18 17
GND PG3 PG2 PG1 PG0 PC3 PC2 PC1 PC0 PC4 PC5 PC6 PC7 D7 D6 D5
Input port G
Bi-directional port C
Data bus
Bi-directional port A
.
REJ03F0260-0100 Rev.1.00 Jan.10.2008 Page 1 of 9
PA1 PA0 VCC RD WR CS RESET GND A2 A1 A0 D0 D1 D2 D3 D4 Port address input Data bus
R8A66153FP
BLOCK DIAGRAM
8
PA7 PA6
Port A (8 bit)
PA5 PA4 PA3 PA2 PA1 PA0
www.DataSheet4U.com
4
RD WR A2 A1 A0 RESET
Port C Read/Write control circuit
(Upper 4bit) 4
PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0
Port C
(Lower 4bit) 8
Port B
CS
(8 bit)
D7 D6 D5 D4 D3 D2 D1 0
8 Data bus buffer
PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0
Port E (8 bit)
8
PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
Port F
Vcc Vcc GND GND GND
(8 bit)
4
Port G (4 bit
PG3 PG2 PG1 PG0
.
REJ03F0260-0100 Rev.1.00 Jan.10.2008 Page 2 of 9
R8A66153FP
FUNCTIONAL DESCRIPTION
The R8A66153FP is a general purpose programmable I/O expander with three 8-bit I/O ports (portA,B,C) and two 8-bit high voltage output ports (portE,F) and one 4-bit input port (portG). I/O ports can be set INPUT for OUTPUT by a command. The portC can be divided into two 4-bit ports, and if it is set to output, bit set/reset operation is available. The portE and port F is the high voltage N-channel open drain output. (Vo=24V, IOL=24mA) The port G is a 4-bit input port with CMOS level schimitt trigger input. When RESET="H", output port E and F turn to disable state and other I/O ports turn to input mode.
FUNCTION
www.DataSheet4U.com
RD (read input) If the input is "L", the port input data or port latch data appear at the data bus. WR (write input) By the positive edge of WR input, data bus data is written into the control register or into the port latch.
A2, A1, A0 (Port selection input) Select the port or the control register. (see table 1) RESET (reset input) If the input is "H", all I/O and output port turn to high impedance state. (Port A,B,C : input mode, Port E,F : "Z") CS (chip select input) "L" enables to communicate with MCU. When "H", data bus keeps high impedance state and ignored the command from MCU. The port condition and the data of the port latch are not changed even if CS="H". Read/Write control circuit According to the data from the MCU, set the port condition and transmit the data between port and data bus. Data bus buffer This is the bi-directional bus buffer. When WR="L" data bas data is written into the register of R8A66153, and when RD="L" port data or port latch data is appears. Port A and Port B Port A and Port B are 8-bit bi-directional port with output latch. By the command from MCU, set these port as an input or an output. The output circuit of these ports are CMOS 3-state output and input buffer is CMOS schmitt trigger input. When port is set to output, data bus data is written into the port latch by the positive edge of /WR and is output to the terminal. When RD="L" in the state of output mode, port terminal data(=output data) is appears to the data bus. When RD="L" in the state of input mode, port terminal data(=input data) is appears to the data bus. In the state of input mode, data bus data is written into the port latch by the positive edge of WR.
Port latch data is not determined when power ON.
Port C Basic function of port C is the same as the port A and port B. The difference between port A/B and port C is that port C can be used as the two 4-bit ports. And when is set to output, bit set/reset function is available by a bit.
.
REJ03F0260-0100 Rev.1.00 Jan.10.2008 Page 3 of 9
R8A66153FP
Port E and Port F Port E and Port F are 8-bit high voltage output ports with Vo=24V/IOL=24mA. Output transistor is N-ch open drain transistor. When this port is selected, data bus data is written into the port latch by the positive edge of WR. And if is set to output enable, port latch Port G Port G is a input port with CMOS schmitt trigger. When this port is selected and RD="L", input data is appears to the data bus.
www.DataSheet4U.com A2
Table 1. Function Table
A1 A0 CS RD WR
FUNCTION.