PART IN+ IN- TX_DISABLE TX_FAULT BIAS SET BIASMAX 2 APCSET 2 MODSET 2 MOD SET PC_MON BS_MON

Similar documents
2-Wire, 5-Bit DAC with Three Digital Outputs

TOP VIEW CLOCK GENERATOR A1 A2 GND CPU SPEED SELECT

DS WIRE INTERFACE 11 DECOUPLING CAP GND

Temperature-Controlled, NV, I2C, Logarithmic Resistor DS1841

DS1845 Dual NV Potentiometer and Memory

DS1855 Dual Nonvolatile Digital Potentiometer and Secure Memory

High-Voltage, NV, I2C POT with Temp Sensor and Lookup Table

DS28CM00. I²C/SMBus Silicon Serial Number

DS1682 Total-Elapsed-Time Recorder with Alarm

ORDERING INFORMATION. OPERATION Measuring Temperature A block diagram of the DS1621 is shown in Figure 1. DESCRIPTION ORDERING PACKAGE

Gamma or VCOM Channel Functional Diagram LATCH A MUX EEPROM ADDRESS

DS1631/DS1631A/DS1731 High-Precision Digital Thermometer and Thermostat

DS1846 NV Tri-Potentiometer, Memory, and MicroMonitor

Digital Thermometer and Thermostat

DS1626/DS1726 High-Precision 3-Wire Digital Thermometer and Thermostat

DS1625. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT

DS75 Digital Thermometer and Thermostat

Digital Thermometer and Thermostat

DS1676 Total Elapsed Time Recorder, Erasable

Total-Elapsed-Time and Event Recorder with Alarm

FM24CL04 4Kb FRAM Serial Memory

DS21S07AE. SCSI Terminator

DS1624 Digital Thermometer and Memory

DS 1682 Total Elapsed Time Recorder with Alarm

FM24C16B-GTR. 16Kb Serial 5V F-RAM Memory. Features. Pin Configuration. Description. Ordering Information NC NC NC VSS VDD WP SCL SDA.

Digital Thermometer and Thermostat in SOT23

Digital Thermometer and Thermostat

DS Wire Digital Thermometer and Thermostat

12 Push-Pull Outputs and 4 Inputs

FM24C16C-GTR. 16Kb Serial 5V F-RAM Memory. Features. Description. Pin Configuration NC NC NC VSS VDD WP SCL SDA. Ordering Information.

and 8 Open-Drain I/Os

Fremont Micro Devices, Inc.

DS1852 Optical Transceiver Diagnostic Monitor

+Denotes a lead(pb)-free/rohs-compliant package.

ACE24AC02A1 Two-wire Serial EEPROM

FM24C Kb FRAM Serial Memory Features

FXL6408 Fully Configurable 8-Bit I 2 C-Controlled GPIO Expander

ACE24AC128 Two-wire Serial EEPROM

ACE24AC64 Two-wire Serial EEPROM

DS3911 Temperature-Controlled, Nonvolatile, I2C Quad DAC

12-Bit Plus Sign Temperature Sensors with SMBus/I2C-Compatible Serial Interface

DS1821 Programmable Digital Thermostat and Thermometer

GT34C02. 2Kb SPD EEPROM

DS2405. Addressable Switch PIN ASSIGNMENT

DS2223/DS2224. EconoRAM FEATURES PACKAGE OUTLINE. PIN CONNECTIONS Pin 1 GND Ground Pin 2 DQ Data In/Out Pin 3 V CC Supply Pin 4 GND Ground

GT24C02. 2-Wire. 2Kb Serial EEPROM (Smart Card application)

PART TOP VIEW ADDR2 ADDR3 ADDR4 SELECT S/H CONFIG V L DGND V SS AGND IN N.C. Maxim Integrated Products 1

DS1306. Serial Alarm Real Time Clock (RTC)

ACE24AC16B Two-wire Serial EEPROM

Features. Ordering Information. Selector Guide. Applications. Pin Configurations. I 2 C Port Expander with 8 Open-Drain I/Os

DS1345W 3.3V 1024k Nonvolatile SRAM with Battery Monitor

FM24C Kb FRAM Serial Memory Features

PART TOP VIEW ADDR2 ADDR3 ADDR4 SELECT S/H CONFIG V L DGND V SS AGND IN CH. Maxim Integrated Products 1

ABRIDGED DATA SHEET. DeepCover Secure Authenticator. Benefits and Features. General Description. Applications

FM24C02A 2-Wire Serial EEPROM

DS2401 Silicon Serial Number

I 2 C Port Expander with Eight Inputs. Features

ACE24C512C Two-wire serial EEPROM

24C08/24C16. Two-Wire Serial EEPROM. Preliminary datasheet 8K (1024 X 8)/16K (2048 X 8) General Description. Pin Configuration

DS2430A 256-Bit 1-Wire EEPROM

DS1306 Serial Alarm Real-Time Clock

PI4IOE5V bit general purpose outputs for 1MHz I 2 C bus

DS1830/A Reset Sequence Pushbutton

GT24C WIRE. 1024K Bits. Serial EEPROM

PCA bit multiplexed/1-bit latched 6-bit I 2 C EEPROM DIP switch

ACE24AC02A3C Two-wire Serial EEPROM

FM24C02B/04B/08B/16B 2-Wire Serial EEPROM

Digital Temperature Sensor and Thermal Watchdog with 2-Wire Interface

FM24C64C-GTR. 64Kb Serial 5V F-RAM Memory Features. Pin Configuration. Description A0 A1 A2 VSS VDD SCL SDA. Ordering Information.

Digital Temperature Sensors and Thermal Watchdog with Bus Lockup Protection

GT24C256 2-WIRE. 256K Bits. Serial EEPROM

DS2401 Silicon Serial Number

DS1821 Programmable Digital Thermostat and Thermometer

Pin Configuration and Selector Guide appear at end of data sheet. Typical Operating Circuits

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16

DP7140. Single Channel 256 Tap DP with Integrated EEPROM and I 2 C Control. The DP7140 is a single channel non-volatile digital

DS1302. Trickle Charge Timekeeping Chip FEATURES PIN ASSIGNMENT PIN DESCRIPTION

PCA9560 Dual 5-bit multiplexed 1-bit latched I 2 C EEPROM DIP switch

Digital Thermometers and Thermostats with SPI/3-Wire Interface

DS2465 DeepCover Secure Authenticator with SHA-256 Coprocessor and 1-Wire Master Function. R P = 1.1kΩ MAXIMUM I 2 C BUS CAPACITANCE 320pF V CC

DS1305. Serial Alarm Real Time Clock (RTC) FEATURES PIN ASSIGNMENT ORDERING INFORMATION

PI4IOE5V bit I 2 C-bus and SMBus low power I/O port with interrupt and reset

2-wire Serial EEPROM AT24C512. Preliminary. 2-Wire Serial EEPROM 512K (65,536 x 8) Features. Description. Pin Configurations.

DS1249Y/AB 2048k Nonvolatile SRAM

Not Recommended for New Designs

INTEGRATED CIRCUITS. PCA bit I 2 C and SMBus I/O port with interrupt. Product data sheet Supersedes data of 2004 Jul 27.

DS1305 Serial Alarm Real-Time Clock

DS1225Y 64k Nonvolatile SRAM

PI4IOE5V bit I 2 C-bus and SMBus I/O port with reset. Description. Features. Pin Configuration

FM24C1024A. Apr Data Sheet. Data Sheet FM24C1024A 2-wrie Serial EEPROM Ver 1.1 1

HT16K23 RAM Mapping 20 4/16 8 LCD Controller Driver with Keyscan

DS2118M Ultra3 LVD/SE SCSI Terminator

DS1305EN. Serial Alarm Real-Time Clock

Two-wire Serial EEPROM Smart Card Modules 128K (16,384 x 8) 256 (32,768 x 8) AT24C128SC AT24C256SC. Features. Description VCC NC

FM24C32A/64A 2-Wire Serial EEPROM

2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC

DS1217M Nonvolatile Read/Write Cartridge

DS1305EN. Serial Alarm Real-Time Clock

9-Bit/12-Bit Temperature Sensors with I 2 C-Compatible Serial Interface in a SOT23

N U M B ER O F V L V C C T R A N SL A T O R S

Transcription:

Rev 1; 2/6 Dual, NV, Variable Resistors General Description The DS392 features a dual, nonvolatile (NV), low temperature-coefficient, variable digital resistor with 256 user-selectable positions. The DS392 can operate over a wide supply range of 2.4V to 5.5V, and communication with the device is achieved through an I 2 C compatible serial interface. Internal address settings allow the DS392 slave address to be programmed to one of 128 possible addresses. The low cost and the small size of the DS392 make it an ideal replacement for conventional mechanical-trimming resistors. Applications Optical Transceivers Optical Transponders Instrumentation and Industrial Controls RF Power Amps Audio Power-Amp Biasing Replacement for Mechanical Variable Resistors and DIP Switches Features Dual 256-Position Linear Digital Resistors Available as 5kΩ/3kΩ or 5kΩ/15kΩ Resistor Settings Stored in NV Memory Low Temperature Coefficient I 2 C-Compatible Serial Interface Wide Operating Voltage (2.4V to 5.5V) Software Write Protection User-EEPROM Memory Programmable Slave Address Operating Temperature Range: -4 C to +95 C Small 8-Pin µsop Package PART Ordering Information RESISTOR VALUES (R, R1) TOP MARK PIN- PAGE DS392U-53 3kΩ, 5kΩ 392A 8 µsop DS392U-515 15kΩ, 5kΩ 392B 8 µsop Ordering Information continued at end of data sheet. Typical Operating Circuit DS392.1μF 4.7kΩ 4.7kΩ IN+ IN- TX_DISABLE TX_FAULT OUT- 2-WIRE MASTER SCL DS392 SDA ADD_SEL 1 GND H BIAS SET MOD SET BIASMAX 2 APCSET 2 MODSET 2 PC_MON BS_MON LASER DRIVER IC OUT+ BIAS+ BIAS- MD NOTES: 1. WITH ADD_SEL TIED TO GND, THE ADDRESS WILL BE A2H. 2. FOR A DETAILED APPLICATION DIAGRAM OF A SPECIFIC LD, CONSULT THE LASER DRIVER DATA SHEET. Pin Configuration appears at end of data sheet. Maxim Integrated Products 1 For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxim s website at www.maxim-ic.com.

DS392 ABSOLUTE MAXIMUM RATINGS Voltage Range on, SDA, SCL, H, and Relative to Ground...-.5V to +6.V Voltage Range on ADD_SEL Relative to Ground...-.5V to ( +.5V), not to exceed 6.V Resistor Current...3mA Operating Temperature Range...-4 C to +95 C Programming Temperature Range... C to +7 C Storage Temperature Range...-55 C to +125 C Soldering Temperature...See IPC/JEDEC J-STD-2A Specification Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. RECOMMENDED DC OPERATING CONDITIONS (T A = -4 C to +95 C) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Supply Voltage (Note 1) +2.4 +5.5 V Input Logic 1 (SDA, SCL, ADD_SEL) Input Logic (SDA, SCL, ADD_SEL) V IH V IL -.3.7 x +.3 Resistor Inputs H, -.3 +5.5 V Resistor Current I RES 3 ma +.3 x V V DC ELECTRICAL CHARACTERISTICS ( = +2.4V to +5.5V, T A = -4 C to +95 C, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS` MIN TYP MAX UNITS Standby Current I STBY (Note 2) 2 µa Input Leakage I L -1 +1 µa V OL1 3mA sink current.4 Low-Level Output Voltage (SDA) V V OL2 6mA sink current.6 ANALOG RESISTOR CHARACTERISTICS ( = +2.4V to +5.5V, T A = -4 C to +95 C, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS` MIN TYP MAX UNITS Resistance Tolerance T A = +25 C -2 +2 % Position Resistance 16 25 Ω Absolute Linearity (Note 3) -1 +1 LSB Relative Linearity (Note 4) -.75 +.75 LSB Temperature Coefficient At position FFh. (Notes 5, 6) -3 +3 ppm/ C High-Impedance Resistor Current I RHIZ H, = -1 +1 µa 2

AC ELECTRICAL CHARACTERISTICS (Figure 1) ( = +2.4V to +5.5V, T A = -4 C to +95 C, unless otherwise noted. Timing referenced to V IL(MAX) and V IH(MIN).) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS SCL Clock Frequency f SCL (Note 7) 4 khz Bus Free Time Between and Conditions Hold Time (Repeated) Condition t BUF 1.3 µs t HD:STA.6 µs Low Period of SCL t LOW 1.3 µs High Period of SCL t HIGH.6 µs Data Hold Time t HD:DAT.9 µs Data Setup Time t SU:DAT 1 ns Start Setup Time t SU:STA.6 µs SDA and SCL Rise Time t R (Note 8) 2 +.1 x C B 3 ns DS392 SDA and SCL Fall Time t F (Note 8) 2 +.1 x C B 3 ns Stop Setup Time t SU:STO.6 µs SDA and SCL Capacitive Loading C B (Note 8) 4 pf EEPROM Write Time t WR (Note 9) 1 ms Input Capacitance C I 5 pf Startup Time t ST (Note 6) 2 ms NONVOLATILE MEMORY CHARACTERISTICS (VCC = +2.4V to +5.5V, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS EEPROM Writes +7 C (Note 6) 5, Note 1: All voltages referenced to ground. Note 2: I STBY specified for the inactive state measured with SDA = SCL =, ADD_SEL = GND, and with H and floating. Note 3: Absolute linearity is the difference of measured value from expected value at resistor position. Expected value is from the measured minimum position to measured maximum position. Note 4: Relative linearity is the deviation of an LSB resistor setting change vs. the expected LSB change. Expected LSB slope of the straight line is the typical operating curves from the measured minimum position to measured maximum position. Note 5: See the Typical Operating Characteristics section. Note 6: Guaranteed by design. Note 7: Timing shown is for fast-mode (4kHz) operation. This device is also backward-compatible with I2C standard mode. Note 8: C B total capacitance of one bus line in picofarads. Note 9: EEPROM write begins after a condition occurs. 3

DS392 ( = +3.3V, T A = +25 C, unless otherwise noted.) STANDBY SUPPLY CURRENT (µa) 18 16 14 12 1 8 6 4 2-4 STANDBY SUPPLY CURRENT vs. TEMPERATURE ASEL = GND H,, OPEN SDA = SCL = -2 2 4 6 TEMPERATURE ( C) = +5V = +3V 8 DS392 toc1 SUPPLY CURRENT (µa) 2 18 16 14 12 1 8 6 4 2 = SDA = +5V SUPPLY CURRENT vs. SCL FREQUENCY 5 1 15 2 25 3 35 4 SCL FREQUENCY (khz) Typical Operating Characteristics DS392 toc2 RESISTANCE (Ω) 5 45 4 35 3 25 2 15 1 5 RESISTANCE vs. RESISTOR SETTING H (-53 VERSION) 25 5 75 1 125 15 175 2 225 25 RESISTOR SETTING (DEC) DS392 toc3 TEMPERATURE COEFFICIENT (ppm/ C) 16 14 12 1 8 6 4 2-2 TEMPERATURE COEFFICIENT vs. POSITION TC OF +25 C TO +85 C 5 TC OF +25 C TO -4 C 1 15 POSITION (DEC) 2 25 DS392 toc4 RESISTANCE % CHANGE (FROM +25 C) POSITION FFh RESISTANCE PERCENT CHANGE FROM +25 C vs. TEMPERATURE.8.6.4.2 -.2-4 -2 2 4 TEMPERATURE ( C) 6 8 DS392 toc5 RESISTANCE % CHANGE (FROM +25 C) POSITION h RESISTANCE PERCENT CHANGE FROM +25 C vs. TEMPERATURE 12 1 8 6 4 2-2 -4-6 -8-1 -4-2 2 4 TEMPERATURE ( C) 6 8 DS392 toc6 RESISTANCE (Ω) 1 9 8 7 6 5 4 3 2 1 >1k H, RESISTANCE vs. POWER-UP VOLTAGE 1 EEPROM RECALL H (-53 VERSION) 2 3 4 POWER-UP VOLTAGE (V) PROGRAMMED RESISTANCE (FFh) 5 DS392 toc7 RESISTANCE (Ω) 1 9 8 7 6 5 4 3 2 1 >1k H, RESISTANCE vs. POWER-DOWN VOLTAGE PROGRAMMED RESISTANCE (FFh) H (-53 VERSION) 1 2 3 4 POWER-DOWN VOLTAGE (V) 5 DS392 toc8 POSITION 7Fh RESISTANCE (Ω) 3 28 26 24 22 2 18 16 14 12 1 2.4 POSITION 7Fh RESISTANCE vs. SUPPLY VOLTAGE 2.9 3.4 3.9 4.4 SUPPLY VOLTAGE (V) H (-53 VERSION) 4.9 5.4 DS392 toc9 4

Typical Operating Characteristics (continued) ( = +3.3V, T A = +25 C, unless otherwise noted.) H ABSOLUTE LINEARITY (LSB).1.9.8.7.6.5.4.3.2.1 H ABSOLUTE LINEARITY vs. POSITION 5 1 15 POSITION (DEC) 2 25 DS392 toc1 H RELATIVE LINEARITY (LSB).1.8.6.4.2 H RELATIVE LINEARITY vs. POSITION 5 1 15 POSITION (DEC) 2 25 DS392 toc11 DS392 ABSOLUTE LINEARITY (LSB).1.8.6.4.2 ABSOLUTE LINEARITY vs. POSITION DS392 toc12 RELATIVE LINEARITY (LSB).1.8.6.4.2 RELATIVE LINEARITY vs. POSITION DS392 toc13 5 1 15 POSITION (DEC) 2 25 5 1 15 POSITION (DEC) 2 25 5

DS392 Pin Description PIN NAME FUNCTION 1 H Resistor High Terminal 2 SDA I 2 C Serial-Data Open-Drain Input/Output 3 SCL I 2 C Serial-Clock Input 4 GND Ground 5 ADD_SEL Address Select 6 Resistor 1 High Terminal 7 N.C. No Connection 8 Power-Supply Voltage Detailed Description The block diagram of the DS392 is shown in the Block Diagram section. Detailed descriptions of major components follow. Memory Map A memory map of the DS392 is shown in Table 1. Resistors The DS392 contains two, 256-position (plus High-Z), NV, variable digital resistors. Pins H and are the high terminals of Resistor and Resistor 1, respectively. The low terminals of both resistors are tied to ground internally. The resistors are programmed using the I 2 C serial interface (see the Resistor and Resistor 1 regis- Block Diagram DS392 SDA SCL ADD_SEL I2C INTERFACE 7 MSB h 1h DEVICE MEMORY (EEPROM) ADDRESS X X X X X X LSB HI-Z R1 R HIGH-Z RESISTOR 256 POSITION 3k OR 15kΩ H 8 2h RESISTOR 8 3h RESISTOR 1 8 HI-Z 4-5h PASSWORD ENTRY (RAM) 6-7h PASSWORD SETTING MSBYTE LSBYTE RESISTOR 1 256 POSITION 5kΩ GND 1-1Fh USER MEMORY (16 BYTES) 6

Table 1. Memory Map BINARY FACTORY ACCESS DESCRIPTION ADDR MSB LSB DEFAULT W/O PW W/PW Slave Address h ADDRESS X Ah R R/W EEPROM Configuration 1h X X X X X X R1 R h R R/W EEPROM Resistor 2h b7 b6 b5 b4 b b2 b1 b 7Fh R R/W EEPROM Resistor 1 3h b7 b6 b5 b4 b3 b2 b1 b 7Fh R R/W EEPROM Password 4h PW MSB FFh Entry 5h PW LSB FFh Password 6h PW MSB FFh Setting 7h PW LSB FFh TYPE W W RAM R/W EEPROM DS392 No Memory User Memory X = Don t care. 8h Fh 1h 1Fh 16 BYTES OF GENERAL PURPOSE EEPROM ALL FFh R R/W EEPROM ters in the Memory Map). The Configuration register contains a bit (R and R1) for each resistor to enable the High-Z state. When one of the High-Z bits is written to a 1, the corresponding resistor goes High-Z. When written back to a, the resistor goes back to the programmed resistance. Writing the Resistor or Resistor 1 register to h, sets the respective resistor to its minimum position (and minimum resistance). This value can be found in the Analog Resistor Characteristics electrical table. Writing Resistor or Resistor 1 to FFh, sets the resistor to its maximum resistance. The nominal resistance (in ohms) of the resistors can be found in the ordering information table at the beginning of this data sheet. When the DS392 is powered up, the resistors are both set to High-Z instantaneously while the settings stored in EEPROM are recalled. Slave Address & ADD_SEL Pin The I 2 C slave address of the DS392 depends on the state of the ADD_SEL pin. If this pin is low, then the slave address is A2h. If the ADD_SEL pin is high, then the slave address is determined by the value stored in EEPROM at address h. Refer to the Memory Map to see the factory default of the slave address. The seven most significant bits are used (the LSB is not used because it is in the bit position of the R/W bit) to allow the slave address to be programmed to one of 128 possible addresses. The I 2 C interface is described in detail in a later section. Software Write Protection Software write protection is enabled by creating a two byte password and writing it to the Password Setting register (6h to 7h). When write protected, all memory locations can be read, but only the Password Entry register (4h to 5h) can be written. When the correct password is entered, then the memory can be written to. Refer to the Memory Map to see which registers can be read/written with and without the password (PW). When shipped from the factory, the password setting is FFFFh. Likewise, every time the device is powered-up the Password Entry register (which is RAM, not EEP- ROM) defaults to FFFFh, giving full access to the device. If write protection is not desired, then leave the Password Setting at the factory default and ignore the Password Entry register. I 2 C Serial Interface Description I 2 C Definitions The following terminology is commonly used to describe I 2 C data transfers. Master Device: The master device controls the slave devices on the bus. The master device generates SCL clock pulses,, and conditions. Slave Devices: Slave devices send and receive data at the master s request. Bus Idle or Not Busy: Time between and conditions when both SDA and SCL are inactive and in their logic high states. When the bus is idle it often initiates a low-power mode for slave devices. 7

DS392 SDA t BUF t HD:STA t SP t LOW t R t F SCL t HD:STA t HIGH t SU:STA t HD:DAT t SU:DAT REPEATED t SU:STO NOTE: TIMING IS REFERENCED TO V IL (MAX) AND V IH (MIN) Figure 1. I 2 C Timing Diagram Condition: A condition is generated by the master to initiate a new data transfer with a slave. Transitioning SDA from high to low while SCL remains high generates a condition. See the timing diagram for applicable timing. Condition: A condition is generated by the master to end a data transfer with a slave. Transitioning SDA from low to high while SCL remains high generates a condition. See the timing diagram for applicable timing. Repeated Condition: The master can use a repeated condition at the end of one data transfer to indicate that it immediately initiates a new data transfer following the current one. Repeated S are commonly used during read operations to identify a specific memory address to begin a data transfer. A repeated condition is issued identically to a normal condition. See the timing diagram for applicable timing. Bit Write: Transitions of SDA must occur during the low state of SCL. The data on SDA must remain valid and unchanged during the entire high pulse of SCL plus the setup and hold time requirements (see Figure 1). Data is shifted into the device during the rising edge of the SCL. Bit Read: At the end a write operation, the master must release the SDA bus line for the proper amount of setup time (see Figure 1) before the next rising edge of SCL during a bit read. The device shifts out each bit of data on SDA at the falling edge of the previous SCL pulse and the data bit is valid at the rising edge of the current SCL pulse. Remember that the master generates all SCL clock pulses including when it is reading bits from the slave. Acknowledgement ( and N): An Acknowledgement () or Not Acknowledge (N) is always the 9th bit transmitted during a byte transfer. The device receiving data (the master during a read or the slave during a write operation) performs an by transmitting a zero during the 9th bit. A device performs a N by transmitting a one during the 9th bit. Timing (Figure 1) for the and N is identical to all other bit writes. An is the acknowledgment that the device is properly receiving data. A N is used to terminate a read sequence or as an indication that the device is not receiving data. Byte Write: A byte write consists of 8-bits of information transferred from the master to the slave (MSB first) plus a 1-bit acknowledgement from the slave to the master. The 8-bits transmitted by the master are done according to the bit write definition and the acknowledgement is read using the bit read definition. Byte Read: A byte read is an 8-bit information transfer from the slave to the master plus a 1-bit or N from the master to the slave. The 8 bits of information that are transferred (MSB first) from the slave to the master are read by the master using the bit read definition above, and the master transmits an using the bit write definition to receive additional data bytes. The master must N the last byte read to terminate communication so the slave will return control of SDA to the master. 8

Slave Address Byte: Each slave on the I 2 C bus responds to a slave addressing byte sent immediately following a condition. The slave address byte contains the slave address in the most significant 7-bits and the R/W bit in the least significant bit. The DS392 s slave address depends on the state of the ADD_SEL pin. If ADD_SEL is low, then the slave address byte is A2h, where the LSB is the R/W bit. If the R/W bit is (such as in A2h), then master indicates it will write data to the slave. If R/W = 1 (A3h in this case), the master will read data from the slave. If an incorrect slave address is written, the DS392 will assume the master is communicating with another I 2 C device and ignore the communication until the next condition is sent. On the other hand, if the ADD_SEL pin is a logic high, then the slave address byte is determined by the Slave Address register saved in EEPROM (address h). The LSB of the register is not used since it is in the bit location of the R/W bit. Refer to the Slave Address and ADD_SEL Pin section for more information. Memory Address: During an I 2 C write operation, the master must transmit a memory address to identify the memory location where the slave is to store the data. The memory address is always the second byte transmitted during a write operation following the slave address byte. I 2 C Communication Writing a Single Byte to a Slave: The master must generate a condition, write the slave address byte (R/W = ), write the memory address, write the byte of data and generate a condition. Remember the master must read the slave s acknowledgement during all byte write operations. Writing Multiple Bytes to a Slave: To write multiple bytes to a slave the master generates a condition, writes the slave address byte (R/W = ), writes the memory address, writes up to 2 data bytes and generates a condition. The DS392 is capable of writing 1 or 2 bytes (1 page or row) with a single write transaction. This is internally controlled by an address counter that allows data to be written to consecutive addresses without transmitting a memory address before each data byte is sent. The address counter limits the write to one 2-byte page. Attempts to write to additional pages of memory without sending a condition between pages results in the address counter wrapping around to the beginning of the present row. Each row begins on even memory addresses. To prevent address wrapping from occurring, the master must send a condition at the end of the page, and then wait for the bus free or EEPROM write time to elapse. Then the master may generate a new condition, write the slave address byte (R/W = ), and the first memory address of the next memory row before continuing to write data. Acknowledge Polling: Any time an EEPROM page is written, the DS392 requires the EEPROM write time (t W ) after the condition to write the contents of the page to EEPROM. During the EEPROM write time, the device will not acknowledge its slave address because it is busy. It is possible to take advantage of that phenomenon by repeated addressing the DS392, which allows the next page to be written as soon as the DS392 is ready to receive the data. The alternative to acknowledge polling is to wait for maximum period of t W to elapse before attempting to write again to the device. EEPROM Write Cycles: When EEPROM writes occur, the DS392 will write the whole EEPROM memory page even if only a single byte on the page was modified. Writes that do not modify all 2-bytes on the page are allowed and do not corrupt the remaining bytes of memory on the same page. Because the whole page is written, bytes on the page that were not modified during the transaction are still subject to a write cycle. This can result in a whole page being worn out over time by writing a single byte repeatedly. Writing a page one byte at a time will wear the EEPROM out two times faster than writing the entire page at once. The DS392 s EEPROM write cycles are specified in the Nonvolatile Memory Characteristics table. The specification shown is at the worst case temperature. It is capable of handling approximately 1x that many writes at room temperature. Reading a Single Byte from a Slave: Unlike the write operation that uses the memory address byte to define where the data is to be written, the read operation occurs at the present value of the memory address counter. To read a single byte from the slave the master generates a condition, writes the slave address byte with R/W = 1, reads the data byte with a N to indicate the end of the transfer, and generates a condition. Manipulating the Address Counter for Reads: A dummy write cycle can be used to force the address counter to a particular value. To do this the master generates a condition, writes the slave address byte (R/W = ), writes the memory address where it desires to read, generates a repeated condition, writes the slave address byte (R/W = 1), reads data with or N as applicable, and generates a condition. DS392 9

DS392 TYPICAL 2-WIRE WRITE TRANSACTION MSB LSB MSB LSB MSB LSB 1 1 1 R/W b7 b6 b5 b4 b3 b2 b1 b b7 b6 b5 b4 b3 b2 b1 b ADDRESS* READ/ WRITE REGISTER ADDRESS DATA * THE ADDRESS IS DETERMINED BY THE ADD_SEL PIN. THE EXAMPLES ASSUME ADD_SEL IS TIED TO GND. IF THE ADD_SEL PIN WERE INSTEAD CONNECTED TO. THEN THE ADDRESS WOULD BE DETERMINED BY THE ADDRESS REGISTER. EXAMPLE 2-WIRE TRANSACTIONS (WHEN ADD_SEL TIED TO GND) A) SINGLE BYTE WRITE -WRITE RESISTOR TO MID POSITION (7FH) A2h 2h 1 11 1 7Fh 1111 111 B) SINGLE BYTE READ -READ RESISTOR 1 A2h 3h 1 11 11 REPEATED A3h 11 11 DATA RES VALUE MASTER N C) SINGLE BYTE WRITE -SET RESISTOR 1 TO HI-Z A2h 1h 1 11 1 2h 1 D) TWO BYTE WRITE - ENTER THE PASSWORD. A2h 4h 111 1 PW MSB PW LSB D) TWO BYTE READ - READ BOTH RESISTORS IN ONE TRANSACTION. A2h 2h A3h DATA 11 1 REPEATED 1 11 11 RES MASTER DATA RES 1 MASTER N Figure 2. I 2 C Communication Examples See Figure 2 for a read example using the repeated condition to specify the starting memory location. Reading Multiple Bytes from a Slave: The read operation can be used to read multiple bytes with a single transfer. When reading bytes from the slave, the master simply s the data byte if it desires to read another byte before terminating the transaction. After the master reads the last byte it Ns to indicate the end of the transfer and generates a stop condition. This can be done with or without modifying the address counter s location before the read cycle. Application Information Using the Resistors as a Switch By taking advantage of the resistor s high-impedance state, the resistors can be used as a digitally controlled switch. Setting the resistor to position is equivalent to a logic low level. By using an external pull-up resistor, a logic high level can be generated by setting the resistor to the High-Z state. Power Supply Decoupling To achieve best results, it is highly recommended that a decoupling capacitor is used on the IC power supply pins. Typical values of decoupling capacitors are.1µf and.1µf. Use a high-quality, ceramic, surface-mount capacitor, and mount it as close as possible to the and GND pins of the IC to minimize lead inductance. 1

Ordering Information (continued) PART RESISTOR VALUES (R, R1) TOP MARK PIN- PAGE DS392U-515+ 15kΩ, 5kΩ 392B 8 µsop DS392U-515+T&R 15kΩ, 5kΩ 392B 8 µsop DS392U-53+ 3kΩ, 5kΩ 392A 8 µsop DS392U-53+T&R 3kΩ, 5kΩ 392A 8 µsop TOP VIEW H SDA SCL 1 2 3 Pin Configuration 8 7 N.C. DS392 6 DS392 DS392U-53/T&R 3kΩ, 5kΩ 392A 8 µsop +Denotes lead-free package. T&R denotes tape-and-reel package. GND 4 µsop 5 ADD_SEL TRANSISTOR COUNT: 11252 SUBSTRATE CONNECTED TO GROUND Chip Topology Package Information For the latest package outline information, go to www.maxim-ic.com/dallaspackinfo. Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated Products, 12 San Gabriel Drive, Sunnyvale, CA 9486 48-737-76 11 26 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products, Inc. is a registered trademark of Dallas Semiconductor Corporation.