Rev.1.1_00 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) S-7750C The S-7750C is a programmable port controller IC comprised of an E2PROM, a control circuit for data output, a circuit to prevent malfunction caused by low power supply voltage and others. This IC operates at 400 kHz and interfaces with exteriors via I2C-bus. Using a serial signal, users can control both of the 8ch digital output “H” or “L” and delay time which can be set at each channel. For the digital output pins at the 8 channels, the default value and inverted delay time are settable at each port. This IC is effective to control ON / OFF the chips surrounding MPU. And this IC maintains the default value for control despite power-off due to the included E2PROM. Features • • • • • • • • • • • Operating voltage range: 2.3 to 4.5 V 8ch digital output Operating frequency of I2C-bus interface: 400 kHz Function to prevent malfunction during low power supply voltage operation Low current consumption at standby: 3.0 µA Max. (VCCH = 4.5 V) Built-in E2PROM circuit 2 105 cycles / word*1 (at −40 to +85 °C) E PROM endurance: 2 10 years (after rewriting 105 cycles / word) E PROM data retention: 2 Function to protect Write in E PROM Lead-free product Small package: WLP-16A *1. For each address (Word: 8-bit) Application • • • • Mobile phone Portable communication device Digital still camera Digital video camera Package Package Name WLP-16A Drawing Code Package Tape Reel HA016-A HA016-A HA016-A Seiko Instruments Inc. 1 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Pin Configuration WLP-16 Bottom View A1 A2 A3 A4 CLK SCL WP VCCH B1 B2 B3 B4 DO7 VSS SDA DO0 C1 C2 C3 C4 DO6 TIMEN DO3 DO1 D1 D2 D3 D4 DO5 DO4 VCCL DO2 (1.93×2.07×0.6 max.) Figure 1 List of Pin Table 1 WLP-16A List of Pin Pin No. A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4 D1 D2 D3 D4 2 Pin name CLK SCL WP VCCH DO7 VSS SDA DO0 DO6 TIMEN DO3 DO1 DO5 DO4 VCCL DO2 Description Input for external clock Input for serial clock Input for Write protect Power supply Output port 7 GND Serial data I/O Digital output port 0 Digital output port 6 Input for timer enable Digital output port 3 Digital output port 1 Digital output port 5 Digital output port 4 Power supply for output port Digital output port 2 Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Block Diagram VCCL VCCH VCCH VCCL 2 E PROM 8-bit × 12 DO0 WP SDA SCL Interface Circuit DO1 Data Register, Mode Decode Logic Data Output Controller Control Port Register (High / Low setting) (Delay time setting) TIMEN DO2 DO3 DO4 DO5 DO6 DO7 Timer Scale Setting Register Timer Setting Register Circuit for Prevention Malfunction by Low Voltage VSS Timer Enable Register Decoder Dividing Circuit Oscillation Circuit CLK Figure 2 Seiko Instruments Inc. 3 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C General Description of Pin Function 1. SDA (Serial data I/O) pin The SDA pin transmits serial data bi-directionally, is comprised of a signal input pin and a pin with Nch transistor open drain output. In use, generally, connect the SDA line to any other device which has the open-drain or open-collector output with Wired-OR connection by pulling up to VCCH by a resistor. 2. SCL (Input for serial clock) pin The SCL pin is an input pin for serial clock, processes a signal at a rising / falling edge of SCL clock. Pay attention fully to the rising / falling time and comply with specifications. 3. WP (Input for Write protect) pin This pin performs Write Protect to E2PROM (This pin does not have a function for Write protect to the register). Set the WP pin in VCCH when using the Write Protect function. If not, set the WP pin to GND. 4. TIMEN (Input for timer enable) pin This pin controls enable (“H”) /disable (“L”) / start (“L”→”H”) in the timer action (inversion of digital output due to elapsed period). Regarding the timer action, refer to “ Command” and “ Condition to start timer, Port Output and Register”. When raising VCCH and TIMEN simultaneously, set VCCH ≥ 2.5 V. 5. CLK (Input for external clock) pin As primary clock in the circuit action, users are able to use clock either from the internal oscillation circuit or input it externally by option. Users can input clock from this pin in case of using external clock. If not, connect this pin to VCCH or GND. 6. DO7 to DO0 (Digital output) pin These pins are for the digital output port. Their values are equal to the ones of a control port register during output. Its output inverts after; the timer starts and delay time has elapsed. Regarding the timer action, refer to “ Command” and “ Condition to start timer, Port Output and Register”. 7. VSS pin Connect to GND. 8. VCCH pin Except for the output ports, the power supply is applied to the entire circuit via this pin. Regarding the voltage’s value to be applied to this pin, refer to “ Recommended Operating Conditions”. 9. VCCL pin This pin is to apply the power supply for the output ports. Regarding the voltage’s value to be applied to this pin, refer to “ Recommended Operating Conditions”. 4 Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Equivalent Circuit of I/O Pin This IC’s I/O pin does not have an element of pull-up or pull-down. The SDA line has an open drain output. The followings are equivalent circuits. SCL, TIMEN, CLK Figure 3 SCL, TIMEN, CLK Pin SDA Open drain output Figure 4 SDA Pin WP Figure 5 WP Pin VCCL DO Figure 6 DO Pin and VCCL Pin Seiko Instruments Inc. 5 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Absolute Maximum Ratings Table 2 Item Symbol Rating Unit Power supply voltage1 VCCH −0.3 to +7.0 V Power supply voltage2 VCCL −0.3 to VCCH V Input voltage VIN −0.3 to VCCH + 0.3 V Output voltage (SDA) VOUT1 −0.3 to VCCH V Output voltage (DO) VOUT2 −0.3 to VCCL V Operating ambient temperature Topr −40 to +85 °C Storage temperature Tstg −65 to +150 °C Caution The absolute maximum ratings are rated values exceeding which the product could suffer physical damage. These values must therefore not be exceeded under any conditions. Recommended Operating Conditions Table 3 Item Power supply voltage Output power supply voltage High-level input voltage Low-level input voltage Symbol VCCH VCCL VIH VIL Option Read, Write − VCCH = 2.3 to 4.5 V VCCH = 2.3 to 4.5 V Min. 2.3*1 1.5 0.7 × VCCH 0.0 Typ. − − − − Max. 4.5 VCCH*2 VCCH 0.3 × VCCH Unit V V V V *1. Set VCCH ≥ 2.5 V when raising VCCH and TIMEN simultaneously. *2. Set the voltage of VCCL as VCCH ≥ VCCL. Pin Capacitance Table 4 Item Symbol Input capacitance CIN Input / output capacitance CI / O Pin SCL, WP, TIMEN, CLK SDA, DO (Ta = 25°C, f = 1.0 MHz, VCCH = 3 V) Min. Typ. Max. Unit Condition VIN = 0 V − − 10 pF VI / O = 0 V − − 10 pF Endurance Table 5 Item Symbol Operating Temperature Endurance NW −40 to +85°C *1. For each address (Word: 8-bit) 6 Min. 105 Seiko Instruments Inc. Typ. − Max. − Unit cycles / word*1 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C DC Electrical Characteristics Table 6 DC Characteristcs 1 Item Symbol Condition*1 Current consumption during standby ISB fSCL = 0 Hz, TIMEN Pin = “L” Current consumption (READ) ICC1 fSCL = 400 kHz, TIMEN Pin = “L” Current consumption (WRITE) ICC2 fSCL = 400 kHz, TIMEN Pin = “L” Current consumption during operation of internal ICC3 − oscillation circuit *1. The total current consumption when VCCH = VCCL. No load on pins DO7 to DO0. VCCH = VCCL = 2.3 to 4.5 V Min. Typ. Max. − − 3.0 − − 0.8 − − 4.0 − − 0.8 Unit µA mA mA mA Table 7 DC Characteristcs 2 Item Symbol Input current Output leakage current (SDA) ILI ILO Low-level output voltage (SDA) VOL1 Low-level output voltage (DO) VOL2 High-level output voltage (DO) VOH2 Condition VIN = GND to VCCH VOUT = GND to VCCH IOL = 3.2 mA IOL = 1.5 mA IOL = 100 µA VCCL = VCCH to 1.5 V VCCL = VCCH to 2.0 V IOH = −100 µA VCCL = VCCH to 1.5 V IOH = −10 µA Seiko Instruments Inc. VCCH = 2.3 to 4.5 V Min. Typ. Max. − 0.1 1.0 − 0.1 1.0 − − 0.4 − − 0.3 Unit µA µA V V − − 0.1 V VCCL−0.3 − − V VCCL−0.3 − − V 7 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C AC Electrical Characteristics VCCH Table 8 Measurement Conditions VIL = 0.1×VCCH, VIH = 0.9×VCCH 20 ns 0.5×VCCH 100 pF+ Pull-up resistor 1.0 kΩ Input pulse voltage Rising / falling time of input pulse Output reference voltage Output load SDA R = 1.0 kΩ C = 100 pF Figure 7 Output Load Circuit Table 9 AC Electrical Characteristics Item Symbol SCL clock frequency *1 fSCL SCL clock time “L” *1 tLOW SCL clock time “H” *1 tHIGH SDA output delay time *1 tAA SDA output hold time *1 tDH Start condition setup time *1 tSU.STA Start condition hold time *1 tHD.STA Data input setup time *1 tSU.DAT Data input hold time *1 tHD.DAT Stop condition setup time *1 tSU.STO SCL, SDA rise time *1 tR SCL, SDA fall time *1 tF Bus release time *1 tBUF Noise suppression time tI *2 Frequency for external oscillation input fTEX *1. The timing is defined by 10% and 90% of the waveform. *2. When selecting the option for external oscillation input. tF tHIGH VCCH = 2.3 to 4.5 V Min. Typ. Max. 0 − 400 1.0 − − 0.9 − − − − 0.9 50 − − 0.6 − − 0.6 − − 100 − − 0 − − 0.6 − − − − 0.3 − − 0.3 1.3 − − − − 50 − − 400 Unit kHz µs µs µs ns µs µs ns ns µs µs µs µs ns kHz tR tLOW SCL tSU.STA tHD.DAT tHD.STA tSU.DAT tSU.STO SDA IN tAA tDH SDA OUT Figure 8 Bus Timing 8 Seiko Instruments Inc. tBUF PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Table 10 Characteristics of Period Item Symbol Min. Typ. Max. Unit Write period to E2PROM tWR − 2.0 5.0 ms Delay time accuracy (short-time setting)*1 0.8×T T 1.2×T µs tDLY1 Delay time accuracy (long-time setting)*1 0.8×LT LT 1.2×LT µs tDLY2 *1 Timeout − 9×LT − µs tOUT *1. Refer to “Figure 16 Timer Setting Register DO7 to DO0 / E2PROM” “Figure 17 Example of Using Timer Setting for DO7 to DO0 Register”. T represents time reference (timer scale) in the short-time setting. LT represents time reference (timer scale) in the long-time setting. tWR SCL SDA B0 Stop Condition Start Condition Write Data Acknowledgement Signal Figure 9 Write Cycle Timing Seiko Instruments Inc. 9 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Device Addressing To start communication, the master device (MPU) on the system generates a start condition for the slave device (S-7750C). After that, the master device sends a device address with 7-bit and Read / Write instruction code with 1-bit on the SDA bus. The higher 3 bits in a device address (DC2, DC1, DC0) are device codes. The fixed value which users selected by option (either one of 000, 001, 010, 011, 100, 101, 110, 111) is a device code. Command is omitted if a device code does not correspond. The next 1-bit TA / C is a bit for timer address setting / command switch. When TA / C = “1”, the next 3 bits (C2, C1, C0) are used as address, when TA / C = “0”, (C2, C1, C0) are used as command for the timer setting register. Device Code STA Acknowledgment Read / Write bit Signal Timer address setting / command switch Start Condition DC2 DC1 Address / command DC0 TA / C C2 C1 C0 MSB R/W ACK Stop Condition LSB Register data B7 B6 B5 B4 B3 B2 B1 MSB LSB Figure 10 Device Addressing 10 B0 Seiko Instruments Inc. ACK STP PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Configuration of Command If setting TA / C , the bit for timer address setting / command switch, in “0”, address / command (C2, C1, C0) is recognized as command. There are 8 types of command, and Read / Write in each register is done by them. If setting the bit for timer address setting / command switch (TA / C) in “1”, the S-7750C recognizes this command as timer setting for DO0 to DO7. Table 11 List of Command Command TA / C C2 C1 C0 Reload ( R / W fixed to 0) Switching access to register / E2PROM 0 0 0 0 0 0 0 1 Timer enable register 0 0 1 0 Do not use (Do not access) 0 0 1 Free area 1*3 0 1 0 0 1 Timer scale setting 0 Free area 2*3 0 *3 *3 R/W B7 B6 B5 Data B4 B3 B2 B1 B0 W 0 / 1*2 -*1 1 W - TEN7 TEN6 TEN5 TEN4 TEN3 TEN2 TEN1 TEN0 - 0 R/W 0 1 R/W 1 1 0 R/W TS7 TS6 TS5 TS4 TS3 TS2 TS1 TS0 1 1 1 R/W F27 F26 F25 F24 F23 F22 F21 F20 1 0 0 0 R/W 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T Timer setting for DO1 1 0 0 1 R/W 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T Timer setting for DO2*3 1 0 1 0 R/W 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T *3 1 0 1 1 R/W 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T *3 Timer setting for DO4 1 1 0 0 R/W 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T Timer setting for DO5*3 1 1 0 1 R/W 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T *3 1 1 1 0 R/W 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T *3 Control port *3 Timer setting for DO0 Timer setting for DO3 Timer setting for DO6 -*1 F17 F16 F15 F14 F13 F12 F11 F10 CTR7 CTR6 CTR5 CTR4 CTR3 CTR2 CTR1 CTR0 *3 Timer setting for DO7 1 1 1 1 R / W 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T *1. By inputting dummy data, the master device sends data in 18-bit during transmission. However, the S-7750C executes the command when it has loaded 9-bit. Regarding acknowledgment, refer to “ Operation 4. Acknowledgment”. *2. R / W = “0”; register access mode, R / W = “1”; E2PROM access mode *3. To switch access to register / E2PROM, use the “Switching access to register / E2PROM” command. When rewriting the E2PROM, the register is rewritten simultaneously. Register and E2PROM In the S-7750C, the register and the E2PROM correspond each other. The S-7750C maintains the default value for control despite power-off due to the included E2PROM. The data in the register is installed in the E2PROM by using the reload command. And the data in the E2PROM is automatically installed into the register when power-on and the lower power supply voltage is applied. Restoring the default value for control is possible any time due to these functions. These 12 commands have the configuration in which the register and E2PROM correspond. ・Free area 1, 2 ・Control port ・Setting for timer scale ・Timer setting for DO7 to DO0 Users are able to switch access between corresponding register and E2PROM by the “Switching access to register / E2PROM” command. Immediately after power-on, the S-7750C is in the “register access mode”. In this register access mode, only the register is rewritten, the E2PROM maintains the prior data. But in the “E2PROM access mode”, data both in the register and the E2PROM is rewritten. In data Read, access mode data which is being selected by user; is read. Seiko Instruments Inc. 11 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Command 1. Reload This is a 1-byte command. Set bit R / W in “0”. When inputting this command, all registers to be reloaded are once set in “0”, the data which correspond to the E2PROM is loaded to the register. However, the data in the E2PROM does not change. The output ports (DO7 to DO0) output “L” once regardless of the data in the control-port register / E2PROM. If the TIMEN pin is in “H”, the timer starts its action. Besides, port output (DO7 to DO0) is inverted after the time has elapsed; the time set both by a timer scale setting register and a timer setting register. This is “a timer action”. This is active from the start to timeout. Regarding the action, refer to “ Condition to start timer, Port Output and Register”. 2. Switching access to register / E2PROM This is a 1-byte command. The mode is in the “register access mode” when R / W = “0”, “E2PROM access mode” when R / W = “1”. Immediately after power-on, the S-7750C is in the “register access mode”. In this register access mode, only the register is rewritten, the E2PROM maintains the prior data. But in the “E2PROM access mode”, both data in the register and in the E2PROM is rewritten. In data Read, access mode data which is being selected by user; is read. 3. Timer enable register A timer enable register is an 8-bit register for Write only (it sends back “FFh” during Read). When the TIMEN pin is in “H”, Write “1” in each bit in the register starts the timer action. The timer action starts at the moment that S-7750C has received all data of the timer enable command. After writing “1” in the timer enable register, the bit automatically goes back in “0”. If setting this register in “00h” and the timer setting register in “00h”, a timer does not work. During the timer action it is impossible to do Write in the timer enable register. A timer enable register is not the one to be reloaded, because it does not have the corresponding E2PROM. B7 MSB B6 B5 B4 B3 B2 B1 B0 TEN 3 TEN 2 TEN 1 TEN 0 TEN 7 TEN 6 TEN 5 TEN 4 W W W W W W W W TEN7 to TEN0 = 0 : DO7 to DO0 Disable to invert output TEN7 to TEN0 = 1 : DO7 to DO0 Enable to invert output Figure 11 Timer Enable Register 12 LSB Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 4. Control port A control port register is an 8-bit register. Users can set output at each output port (DO7 to DO0). The data in this register is “1”, output from port is “H”. If “0”, output from port is “L”. This register is the one to be reloaded by command. B6 B7 MSB B5 B4 B3 B2 B1 B0 CTR2 CTR1 CTR0 LSB CTR7 CTR6 CTR5 CTR4 CTR3 R/W R/W R/W R/W R/W R/W R/W R/W CTR7 to CTR0 = 0 : output from DO7 to DO0 = “L” CTR7 to CTR0 = 1 : output from DO7 to DO0 = “H” Figure 12 Control Port Register / E2PROM 5. Timer scale setting A timer scale setting register is an 8-bit register. Output at each port (DO7 to DO0) is inverted in delay time; using this register, users can set time reference of delay time (scale) either in a short-time or a long-time setting. Setting “0” in the data in this register, sets time reference (scale) as a long period setting, if “1”, sets time reference (scale) as a short-time setting. This register is the one to be reloaded by command. MSB B7 B6 B5 B4 B3 B2 B1 B0 TS7 TS6 TS5 TS4 TS3 TS2 TS1 TS0 R/W R/W R/W R/W LSB R/W R/W R/W R/W TS7 to TS0 = 0 : Timer scale DO7 to DO0 Long-time setting TS7 to TS0 = 1 : Timer scale DO7 to DO0 Short-time setting Figure 13 Timer Scale Setting Register / E2PROM 6. Free area 1, Free area 2 Both of free area 1 and 2 are 8-bit registers. Users are able to use these registers freely, and these registers do not affect on other functions of the S-7750C. These free area 1 and 2 registers are the ones to be reloaded by command. MSB B7 B6 B5 B4 B3 B2 B1 B0 F17 F16 F15 F14 F13 F12 F11 F10 R/W R/W R/W R/W R/W R/W R/W R/W LSB Figure 14 Free Area 1 Register / E2PROM MSB B7 B6 B5 B4 B3 B2 B1 B0 F27 F26 F25 F24 F23 F22 F21 F20 R/W R/W R/W R/W R/W R/W R/W R/W LSB Figure 15 Free Area 2 Register / E2PROM Seiko Instruments Inc. 13 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 7. DO7 to DO0 Timer setting A timer setting register is an 8-bit register, and for each output port (DO7 to DO0), users can set delay time which makes port output inverted after the timer action starts. Delay time at each output port (DO7 to DO0) is set as seen in Figure 16. Set “1” in a 1-bit only. This is the data to be set in each timer setting register. Regarding the timer setting, the following options are selectable. ・ Option to select timer clock (internal oscillation clock / external input clock) ・ Option for delay time (×1 / ×2) Time reference for timer setting register is defined by these 2 types of option and the timer scale setting register. (1) When using an internal clock (Typ.) Option A : (Short-time setting scale, long-time setting scale) = (T, LT) = (5 µs, 320 µs) Option B : (Short-time setting scale, long-time setting scale) = (T, LT) = (10 µs, 640 µs) (2) When using an external clock (Period of input clock = T’) Option A : (Short-time setting scale, long-time setting scale) = (T, LT) = (T’, 64×T’) Option B : (Short-time setting scale, long-time setting scale) = (T, LT) = (2×T’, 128×T’) In Figure 16, a timer scale setting register has a short-time setting. In the long-time setting, the port in which the timer scale setting register is set T changes into LT. For example, if setting the option to the register as seen below, in DO7, output from the port is inverted after 35 µs (7×5 µs). Other examples are shown in Figure 17. ・ ・ ・ ・ Option to select timer clock = clock from internal oscillation circuit Option for delay time = ×1 Timer scale setting register = 80 h DO7 timer setting register = 40 h Setting “00h” in the register does not make port output inverted. A timer setting register is the one to be reloaded by command. MSB B7 B6 B5 B4 B3 B2 B1 B0 DO7 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T DO6 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T DO5 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T DO4 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T DO3 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T DO2 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T DO1 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T DO0 8×T 7×T 6×T 5×T 4×T 3×T 2×T 1×T R/W R/W R/W R/W R/W R/W R/W R/W Figure 16 Timer Setting Register DO7 to DO0 / E2PROM 14 Seiko Instruments Inc. LSB PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Example 1. When using an internal clock Example 1-1 In case of; Timer scale register “1” (short-time setting), Delay time option “A” (×1 setting); (T = 5 µs) Example 1-2 In case of; Timer scale register “0” (long-time setting), Delay time option “A” (×1 setting); (LT = 320 µs) MSB B7 B6 B5 B4 B3 B2 B1 B0 Example 1-1 40 µs 35 µs 30 µs 25 µs 20 µs 15 µs 10 µs 5 µs Example 1-2 2.56 ms 2.24 ms 1.92 ms 1.60 ms 1.28 ms 0.96 ms 0.64 ms 0.32 ms LSB Example 2. When using an external clock (100 KHz, T’ = 10 µs) Example 2-1 In case of; Timer scale register “1” (short-time setting), Delay time option “B” (×2 setting); (T = 2×T’ = 20 µs) Example 2-2 In case of; Timer scale register “0” (long-time setting), Delay time option “B” (×2 setting); (LT = 128×T’ = 1280 µs) MSB B7 B6 B5 B4 B3 B2 B1 B0 Example 2-1 160 µs 140 µs 120 µs 100 µs 80 µs 60 µs 40 µs 20 µs Example 2-2 10.24 ms 8.96 ms 7.68 ms 6.40 ms 5.12 ms 3.84 ms 2.56 ms 1.28 ms LSB Figure 17 Example of Using Timer Setting for DO7 to DO0 Register Seiko Instruments Inc. 15 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Condition to start timer, Port Output and Register The timer action starts when either condition is satisfied. However, if “00h” is set in the timer setting register, timer action does not start. 1. 2. 3. 4. When power-on (the TIMEN pin is in “H”) When the TIMEN pin changes from “L” to “H” While the TIMEN pin is in “H”, users do Write any commands other than “00h” in the timer enable register. While the TIMEN pin is in “H”, the power supply voltage exceeds the level of release voltage of the circuit for prevention malfunction by low voltage (2.05 V typ.). 5. While the TIMEN pin is in “H”, users set the reload command. Starting a timer action makes output from the DO7 to DO0 pins inverted after the period set by a timer has elapsed. Figure 18 shows the timing chart of 1, 2, and 3. Set VCCH ≥ 2.5V when raising VCCH and TIMEN simultaneously. Power supply voltage VCCH / VCCL 2.05 V Typ. Signal of low power supply voltage detection TIMEN pin Data loading Start of timer action due to power-on Start of timer action by setting TIMEN pin “L” → “H” Start of timer action by Write in timer enable register Oscillation circuit EN Time out Delay time by timer setting for DO1 Time out Delay time by timer setting for DO1 Time out Delay time by timer setting for DO1 DO1 pin (When E2PROM CTR1 = 0) Reload starts CTR1 register *1 (When E2PROM CTR1 = 0) *1 Delay time by timer setting for DO0 *1 Delay time by timer setting for DO0 Delay time by timer setting for DO0 DO0 pin (When E2PROM CTR1 = 1) Reload starts *1 *1 *1 CTR0 register (When E2PROM CTR1 = 1) Period to define data *2 *1. The value of control port register does not change even if the port output is inverted by timer action. *2. A period to define data is; the loading period from E2PROM + the period to stabilize the output from DO7 to DO0 pin = within 100 µs. Figure 18 Example of Condition to Start Timer Action 1 16 Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Figure 19 shows the timing chart of 4 and 5. In the S-7750C, when the power supply voltage reaches the level of detection voltage of the circuit for prevention malfunction by low voltage (1.75 V typ.), the DO7 to DO0 pins and the register go in “L”. After that, the power supply voltage reaches the level of release voltage of the circuit for prevention malfunction by low voltage (2.05 V typ.), data is loaded to the register from the E2PROM so that the timer action starts. Regarding the circuit for prevention malfunction by low voltage, refer to “ Action of Circuit for Prevention Malfunction by Low Voltage”. When the S-7750C receives the reload command, the register is initialized so that the DO7 to DO0 pins once go in “L”. When it receives a stop condition, data is loaded to the register from the E2PROM so that the DO7 to DO0 pins output the default value. At this moment, the timer action starts thus output from DO7 to DO0 pins is inverted after the period set by timer. Power supply voltage VCCH / VCCL 2.05 V Typ. 1.75 V Typ. Signal of low power supply voltage detection TIMEN pin Data loading Exceeded the release voltage of low supply voltage detection (2.05 V); Timer action starts Time out Time out Timer action starts by reloading Oscillation circuit EN Device code Start condition ACK Reload instruction Stop condition SDA SCL Delay time by timer setting for DO1 Delay time by timer setting for DO1 DO1 pin (When E2PROM CTR1 = 0) CTR1 register *3 *2 Reload starts *1 *1 (When E2PROM CTR1 = 0) Delay time by timer setting for DO0 DO0 pin Delay time by timer setting for DO0 *2 (When E2PROM CTR1 = 1) Reload starts CTR0 register Reload starts *1 Reload starts *1 *3 (When E2PROM CTR1 = 1) Period to define data *4 Period to define data *4 *1. The value of control port register does not change even if the port output is inverted by timer action. *2. Goes in “L” once during S-7750C recognizing the reload command to receiving a stop condition. *3. Goes in “L” when the power supply voltage reaches the level of the circuit for prevention malfunction by low voltage. 2 *4. A period to define data is; the loading period from E PROM + the period to stabilize the DO7 to DO0 pin = within 100 µs. Figure 19 Example of Condition to Start Timer Action 2 Seiko Instruments Inc. 17 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Flowchart of Data Loading from E2PROM and Timer Action Power-on Loading each data from 2 E PROM to register DO pin outputs default value No TIMEN pin = “H”? Yes TIMEN pin “L” → “H”? No Yes Timer setting register is in “1”? No Yes Timer action starts DO output inverts after set time has elapsed TIMEN pin “H” → “L”? No Yes Timer enable register “0” → “1”? Yes Figure 20 Flowchart of S-7750C’s Action 18 Seiko Instruments Inc. No PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Operation 1. Start condition A start condition starts by changing the SDA line from “H” to “L” while the SCL line is “H”. Input a start condition first when inputting a command via I2C-bus interface. 2. Stop condition A stop condition starts by changing the SDA line from “L” to “H” while the SCL line is “H”. Input a stop condition in the end when inputting a command via I2C-bus interface. “H” “H” SCL SDA Start Condition Stop Condition Figure 23 Start / Stop Condition 3. Data transfer The S-7750C loads data in the SDA line at a rising edge of the SCL line. Change the SDA line while the SCL line is “L” during the data transmission. If changing the SDA line while the SCL line is “H”, the S-7750C goes in the start or stop condition status. SCL “L” “L” “L” SDA Figure 24 Data Transfer Timing Seiko Instruments Inc. 19 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 4. Acknowledgment Data is transmitted sequentially in 8-bit. Changing the SDA line to “L” indicates that the devices on the system bus have received data, thus the devices send an acknowledgment signal back during the 9th clock of cycle. The S-7750C does not send an acknowledgment signal back during the Write operation. SCL (Input) 1 8 9 SDA (Master device’s output) Acknowledgment signal output SDA (Output) Start Condition Figure 23 Acknowledgment Output Timing 1 The both commands, reload command and switching access to register / E2PROM command are 1-byte, but inputting them as the command 2-byte or more is possible by adding dummy data. However, the S-7750C executes the command at the moment that it has loaded 9-bit. And in this case, inputting clock 2-byte or more after inputting these commands makes the SDA pin set in high-impedance. However, in the acknowledgment timing, S-7750C sends acknowledgment signal back regardless of the setting at R / W bit. Figure 24 shows the output timing of acknowledgment signal. Start Condition Stop Condition SCL SDA High-Impedance Device Code R/W Command (0000 or 0001) Figure 24 20 High-Impedance Acknowledgement Signal from S-7750C Acknowledgment Output Timing 2 Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 5. Read operation When the S-7750C receives the 7-bit device address and the Read / Write instruction code “1” after receiving a start condition, it generates an acknowledgment signal. Next, 8-bit data is output from the S-7750C synchronizing with the SCL clock. After that, the master device sends a stop condition, not an acknowledgment signal in order to finish the Read operation. S T A R T DEVICE ADDRESS NO ACK from Master Device R E A D DATA D D D TA C C C / C2 C1 C0 1 2 1 0 C SDA LINE M S B L R S / B W S T O P B7 B6 B5 B4 B3 B2 B1 B0 A C K Figure 25 Read 6. Write operation 6. 1 Write When the S-7750C receives the 7-bit device address and the Read / Write instruction code “0” after receiving a start condition, it generates an acknowledgment signal. Next, after it receives the 8-bit word address and generates an acknowledgment signal, it receives a stop condition to finish the Write command. In the Write operation to the E2PROM, the Write operation starts with a stop condition, the S-7750C finishes it after the period to Write (max. 5 ms) has elapsed. During Write to the E2PROM, all operations are inhibited to be performed and the S-7750C does not send back any acknowledgment signals for command inputs. S T A R T SDA LINE DEVICE ADDRESS W R I T E S T O P DATA D C 2 D D TA C C / C2 C1 C0 0 1 0 C M S B L R S / B W B7 B6 B5 B4 B3 B2 B1 B0 A C K A C K Remark Users are not necessary to input data (8-bit) and the next acknowledgment for the reload command, the switching access to register / E2PROM command. If inputting data in this timing, data is regarded as dummy, the next acknowledgement signal is generated. Figure 26 Byte write Seiko Instruments Inc. 21 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 6. 2 Write Protect Write protect is available in the S-7750C. When the WP pin is connected to VCCH, the Write operation in all memory area is inhibited. When the WP pin is connected to GND, Write protect becomes invalid so that the Write operation in all memory area is accepted. Fix the WP pin during the period; from rising of SCL at installing the last bit (B0) in Write data until the completion of Write period (max. 5 ms). Written data in the address is not assured if the condition of the WP pin is changed during this period. Be sure to connect the WP pin to GND when you don’t use Write Protect. Write Protect is valid in the range of power supply voltage. tWR SCL B0 SDA Write Data Acknowledgment signal Stop Condition Start Condition WP Period to fix WP pin Figure 27 Period to Fix WP Pin 6. 3 Acknowledgment polling Acknowledge polling is used to find when the Write operation has completed. After receiving a stop condition the Write operation has once started, all operations are inhibited to be performed so that the S-7750C cannot respond to the signals transmitted from the master device. The master device sends a start condition, the device address and Read / Write instruction code to the S-7750C (slave device), and detects the response from the slave device. It is possible to find when the Write operation has completed. Thus if the slave device does not send an acknowledgment signal back, the Write operation is in progress. If it sends an acknowledgment signal back, the Write operation has completed. Fix the WP pin until an acknowledgment is confirmed. It is recommended to use the Read instruction “1” for the Read / Write instruction code transmitted from the master device during acknowledgment polling. 6. 4 Irregular action In the middle of inputting Write data, if inputting a stop condition in clock less than the specified data length (8-bit), the S-7750C does not perform Write to the E2PROM. And it either does not perform Write to the E2PROM if receiving a stop condition after receiving data over 9-bit. However, data in the register has been rewritten at the point when the S-7750C has received the specified length data. Be sure not to input clock which exceeds the specified value due to noise or other causes. 22 Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Example of Flowchart for Software 1. Read / Write in register The example of flowchart for software when accessing to the control port register is shown in Figure 28. START 1-byte command Switching access to 2 E PROM / register *1 (ST, DC2 to DC0, 0001, 0, ACK, SP) 2-byte command Access to control port register • Write (ST, DC2 to DC0, 0101, 0, ACK, CTR7 to CTR0, ACK, SP)*1 • Read (ST, DC2 to DC0, 0101, 1, ACK, CTR7 to CTR0, ACK, SP)*1 END *1. ST DC2 to DC0 ACK CTR7 to CTR0 SP : Start condition : Device code : Acknowledgment : Control port register : Stop condition Figure 28 Flowchart for Software Example 1 2. Read / Write in E2PROM The example of flowchart for software when accessing to the E2PROM is shown in Figure 29. START WP pin = “L”? No Yes Switching access to 2 E PROM / register Access to control port E2PROM 1-byte command (ST, DC2 to DC0, 0001, 1, ACK, SP)*1 2-byte command • Write (ST, DC2 to DC0, 0101, 0, ACK, CTR7 to CTR0, ACK, SP)*1 • Read (ST, DC2 to DC0, 0101, 1, ACK, CTR7 to CTR0, ACK, SP)*1 END *1. ST DC2 to DC0 ACK CTR7 to CTR0 SP : Start condition : Device code : Acknowledgment : Control port register : Stop condition Figure 29 Flowchart for Software Example 2 Seiko Instruments Inc. 23 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Action of Circuit for Prevention Malfunction by Low Voltage The S-7750C has a detection circuit which works with the low power supply voltage, cancels Write in order to reset the internal circuit when power-on and the power supply voltage is dropping. When the power supply voltage is restored and exceeds the level of release voltage, the S-7750C automatically reloads command. The detection voltage is 1.75 V typ., the release voltage is 2.05 V typ., its hysteresis width is approx. 0.3 V. Refer to Figure 30. The S-7750C cancels Write by detecting a low power supply voltage when it receives a stop condition. Both in the data transmission and the Write operation, data in the address written during the low power supply voltage is not assured. Hysteresis width approx. 0.3 V Power supply voltage Starts reloading command automatically Release voltage (+VDET) 2.05 V Typ. Detection voltage (−VDET) 1.75 V Typ. Cancel the Write instruction / Internal circuit in reset Figure 30 24 Action during Low Power Voltage Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C How to Use S-7750C 1. SDA I/O pin and SCL input pin In consideration of I2C-bus protocol function, the SDA I/O and SCL input pins*1 should be connected with a pull-up resister of approx.1 to 5 kΩ. The S-7750C cannot transmit normally without using a pull-up resistor. *1. In the case that the SCL input pin of the S-7750C is connected to the tri-state output pin in the master device, connect the SCL input pin with a pull-up resistor as well in order not to set the SCL input pin in high impedance. This prevents the S-7750C from error caused by high impedance from the tri-state pin when resetting the master device during the voltage drop. 2. Reset after transmission interruption The S-7750C does not have a pin to reset, but it generally resets the internal circuit by inputting a stop or start condition. However, in case that transmission is interrupted, for example, only the master device is reset because the power supply voltage drops during transmission; the internal circuit maintains the status before interruption. If the status is that the SDA pin outputs “L” (outputs an acknowledge signal or in Read), the S-7750C does not perform the next operation because it cannot receive a start or stop condition from the master device. Therefore it is necessary to finish outputting an acknowledgment signal and the Read operation in SDA. Figure 31 shows how to reset. First, input a start condition. (While the SDA pin is outputting “L”, the S-7750C does not go in the start condition but this “L” output does not affect on the slave device.) Next, input clock (27 clocks) which is equivalent to 3-byte data access from the SCL pin. During this procedure, pull up the SDA line which is connected closer to the master device. Due to this, the SDA pin’s I/O prior to transmission interruption ends so that the SDA pin goes in “H”. After that, by inputting a stop condition, the S-7750C returns to the status possible to perform the general transmission. It is recommended to perform this reset when you initialize, after power-on the master device. A circuit for prevention malfunction by a low power supply voltage is equipped in the S-7750C, thus it automatically resets internally when a low voltage is applied to the S-7750C. Start Condition 1 SCL Stop Condition Clock equivalent to 3-byte data access 2 8 9 26 27 SDA Master SDA Slave “L” or “High-Z” “L” or “High-Z” “L” or “High-Z” “High-Z” “High-Z” “High-Z” Figure 31 How to Reset S-7750C Seiko Instruments Inc. 25 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 3. Acknowledgment check The I2C-bus protocol includes an acknowledgment check function as a handshake function to prevent a communication error. This function allows detection of a communication failure during data communication between the master device and the S-7750C. 4. Power-on-clear circuit The S-7750C has a power-on-clear circuit that initializes itself at the same time during power-on. Unsuccessful initialization may cause a malfunction. To operate the power-on-clear circuit normally, the following conditions must be satisfied to raise the power supply voltage. 4. 1 Raising power supply voltage As shown in Figure 32, raise the power supply voltage from 0.2 V max., within the time defined as tRISE which is the time required to reach the power supply voltage to be set. For example, if the power supply voltage is 3.0 V, tRISE = 100 ms as seen in Figure 33. The power supply voltage must be raised within 100 ms. tRISE (Max.) Power supply voltage (VCCH) VINIT (Max.) 0.2 V 0 V*1 *2 tINIT (Max.) *1. 0 V means there is no difference in potential between the VCCH pin and the VSS pin of the S-7750C. *2. tINIT is the time required to initialize the S-7750C. No instructions are accepted during this time. Figure 32 Raising Power Supply Voltage 26 Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 5.0 4.0 Power supply voltage(VCCH) [V] 3.0 2.0 50 100 150 200 Rise time (tRISE) Max. For example: [ms] If your S-7750C’s supply voltage = 3.0 V, raise the power supply voltage to 3.0 V within 100 ms. Figure 33 Raising Time of Power Supply Voltage When initialization is successfully completed by the power-on-clear circuit, the S-7750C enters the standby status. If the power-on-clear circuit does not operate, the followings are the possible causes. (1) (2) Because the S-7750C has not completed initialization, an instruction previously input is still valid or an instruction may be inappropriately recognized. In this case, S-7750C may perform the Write operation. The voltage drops due to power off while the S-7750C is being accessed. Even if the master device is reset due to the low power voltage, the S-7750C may malfunction unless the conditions for the power-on-clear operation are satisfied. Regarding the conditions for the power-on clear operation, refer to “4.1 Raising power supply voltage”. Seiko Instruments Inc. 27 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 4. 2 Initialization time The S-7750C initializes at the same time when the power supply voltage is raised. Input instructions to the S-7750C after initialization. The S-7750C does not accept any instruction during initialization. Figure 34 shows the initialization time of the S-7750C. (Condition : VCCH = 3.0 V, Ta = 25°C) 100 m 10 m S-7750C initialization time (tINIT) Max. 1.0 m [s] 100 µ 10 µ 1.0 µ 1.0 µ 10 µ 100 µ 1.0 m 10 m 100 m Rise time (tRISE) [s] Figure 34 Initialization Time 5. Data hold time (tHD. DAT = 0 ns) If SCL and SDA of the S-7750C are changed at the same time, the timing which takes to reach the S-7750C slightly lags due to a load on the bus line. As a result, the change in the SDA precedes a falling edge of SCL so that S-7750C may recognize a start/stop condition. To avoid this, in the S-7750C, it is recommended to set the delay time of over 0.3 µs for a falling edge of SCL. In its specs, it is described as the S-7750C works at 0 ns of data hold time, however, take account into the above action in actual use. tHD. DAT = 0.3 µs Min. SCL SDA Figure 35 Data Hold Time 28 Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 6. SDA pin and SCL pin noise suppression time The S-7750C includes a built-in low-pass filter at the SDA and SCL pins to suppress noise. This filter suppresses noise with the width of less than 130 ns when the power supply voltage is 3.0 V. Refer to noise suppression time (tl) in Table 9 regarding details of the assurable value. 400 300 Noise suppression time (tI) Max. [ns] 200 100 0 2.0 3.0 4.0 5.0 Power supply voltage VCCH [V] Figure 36 Noise Suppression Time for SDA and SCL Pins Seiko Instruments Inc. 29 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Precautions • Semiconductor devices must be used within the absolute maximum rating. Special caution is required for the supply voltage. A momentary surge voltage exceeding the rated value may cause latch-up and malfunction. Confirm the detailed usage conditions required for each parameter by referring to the data sheet before use. • If the S-7750C operates with moisture remaining in the circuits, a short circuit may occur between pins, causing a malfunction. When the S-7750C is taken out of the constant-low-temperature bath during evaluation, the pins of the S-7750C may be frosted. Note that, if the S-7750C is operated with the pins frosted, the pins may be short-circuited by moisture, causing a malfunction. The same applies when the S-7750C is used in an environment where condensation may occur, so care is required. • Although the IC contains a static electricity protection circuit, static electricity that exceeds the limit of the protection circuit should not be applied. • Seiko Instruments Inc. assumes no responsibility for the way in which this IC is used in products created using this IC or for the specifications of that product, nor does Seiko Instruments Inc. assume any responsibility for any infringement of patents or copyrights by products that include this IC either in Japan or in other countries. Precautions for WLP Package • The device’s silicon substrate side is exposed to the marking side of the device package. Since this portion has a lower strength against mechanical stress than a standard plastic package, take sufficient care to avoid chips and cracks when handling the package. Moreover, the exposed side of the silicon has the electrical potential of the device substrate, and needs to be kept out of contact with the external potential. • In this package, the transistor area side is overcoated with a translucent resin. Keep in mind that the characteristics of the package may be affected if the device is exposed under an intensive light source. 30 Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Option Three options which are available for the S-7750C and the option tables are shown here. When selecting the option, follow these descriptions. 1. Device code (8 types) Selecting the arbitrary device address code is available (Refer to Figure 10). Table 12 Option List of Device Code No. (0) (1) (2) (3) (4) (5) (6) (7) C2 0 0 0 0 1 1 1 1 C1 0 0 1 1 0 0 1 1 C0 0 1 0 1 0 1 0 1 2. Internal generation of oscillation clock / External input The S-7750C incorporates an oscillator for generating delay time. oscillation clock can be used for the delay time. Table 13 No. (1) (2) Instead of using the oscillator, an external Option List of Oscillation Clock Internal / External Using an internal oscillation circuit Using an external oscillation circuit 3. Delay time The delay time can be selected between A: ×1 and B: ×2. (T’: Oscillation clock cycle (5 µs when using the internal oscillation circuit)). Table 14 Option List of Delay Time No. Delay A B ×1 ×2 Timer scale setting register 1: Delay time for short-time setting (T) 0: Delay time for long-time setting (LT) T’×1 T’×64 T’×2 T’×128 Seiko Instruments Inc. 31 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Option Format When you order the option, fill these tables and contact us. Regarding the details, refer to “ Option”. 1. Switching of device codes No. C2 C1 C0 2. Switching of clock for oscillation to internal generation or external input No. Internal / External No. ×1 / ×2 3. Switching of delay time option Table for Write data to E2PROM Please fill this table and send to our sales office when you order Write data to E2PROM. E2PROM (Command code) Free area 1 (0100) Control port (0101) Timer scale setting (0110) Free area 2 (0111) Timer setting for DO0(1000) Timer setting for D1 (1001) Timer setting for D2 (1010) Timer setting for D3 (1011) Timer setting for D4 (1100) Timer setting for D5 (1101) Timer setting for D6 (1110) Timer setting for D7 (1111) 32 Write data Default FFH 00H FFH FFH 00H 00H 00H 00H 00H 00H 00H 00H Seiko Instruments Inc. Remark − − 1: Short-time, 0: Long-time − 1 for time that you select, 0 for others 1 for time that you select, 0 for others 1 for time that you select, 0 for others 1 for time that you select, 0 for others 1 for time that you select, 0 for others 1 for time that you select, 0 for others 1 for time that you select, 0 for others 1 for time that you select, 0 for others PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Product Name Structure S-7750C x x xx − HCT1 Package name (abbreviation) and IC packing specifications HCT1: WLP-16A, Tape E2PROM code Clock for oscillation circuit, delay time option 0: internal oscillation circuit, delay time; x1 1: internal oscillation circuit, delay time; x2 2: external oscillation circuit, delay time; x1 3: external oscillation circuit, delay time; x2 Device code : 0 to 7 Marking Specification (1) WLP-16A WLP-16A Top view (1), (2) : Lot number C 4 1 0 3 (1) (2) This is an example in S-7750C4103 Seiko Instruments Inc. 33 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C Characteristics (Typical Data) 1. DC Characteristics 1. 1 Current consumption (READ) ICC1 vs. Ambient temperature Ta 1. 2 Current consumption (READ) ICC1 vs. Ambient temperature Ta 0.4 0.4 VCCH = 4.5 V fSCL = 400 kHz VCCH = 3.0 V fSCL = 400 kHz 0.3 ICC1 [mA] ICC1 [mA] 0.3 0.2 0.2 0.1 0 0.1 −40 0 85 0 −40 85 0 Ta [°C] Ta [°C] 1. 4 Current consumption (READ) ICC1 vs. Power supply voltage VCCH 1. 3 Current consumption (READ) ICC1 vs. Ambient temperature Ta 0.4 0.06 VCCH = 2.3 V fSCL = 400 kHz Ta = 25°C fSCL = 400 kHz ICC1 [mA] ICC1 [mA] 0.3 0.2 0.04 0.02 0.1 0 −40 0 85 0 2 3 Ta [°C] 1. 6 Current consumption (PROGRAM) ICC2 vs. Ambient temperature Ta 0.3 0.3 VCCH = 3.0 V 0.2 ICC2 [mA] ICC2 [mA] VCCH = 4.5 V 0.1 0.2 0.1 −40 0 85 0 Ta [°C] 34 5 VCCH [V] 1. 5 Current consumption (PROGRAM) ICC2 vs. Ambient temperature Ta 0 4 −40 85 0 Ta [°C] Seiko Instruments Inc. PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 1. 7 Current consumption (PROGRAM) ICC2 vs. Ambient temperature Ta 1. 8 Current consumption (PROGRAM) ICC2 vs. Power supply voltage VCCH 0.3 0.3 Ta = 25°C 0.2 ICC2 [mA] ICC2 [mA] VCCH = 2.3 V 0.1 0 0.2 0.1 −40 0 85 0 2 Ta [°C] 5 4 3 VCCH [V] 1. 9 Internal oscillator current consumption during operation ICC3 1. 10 Internal oscillator current consumption during operation ICC3 vs. Ambient temperature Ta vs. Ambient temperature Ta 0.06 0.06 VCCH = 3.0 V 0.04 ICC3 [mA] ICC3 [mA] VCCH = 4.5 V 0.02 0 0.04 0.02 −40 0 85 0 −40 85 0 Ta [°C] Ta [°C] 1. 11 Internal oscillator current consumption during operation ICC3 1. 12 Internal oscillator current consumption during operation ICC3 vs. Ambient temperature Ta vs. Power supply voltage VCCH 0.06 0.06 Ta = 25°C 0.04 ICC3 [mA] ICC3 [mA] VCCH = 2.3 V 0.02 0 0.04 0.02 −40 0 85 0 Ta [°C] 2 4 3 5 VCCH [V] Seiko Instruments Inc. 35 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 1. 13 Standby current consumption ISB vs. Ambient temperature Ta 1. 14 Input leakage current ILI vs. Ambient temperature Ta 3.0 1.5 VCCH = 4.5 V VCCH = 4.5 V SCL, WP, TIMEN, CLK = 0 V 1.0 ILI [µA] ISB [µA] 2.0 1.0 0 0.5 −40 0 85 0 −40 85 0 Ta [°C] Ta [°C] 1. 16 Output leakage current ILO vs. Ambient temperature Ta 1. 15 Input leakage current ILI vs. Ambient temperature Ta 1.5 1.5 VCCH = 4.5 V SCL, WP, TIMEN, CLK = 4.5 V VCCH = 4.5 V SDA = 0 V 1.0 ILI [µA] ILO [µA] 1.0 0.5 0 0.5 −40 0 85 0 −40 85 0 Ta [°C] Ta [°C] 1. 18 Low level output voltage VOL1 vs. Low level output current IOL 1. 17 Output leakage current ILO vs. Ambient temperature Ta 0.4 1.5 VCCH = 4.5 V SDA = 4.5 V Ta = −40°C SDA 0.3 ILO [µA] VOL1 [V] 1.0 0.2 0.5 VCCH = 2.3 V 0.1 0 −40 0 85 0 Ta [°C] 36 VCCH = 4.5 V 0 1 2 3 IOL [mA] Seiko Instruments Inc. 4 5 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 1. 19 Low level output voltage VOL1 vs. Low level output current IOL 1. 20 Low level output voltage VOL1 vs. Low level output current IOL 0.4 0.4 Ta = 25°C SDA Ta = 85°C SDA 0.3 0.2 VOL1 [V] VOL1 [V] 0.3 VCCH = 2.3 V 0.1 VCCH = 2.3 V 0.2 0.1 VCCH = 4.5 V VCCH = 4.5 V 0 0 1 2 3 4 0 5 1 0 2 IOL [mA] 0.10 Ta = −40°C DO Ta = 25°C DO VOL2 [V] VOL2 [V] 5 1. 22 Low level output voltage VOL2 vs. Low level output current IOL 0.10 0.05 VCCH = 2.3 V 0.05 VCCH = 4.5 V 0 200 400 VCCH = 2.3 V 0 600 VCCH = 4.5 V 200 0 IOL [µA] 400 600 IOL [µA] 1. 24 High level output voltage VOH2 vs. High level output current IOH 1. 23 Low level output voltage VOL2 vs. Low level output current IOL 0.10 5 Ta = 85°C DO 0.05 VCCL = 4.5 V 4 VOH2 [V] VOL2 [V] 4 IOL [mA] 1. 21 Low level output voltage VOL2 vs. Low level output current IOL 0 3 VCCH = 2.3 V 3 Ta = −40°C VCCH = 4.5 V DO 2 VCCL = 2.0 V 1 VCCL = 1.5 V VCCH = 4.5 V 0 0 200 400 600 IOL [µA] 0 −600 −400 −200 0 IOH [µA] Seiko Instruments Inc. 37 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 1. 25 High level output voltage VOH2 vs. High level output current IOH Ta = −40°C VCCH = 2.3 V DO VOH2 [V] 2 5 VCCL = 4.5 V 4 VCCL = 2.0 V VOH2 [V] 3 1. 26 High level output voltage VOH2 vs. High level output current IOH VCCL = 1.5 V 1 Ta = 25°C VCCH = 4.5 V DO 3 2 VCCL = 2.0 V 1 0 −600 −400 −200 VCCL = 1.5 V 0 −600 0 −400 IOH [µA] 1. 28 High level output voltage VOH2 vs. High level output current IOH 3 5 2 VCCL = 4.5 V 4 VCCL = 2.0 V VOH2 [V] VOH2 [V] Ta = 25°C VCCH = 2.3 V DO VCCL = 1.5 V 1 Ta = 85°C VCCH = 4.5 V DO 3 2 VCCL = 2.0 V 1 0 −600 −400 −200 VCCL = 1.5 V 0 −600 0 −400 IOH [µA] 0 1. 30 High level input inversion voltage VIH vs. Power supply voltage VCCH 3 3 Ta = 85°C VCCH = 2.3 V DO Ta = 25°C SDA, SCL VCCL = 2.0 V 2 VIH [V] VOH2 [V] −200 IOH [µA] 1. 29 High level output voltage VOH2 vs. High level output current IOH VCCL = 1.5 V 1 0 −600 1 −400 −200 0 IOH [µA] 38 0 IOH [µA] 1. 27 High level output voltage VOH2 vs. High level output current IOH 2 −200 0 0 2 4 VCCH [V] Seiko Instruments Inc. 6 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 1. 31 High level input inversion voltage VIH vs. Ambient temperature Ta 3 1. 32 Low level input inversion voltage VIL vs. Power supply voltage VCCH 3 VCCH = 4.5 V SDA, SCL Ta = 25°C SDA, SCL 2 VIH [V] VIL [V] 2 1 1 0 −40 0 85 0 0 2 Ta [°C] 1. 34 Low power supply detection voltage −VDET vs. Ambient temperature Ta 3 VCCH = 4.5 V SDA, SCL VIL [V] −VDET [V] 2 1 0 −40 2 1 0 85 0 6 VCCH [V] 1. 33 Low level input inversion voltage VIL vs. Ambient temperature Ta 3 4 Ta [°C] −40 85 0 Ta [°C] 1. 35 Low power supply release voltage +VDET vs. Ambient temperature Ta +VDET [V] 3 2 1 0 −40 85 0 Ta [°C] Seiko Instruments Inc. 39 PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E2PROM CIRCUIT) Rev.1.1_00 S-7750C 2. AC Characteristics 2. 1 Maximum operating frequency fMAX. vs. Power supply voltage VCCH 2. 2 Write time tWR vs. Power supply voltage VCCH 10000k 3 Ta = 25°C Ta = 25°C 2 tWR [ms] fMAX. [Hz] 1000k 100k 1 10k 1k 2 0 5 4 3 2 VCCH [V] VCCH [V] 2. 3 Write time tWR vs. Ambient temperature Ta 2. 4 Write time tWR vs. Ambient temperature Ta 3 3 VCCH = 4.5 V VCCH = 2.3 V 2 tWR [ms] tWR [ms] 2 1 0 −40 1 0 85 0 −40 Ta [°C] 2. 5 SDA output delay time tAA vs. Ambient temperature Ta 2. 6 SDA output delay time tAA vs. Ambient temperature Ta 1.0 1.0 VCCH = 2.3 V tAA [µs] tAA [µs] VCCH = 4.5 V 0.5 −40 0.5 0 85 0 Ta [°C] 40 85 0 Ta [°C] 0 5 4 3 −40 85 0 Ta [°C] Seiko Instruments Inc. 1.93±0.02 0.4±0.02 0.60max. S ø0.25±0.02 0.06 S 0.5 B 16-(ø0.25) 1 ø0.05 M S A B 2 0.15±0.03 3 4 A B C D No. HA016-A-P-SD-1.1 TITLE No. WLP-16A-A-PKG Dimensions HA016-A-P-SD-1.1 SCALE UNIT Seiko Instruments Inc. +0.1 ø1.5 -0 ø0.5±0.05 4.0±0.1 2.0±0.05 2.0±0.1 0.18±0.05 0.75±0.05 4.0±0.1 Count mark (ø0.8,Depth 0.2) (Every 10 pockets) 0.8 0.22 2.32 2.02±0.05 0.6 A4 A3 A2 A1 D4 D3 D2 D1 Feed direction No. HA016-A-C-S2-1.0 TITLE No. WLP-16A-A-C a r r i e r T a p e HA016-A-C-S2-1.0 SCALE UNIT Seiko Instruments Inc. 12.5max. 9.0±0.3 Enlarged drawing in the central part ø13±0.2 No. HA016-A-R-SD-1.0 TITLE WLP-16A-A-Reel HA016-A-R-SD-1.0 No. SCALE UNIT QTY. 3,000 mm Seiko Instruments Inc. • • • • • • The information described herein is subject to change without notice. Seiko Instruments Inc. is not responsible for any problems caused by circuits or diagrams described herein whose related industrial properties, patents, or other rights belong to third parties. The application circuit examples explain typical applications of the products, and do not guarantee the success of any specific mass-production design. When the products described herein are regulated products subject to the Wassenaar Arrangement or other agreements, they may not be exported without authorization from the appropriate governmental authority. Use of the information described herein for other purposes and/or reproduction or copying without the express permission of Seiko Instruments Inc. is strictly prohibited. The products described herein cannot be used as part of any device or equipment affecting the human body, such as exercise equipment, medical equipment, security systems, gas equipment, or any apparatus installed in airplanes and other vehicles, without prior written permission of Seiko Instruments Inc. Although Seiko Instruments Inc. exerts the greatest possible effort to ensure high quality and reliability, the failure or malfunction of semiconductor products may occur. The user of these products should therefore give thorough consideration to safety design, including redundancy, fire-prevention measures, and malfunction prevention, to prevent any accidents, fires, or community damage that may ensue.