REJ03F0258-0100 Rev. 1.00 Jan.08.2008 R8A66151SP 24-BIT I/O EXPANDER DESCRIPTION R8A66151 is a semiconductor integrated circuit which has 24-bit shift register function to execute serial in parallel out conversion and parallel in - serial out conversion. Built in two shift registers for serial in - parallel out and parallel in - serial out are constructed independently, This IC is able to read serial input data into a shift register while output the serial data converting from the parallel data input. Also, parallel data I/O pins can be set to input mode or output mode by a bit. R8A66151 is useful in a wide range of applications, such as MCU (micro controller unit) I/O port extension and serial bus system data communication. R8A66151 is the succession product of M66010. FEATURES Bi-directional serial communication with MCU Serial data can be input during parallel to serial data conversion Parallel data I/O pins can be set input mode or output mode by a bit Schmitt input (DI, CLK, /S, /CS) N-ch open drain output (DO, D1~D24) Parallel data I/O pins (D1~D24) Wide supply voltage range (Vcc=2.0 to 6.0V) Wide operating temperature range (Ta=-40 to 85oC) APPLICATION Serial - parallel or parallel - serial data conversion for MCU peripheral. Serial bus control by MCU. PIN CONFIGURATION (TOP VIEW) SERIAL DATA OUTPUT DO 1 32 D1 SERIAL DATA INPUT DI 2 31 D2 CLOCK INPUT CLK 3 30 D3 CS 4 29 D4 Vcc 5 28 D5 S 6 27 D6 GND 7 26 D7 D24 8 25 D8 CHIP SELECT INPUT SET INPUT PARALLEL DATA I/O D23 9 24 D9 D22 10 23 D10 D21 11 22 D11 D20 12 21 D12 D19 13 20 D13 D18 14 19 D14 D17 15 18 D15 GND 16 17 D16 REJ03F0258-0100 Rev.1.00 Jan.08.2008 Page 1 of 7 PARALLEL DATA I/O R8A66151SP BLOCK DIAGRAM Vcc Vcc 5 Shift register 1 DO D24 D23 D22 D3 D2 D1 S 6 CS 4 DO CLK, S, CS, DI Input type D22 9 D23 8 D24 10 Q24 Q23 Q22 Q24 Q23 Q22 DI Vcc Vcc Q3 Q2 Q1 Parallel output latch D24 D23 D22 D3 D2 D1 DI S D1 31 D2 30 D3 32 Control circuit CLK 3 1 DO D1 ~ D24 Q3 Q2 Q1 Shift register 2 2 Output type 7 16 GND GND FUNCTION The R8A66151 is produced by using the silicon gate CMOS technology and has low power dissipation and high noise margin. Built in two shift registers for serial in-parallel out (Shift register 2) and parallel in-serial out (Shift register 1) are constructed independently, R8A66151 is able to read serial input data into a shift register while output the serial data converting from the parallel data input. Serial output operation of 24-bit parallel latched data and serial input operation from MCU are started when /CS is changed from "H" to "L". 24-bits parallel data are latched by the negative edge of /CS and are output from the DO terminal synchronously to the negative edge of CLK, and also the DI terminal read serial input data from MCU and are written into the internal shift register 2. The 25th and following shift clock pulse are ignored and serial input data is masked, and DO terminal becomes high-impedance ("High-Z"). When /CS is changed from "L" to "H", 24-bits serial data which is read from the DI terminal are output to the D1~D24 terminals as parallel data. As the output circuit type of D1~D24 terminals is N-ch open drain output, write data "H" for pins which should be set to input mode. REJ03F0258-0100 Rev.1.00 Jan.08.2008 Page 2 of 7 R8A66151SP DESCRIPTION OF OPERATION (1) When power ON, the status of DO and D1~D24 terminals are not determined. These terminals are turn to high-impedance when "L" is input to the /S terminal. (2) By the negative edge of /CS, the status of D1~D24 terminals is loaded on shift register 1. (3) Synchronous to the negative edge of CLK, 24-bit loaded data is serial output from the DO terminal. (4) Synchronous to the positive edge of CLK, 24-bit serial input data from DI is write into the shift register 2. (5) The 25th and following shift clock pulse are ignored and the serial data input operation is stopped. And the DO terminal becomes high-impedance ("High-Z"). (6) By the positive edge of /CS, input data described in (4) is output to D1~D24 terminals. (7) Shift register 1 loads the AND tie data of external parallel input data and latched data on parallel output latch. (8) If the /CS is changed from "L" to "H" before reaches the 24th bit of CLK, parallel output latch latches data which has been written on shift register 2 and output it to D1~D24 terminals. Serial data after this since is ignored and the DO terminal becomes high-impedance. (9) Input/output mode set to D1~D24 terminals is done by the serial input data to the DI terminal. Terminals which "H" is written are set to input, and "L" is written are set to output. OPERATION TIMING CHART S (1) (2) CS 1 2 3 4 5 6 7 8 9 10 23 24 25 (5) CLK (4) DI DO1 DO2 DO3 DO4 DO5 DO6 DO7 DO8 DO9 DO23 DO24 DI2 DI3 DI4 DI5 DI6 DI7 DI8 DI9 DI23 (3) DO High-Z DI1 DI24 High-Z (6) D1 D2 High-Z High-Z DI1 DO1 DI2 DO2 DI24 DO24 High-Z D24 1 Sequence REJ03F0258-0100 Rev.1.00 Jan.08.2008 Page 3 of 7 R8A66151SP (Ta=-40~85 oC , unless otherwise noted) ABSOLUTE MAXIMUM RATINGS Symbol Parameter Conditions Ratings Unit -0.5 ~ +7.0 V Vcc Supply voltage VI Input voltage -0.5 ~ Vcc+0.5 V VO Output voltage -0.5 ~ Vcc+0.5 V Tstg Storage temperature range -65 ~ 150 oC RECOMMENDED OPERATING CONDITIONS Symbol Vcc VI VO Topr Parameter Supply voltage Input voltage Output voltage Operating temperature range Min. 2.0 0 0 -40 Parameter VT+ VTVIH VIL VOL Positive going threshold voltage (*1) Negative going threshold voltage (*1) "H" input voltage (*2) "L" input voltage (*2) "L" output voltage IO Output leakage current IIH IIL "H" input current "L" input current Icc Quiescent supply current *1 : DI, CLK, /CS, /S *2 : D1~D24 REJ03F0258-0100 Rev.1.00 Jan.08.2008 Page 4 of 7 Max. 6.0 Vcc Vcc 85 ELECTRICAL CHARACTERISTICS Symbol Limits Typ. Unit V V V oC (Vcc=2.0~6.0V, Ta=-40~85oC, unless otherwise noted) Test conditions Vo=0.1V, Vcc-0.1V l Io l=20uA Vcc=4.5V, IOL=5mA Vo=Vcc Vcc=6V Vo=GND VI=Vcc, Vcc=6V VI=GND, Vcc=6V VI=Vcc, GND Vcc=6V Min. 0.35 x Vcc 0.20 x Vcc 0.75 x Vcc Limits Typ. Max. 0.80 x Vcc 0.65 x Vcc Unit V V V V V 0.25 x Vcc 0.5 10 -10 1 -1 uA 200 uA uA R8A66151SP SWITCHING CHARACTERISTICS Symbol fmax tPLZ tPZL tPLZ tPZL tPLZ Parameter Test conditions Maximum repeat frequency Output "L-Z" and "Z-L" propagation time CLK - DO Output "L-Z" and "Z-L" propagation time /CS - D1~D24 Output "L-Z" propagation time /S - DO, /S - D1~D24 Symbol tsu th trec Min. Limits Typ. CL=50pF RL=1kΩ (note1) Unit Max. 1.9 400 400 400 400 MHz ns ns ns ns 400 ns (Vcc=2.0~6.0V, Ta=-40~85oC, unless otherwise noted) TIMING REQUIREMENTS tw (Vcc=2.0~6.0V, Ta=-40~85oC, unless otherwise noted) Parameter Test conditions CLK, /CS, /S pulse width Setup time of DI to CLK Setup time of /CS to CLK Setup time of D1~D24 to /CS Hold time of DI to CLK Hold time of /CS to CLK Hold time of D1~D24 to /CS Recovery time of /CS to /S Min. 260 130 130 130 130 130 130 130 Limits Typ. Max. Unit ns ns ns ns ns ns ns ns NOTE1: TEST CIRCUIT Input Vcc Vcc RL P.G. 50 Ω DO, D1~D24 DUT GND CL (1) The pulse generator (P.G.) has the following characteristics (10%~90%) tr=6ns, tf=6ns, Zo=50 Ω (2) The capacitance CL includes stray wiring capacitance and the probe input capacitance. REJ03F0258-0100 Rev.1.00 Jan.08.2008 Page 5 of 7 R8A66151SP TIMING DIAGRAM tw CLK tw 50% 50% CS 50% tPLZ tPZL DO 50% 50% tsu 50% CLK th 50% 50% 10% tw CS tw 50% 50% tPLZ tPZL D1~D24 tw 50% 50% tPLZ DO, D1~D24 DI 10% 50% 50% tsu CLK D1~D24 th 50% 50% 50% tsu CS th 50% REJ03F0258-0100 Rev.1.00 Jan.08.2008 Page 6 of 7 50% trec 50% 10% S S 50% CS 50% R8A66151SP PACKAGE OUTLINE Package 32pin SOP RENESAS Code PRSP0032DD-A Previous Code 32P2X-A All trademarks and registered trademarks are the property of their respective owners. REJ03F0258-0100 Rev.1.00 Jan.08.2008 Page 7 of 7