Buffer
Buffer
Buffer
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 CMOS level schmitt trigger input Vcc=4.5~5.5V, Ta=-40~85oC
APPLICATION
I/O port expansion for MCU.
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
PA1 PA0 VCC RD WR CS RESET GND A2 A1 A0 D0 D1 D2 D3 D4 Port address input Data bus
R8A66153FP
BLOCK DIAGRAM
PA7 PA6
Port A (8 bit)
4
RD WR A2 A1 A0 RESET
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
Port E (8 bit)
Port F
Vcc Vcc GND GND GND
(8 bit)
Port G (4 bit
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
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.
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.
FUNCTION Data bus Data bus Data bus Data bus Data bus Data bus Port A Port B Port C Port E Port F Control register Port A Port B Port C Port G Port E latch data Port F latch data Data bus Data bus Data bus Data bus Data bus Data bus
0 0 0 0 1 1 0 0 0 1 1 1
0 0 1 1 0 0 0 0 1 0 0 1
0 1 0 1 0 1 0 1 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 1 1 1 1 1 1
1 1 1 1 1 1
note: "0" means "L" level and "1" means "H" level.
R8A66153FP
CONTROL WORD
When (A0, A1, A2)=(1,1,1), data bus data is recognized as the control word. This control word is to set the port condition and the bit set/reset function of port C. (see Fig.1 and Fig.2)
"1" when mode set control word don't care Port E enable/disable set Port F enable/disable set "0" : Enable "1" : Disable
Port A input/output set Port B input/output set Port C input/output set (Upper 4-bit) Port C input/output set (Lower 4-bit)
D7
D6
D5
D4
D3
D2
D1
D0
"0" when port C bit set/reset function don't care Bit select (see below) Bit select PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 Set/reset D3 1 1 1 1 0 0 0 0 D2 1 1 0 0 1 1 0 0 D1 1 0 1 0 1 0 1 0
D7
D6
D5
D4
D3
D2
D1
D0
R8A66153FP
Parameter
Conditions
Ratings
-0.3 to +7 -0.3 to Vcc+0.3 -0.3 to Vcc+0.3 -0.3 to +28 500 -65 to 150
Unit V V V V mW o C
Parameter
Conditions
Min.
4.5 0 0 -40
Limits Typ.
5
Max.
5.5 24 24 85
Unit V V mA
o
Topr
Operating temperature
Parameter
Control pin (note), Data bus Port A,B,C,G Port A,B,C,G Data bus, Port A,B,C Port E,F Port E,F
Test conditions
Unit V V V V V V V uA uA uA mA pF pF
IOH=-2.5mA IO=2.5mA IOL=24mA VO=24V VO=0 to Vcc VO=0 to Vcc All ports "H" output f=1MHz Other pins 0V
note : Control pins are RD, WR, RESET, CS, A2, A1 and A0 pin.
R8A66153FP
Parameter
tsu(A-R)=0ns tsu(A-R)>40ns
Test conditions
Limits Min.
160 120 0 0 0 0 120 40 0 0 0
Max.
Unit ns ns ns ns ns ns ns ns ns ns
Peripheral setup time before read Peripheral hold time after read Address setup time before read Address hold time after read Write pulse width Data setup time before write Data hold time after write Address setup time before write Address hold time after write
Parameter
tsu(A-R)=0ns tsu(A-R)>40ns
Test conditions
CL=150pF (note) CL=150pF (note) CL=150pF (note) CL=150pF, RL=200ohm (note)
Unit
ns ns ns
Read to data floating time Write to output delay time Port A,B,C Port E,F
Vcc
Output pin
Port A,B,C Port E,F Data bus Data bus
Output
DUT
S2 2k ohm
2 CL
1 Pulse Generator (P.G.) tr=6ns, tf=6ns, Zo=50ohm (2) CL includes stray capacitance and probe capacitance.
R8A66153FP
TIMING DIAGRAM
Read operation
tw(R)
RD
tsu(A-R) th(R-A)
CS, A0 ~ A2
tsu(PE-R) th(R-PE)
PORT INPUT
tpZL(R-DQ), tpZH(R-DQ) tpLZ(R-DQ), tpHZ(R-DQ)
D0~D7
Write operation
tw(W)
WR
tsu(A-W) th(W-A)
CS, A0 ~ A2
tsu(DQ-W) th(W-DQ)
D0~D7
tpLH(W-PE), tpHL(W-PE)
R8A66153FP
PACKAGE OUTLINE
Package 64pin LQFP RENESAS Code PLQP0064KD-A Previous Code 64P6X-B
All trademarks and registered trademarks are the property of their respective owners.