DS1855E-050 ,Dual Nonvolatile Digital Potentiometer and Secure MemoryPIN DESCRIPTIONSName TSSOP BGA DescriptionV 14 A3 Power Supply Terminal. The DS1855 wi ..
DS1855E-050+ ,Dual Nonvolatile Digital Potentiometer and Secure MemoryPIN DESCRIPTIONS Name TSSOP BGA Description V 14 A3 Power Supply Terminal. The DS1855 ..
DS1855X-050 ,Dual Nonvolatile Digital Potentiometer and Secure MemoryFEATURES Two linear taper potentiometersSDA 1 14 Vcc DS1855-010 (one 10k, 100 position andSCL ..
DS1855X-050 ,Dual Nonvolatile Digital Potentiometer and Secure MemoryDS1855Dual Nonvolatile Digital Potentiometerand Secure Memory
DS1856 ,Dual, Temperature-Controlled Resistors with Internally Calibrated Monitors and Password Protectionapplications using♦ Internal Direct-to-Digital Temperature Sensorminimal circuitry. The variable re ..
DS1856 ,Dual, Temperature-Controlled Resistors with Internally Calibrated Monitors and Password ProtectionApplicationsOptical TransceiversOrdering InformationOptical TranspondersRES0/RES1Instrumentation an ..
DZD9.1 ,0.2W Zener DiodesElectrical Characteristics at Ta = 25˚CZener voltage VZ will be subdivided into X, Y, Z at your req ..
DS1855E-050
Dual Nonvolatile Digital Potentiometer and Secure Memory
FEATURESTwo linear taper potentiometersDS1855-010 (one 10k, 100 position andone 10k, 256 position)DS1855-020 (one 10k, 100 position and
one 20k, 256 position)DS1855-050 (one 10k, 100 position andone 50k, 256 position)DS1855-100 (one 10k, 100 position and
one 100k, 256 position)256 bytes of EEPROM memoryAccess to data and potentiometer control via
a 2-wire interfaceExternal write-protect pin to protect data and
potentiometer settingsData and potentiometer settings also can bewrite-protected through software controlNonvolatile wiper storageOperates from 3V or 5V suppliesPackaging: 14-pin TSSOP, 16-ball STPBGA,
flip-chip packageIndustrial operating temperature:
-40ºC to +85ºCProgramming temperature: 0ºC to +85ºC
DESCRIPTIONThe DS1855 dual nonvolatile (NV) digital potentiometer and secure memory consists of one�100-position
linear taper potentiometer, one�256-position linear taper potentiometer, 256 bytes of EEPROM memory,
and a 2-wire interface. The DS1855, which features a new software write protect, is an upgrade of the
DS1845. The DS1855 provides an ideal method for setting bias voltages and currents in controlapplications using a minimum of circuitry. The EEPROM memory allows a user to store configuration or
calibration data for a specific system or device as well as provide control of the potentiometer wiper
settings. Any type of user information may reside in the first 248 bytes of this memory. The next two
addresses of EEPROM memory are for potentiometer settings and the remaining 6 bytes of memory are
reserved. These reserved and potentiometer registers should not be used for data storage. Access to thisEEPROM is via an industry-standard 2-wire bus. The interface I/O pins consist of SDA and SCL. The
wiper position of the DS1855, as well as EEPROM data, can be write-protected through hardware using
the write-protect input pin (WP) or software using the 2-wire interface.
DS18551 2 3 4
16-Ball STPBGA (4mm x 4mm)
14-Pin Flip Chip (100-mil x 100-mil)(Not Shown)
DS1855
PIN DESCRIPTIONS
Name TSSOP BGADescription
VCC14 A3
Power Supply Terminal. The DS1855 will support supplyvoltages ranging from +2.7V to +5.5V.
GND7 D1
Ground Terminal.
SDA1 B2
2-Wire serial data interface. The serial data pin is for serial datatransfer to and from the DS1855. The pin is open drain and may
be wire-ORed with other open drain or open collector interfaces.
SCL2 A2
2-Wire Serial Clock Input. The serial clock input is used toclock data into the DS1855 on rising edges and clock data out on
falling edges.
6 C1
Write Protect Input. If set to logic 0, the data in memory and thepotentiometer wiper setting may be changed. If set to logic 1, boththe memory and the potentiometer wiper settings will be write
protected. The WP pin is pulled high internally.
3 A1
Address Input. Pins A0, A1, and A2 are used to specify theaddress of each DS1855 when used in a multi-dropped
configuration. Up to eight DS1855s may be addressed on a single2-wire bus.
4 B1
Address Input.5 C2
Address Input.13 A4
High terminal of Potentiometer 0. For both potentiometers, it isnot required that the high terminal be connected to a potentialgreater than the low terminal. Voltage applied to the high terminal
of each potentiometer cannot exceed VCC or go below ground.
11 B3
High terminal of Potentiometer 1.8 D3
Low terminal of Potentiometer 0. For both potentiometers, it isnot required that the low terminal be connected to a potential lessthan the high terminal. Voltage applied to the low terminal of each
potentiometer cannot exceed VCC or go below ground.
10 C4
Low terminal of Potentiometer 1.9 D4
Wiper terminal of Pot 0. The wiper position of Potentiometer 0is determined by the byte at EEPROM memory location F9h. Voltage applied to the wiper terminal of each potentiometer cannot
exceed the power supply voltage, VCC, or go below ground.
12 B4
Wiper terminal of Pot 1. The wiper position of Potentiometer 1is determined by the byte at EEPROM memory location F8h.
C3
No Connect.NC D2
No Connect.
DS1855
DS1855 BLOCK DIAGRAM Figure 1
Up to eight DS1855s can be installed on a single 2-wire bus. Access to an individual device is achieved
by using a device address that is determined by the logic levels of address pins A0 through A2.
Additionally, the DS1855 will operate from 3V or 5V supplies. Three package options are available: 14-pin TSSOP, 16-ball STPBGA, and flip-chip package.
VCC
GND
SDA
SCL
DS1855
MEMORY ORGANIZATION
The DS1855’s serial EEPROM is internally organized with 256 words of 1 byte each. Each word requires
an 8-bit address for random word addressing. The byte at address F9h determines the wiper setting for
potentiometer 0, which contains 100 positions. Writing values above 63h to this address sets the wiper to
its uppermost position, but the MSB is ignored. The byte at address F8h determines the wiper setting for
potentiometer 1, which contains 256 positions (00h to FFh). Address locations FAh though FFh arereserved and should not be written.
DS1855
DS1855
2-WIRE OPERATION
Clock and Data TransitionsThe SDA pin is normally pulled high with an external resistor or device. Data on the SDA pin may only
change during SCL low time periods. Data changes during SCL high periods will indicate a START or
STOP conditions depending on the conditions discussed below. Refer to the timing diagram in Figure 2
for further details.
START Condition
A high-to-low transition of SDA with SCL high is a START condition that must precede any other
command. Refer to the timing diagram in Figure 2 for further details.
STOP ConditionA low-to-high transition of SDA with SCL high is a STOP condition. After a read sequence, the stop
command places the DS1855 into a low-power mode. Refer to the timing diagram in Figure 2 for further
details.
AcknowledgeAll address and data bytes are transmitted via a serial protocol. The DS1855 pulls the SDA line low
during the ninth clock pulse to acknowledge that it has received each word.
Standby ModeThe DS1855 features a low-power mode that is automatically enabled after power-on, after a STOP
command, and after the completion of all internal operations.
2-Wire Interface Reset
After any interruption in protocol, power loss, or system reset, the following steps reset the DS1855:Clock up to nine cycles.Look for SDA high in each cycle while SCL is high.Create a START condition while SDA is high.
Device AddressingThe DS1855 must receive an 8-bit device address word following a START condition to enable a specific
device for a read or write operation. The address word is clocked into the DS1855 MSB to LSB. The
address word consists of Ah (1010) followed by A2, A1, and A0 then the read/write (R/W) bit. If theR/W bit is high, a read operation is initiated. If the R/W is low, a write operation is initiated. For a device
to become active, the values of A2, A1, and A0 must be the same as the hard-wired address pins on the
DS1855. Upon a match of written and hard-wired addresses, the DS1855 will output a zero for one clock
cycle as an acknowledge. If the address does not match, the DS1855 returns to a low-power mode.
Write OperationsAfter receiving a matching address byte with the R/W bit set low, the device goes into the write mode of
operation. The master must transmit an 8-bit EEPROM memory address to the device to define the
address where the data is to be written. After the reception of this byte, the DS1855 will transmit a zero
for one clock cycle to acknowledge the receipt of the address. The master must then transmit an 8-bit dataword to be written into this address. The DS1855 will again transmit a zero for one clock cycle to
acknowledge the receipt of the data. At this point, the master must terminate the write operation with a
DS1855
The DS1855 is capable of an 8-byte page write. A page write is initiated the same way as a byte write, but
the master does not send a STOP condition after the first byte. Instead, after the slave acknowledges
receipt of the data byte, the master can send up to seven more bytes using the same nine-clock sequence.
The master must terminate the write cycle with a STOP condition or the data clocked into the DS1855
will not be latched into permanent memory.
Acknowledge Polling
Once the internally timed write has started and the DS1855 inputs are disabled, acknowledge polling can
be initiated. The process involves transmitting a START condition followed by the device address. The
R/W bit signifies the type of operation that is desired. The read or write sequence will only be allowed toproceed if the internal write cycle has completed and the DS1855 responds with a zero.
Read Operations
After receiving a matching address byte with the R/W bit set high, the device goes into the read mode of
operation. There are three read operations: current address read, random read, and sequential addressread.
CURRENT ADDRESS READ
The DS1855 has an internal address register that maintains the address used during the last read or write
operation, incremented by one. This data is maintained as long as VCC is valid. If the most recent address
was the last byte in memory, the register resets to the first address. This address stays valid betweenoperations as long as power is available.
Once the device address is clocked in and acknowledged by the DS1855 with the R/W bit set to high, the
current address data word is clocked out. The master does not respond with a zero, but does generate a
STOP condition afterwards.
RANDOM READ
A random read requires a dummy-byte write sequence to load in the data word address. Once the device
and data address bytes are clocked in by the master and acknowledged by the DS1855, the master must
generate another START condition. The master now initiates a current address read by sending the device
address with the read/write bit set high. The DS1855 acknowledges the device address and serially clocksout the data byte.
SEQUENTIAL ADDRESS READ
Sequential reads are initiated by either a current address read or a random address read. After the master
receives the first data byte, the master responds with an acknowledge. As long as the DS1855 receives
this acknowledge after a byte is read, the master may clock out additional data words from the DS1855.
After reaching address FFh, it resets to address 00h.
The sequential read operation is terminated when the master initiates a STOP condition. The master does
not respond with a zero.
For a more detailed description of 2-wire theory of operation, refer to the next section.
DS1855
2-WIRE SERIAL PORT OPERATION
The 2-wire serial port interface supports a bidirectional data transmission protocol with device
addressing. A device that sends data on the bus is defined as a transmitter, and a device receiving data is
defined as a receiver. The device that controls the message is called a “master.” The devices that are
controlled by the master are “slaves.” The bus must be controlled by a master device that generates the
serial clock (SCL), controls the bus access, and generates the START and STOP conditions. The DS1855operates as a slave on the two-wire bus. Connections to the bus are made via the open-drain I/O lines,
SDA and SCL. The following I/O terminals control the 2-wire serial port: SDA, SCL, A0, A1, A2.
Timing diagrams for the 2-wire serial port can be found in Figures 2 and 3. Timing information for the 2-
wire serial port is provided in the AC Electrical Characteristics Table for 2-wire serial communications.
The following bus protocol has been defined:
1. Data transfer may be initiated only when the bus is not busy.2. During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in
the data line while the clock line is HIGH will be interpreted as control signals.
Accordingly, the following bus conditions have been defined:
Bus not busy: Both data and clock lines remain HIGH.
Start data transfer: A change in the state of the data line from HIGH to LOW while the clock is HIGH
defines a START condition.
Stop data transfer: A change in the state of the data line from LOW to HIGH while the clock line is
HIGH defines the STOP condition.
Data valid: The state of the data line represents valid data when, after a START condition, the data lineis stable for the duration of the clock signal’s HIGH period. The data on the line can be changed during
the clock signal’s LOW period. There is one clock pulse per bit of data. Figures 2 and 3 detail how data
transfer is accomplished on the 2-wire bus. Depending on the state of the R/W bit, two types of data
transfer are possible.
Each data transfer is initiated with a START condition and terminated with a STOP condition. The
number of data bytes transferred between START and STOP conditions is not limited and is determined
by the master device. The information is transferred byte-wise and each receiver acknowledges with a 9th
bit.
A regular mode (100kHz clock rate) and a fast mode (400kHz clock rate) are defined within the bus
specifications. The DS1855 works in both modes.
Acknowledge: Each receiving device, when addressed, is obliged to generate an acknowledge after the
reception of each byte. The master device must generate an extra clock pulse, which is associated withthis acknowledge bit.
A device that acknowledges must pull down the SDA line during the acknowledge clock pulse in such a
way that the SDA line is a stable LOW during the HIGH period of the acknowledge-related clock pulse.
Of course, setup and hold times must be taken into account. A master must signal an end of data to the
DS1855
1. Data transfer from a master transmitter to a slave receiver. The first byte transmitted by the master is
the command/control byte. Next, follows a number of data bytes. The slave returns an acknowledge
bit after each received byte.
2. Data transfer from a slave transmitter to a master receiver. The master transmits the first byte (the
command/control byte) to the slave. The slave then returns an acknowledge bit. Next, follows anumber of data bytes transmitted by the slave to the master. The master returns an acknowledge bit
after all received bytes other than the last byte. At the end of the last received byte, a ‘not
acknowledge’ can be returned.
The master device generates all serial clock pulses and the START and STOP conditions. A transfer isended with a STOP condition or with a repeated START condition. Since a repeated START condition is
also the beginning of the next serial transfer, the bus will not be released.
The DS1855 may operate in the following two modes:
1. Slave receiver mode: Serial data and clock are received through SDA and SCL, respectively. After
each byte is received, an acknowledge bit is transmitted. START and STOP conditions are recognized
as the beginning and end of a serial transfer. Address recognition is performed by hardware after
reception of the slave (device) address and direction bit.
2. Slave transmitter mode: The first byte is received and handled as in the slave receiver mode.
However, in this mode the direction bit will indicate that the transfer direction is reversed. Serial datais transmitted on SDA by the DS1855 while the serial clock is input on SCL. START and STOP
conditions are recognized as the beginning and end of a serial transfer.
3. Slave Address: Command/control byte is the first byte received following the START condition from
the master device. The command/control byte consists of a 4-bit control code. For the DS1855, this is
set as 1010 binary for read/write operations. The next 3 bits of the command/control byte are the
device select bits or slave address (A2, A1, A0). They are used by the master device to select whichof eight devices is to be accessed. When reading or writing to the DS1855, the device-select bits must
match the device-select pins (A2, A1, A0). The last bit of the command/control byte (R/W) defines
the operation to be performed. When set to a 1 a read operation is selected, and when set to a 0 a write
operation is selected.
Following the START condition, the DS1855 monitors the SDA bus by checking the device type
identifier being transmitted. Upon receiving the 1010 control code, the appropriate device address bits,
and the R/W bit, the slave device outputs an acknowledge signal on the SDA line.
WRITE PROTECT
An external write-protect (WP) pin protects EEPROM data and potentiometer position from alteration inan application. If this pin is open or tied high, the EEPROM content, which includes the potentiometer
settings, is protected from alteration. If no activity occurs on the SDA and SCL pins, this part will be held
in a low-power mode. The EEPROM and potentiometer settings may be read if WP is set, but they cannot
be written under any circumstances unless WP is taken to GND.
DS1855
LOCKING AND UNLOCKING EEPROM
In addition to the WP pin, it is possible to write-protect, or lock, certain portions of the EEPROM through
software control. The DS1855 256-byte EEPROM can be visualized as three blocks, or partitions. The
lower block is from 00h to 7Fh. The upper block is 80h to F7h. And the upper page is from F8 to FFh.
The lower and upper blocks are user EEPROM. The upper page is EEPROM that contains the pot
settings, as well as the lock registers.
Locking the EEPROM is a two-step process. First, the software lock configuration byte (FAh) is used to
choose which portion(s) of EEPROM are to be locked. The three least significant bits of FAh are B2, B1,
and B0. B2 selects the upper page (F8–FFh). B1 selects the upper block (80–F7h). The LSBit, B0, selects
the lower block (00–7Fh). The user may lock one, two, or all three partitions at once. The second steprequired to turn on the lock is to write the password into the lock bytes (FBh and FCh). The password to
lock is 56h, 25h (FBh and FCh, respectively). Once the EEPROM is locked, the user may still read data
out of the locked portions, but performing a write will not write to EEPROM.
Unlocking the EEPROM consists of entering the password into bytes FBh and FCh. The password tounlock is 67h, 36h (FBh and FCh, respectively). However, when attempting to unlock the upper page,
which contains the lock bytes (FBh and FCh), the two-byte password must be written in one write cycle.
If a 2-wire STOP command is sent between the write to FBh and FCh, the upper page will remain locked.
In order to modify the Software Lock Configuration Byte (FAh), the upper page must be unlocked. Inother words, the upper page must be unlocked in order to make changes to the locking of the upper and
lower blocks.
READING AND WRITING THE POTENTIOMETER VALUES
Reading from and writing to the potentiometers consists of a standard read or write to EEPROM memoryat the addresses F8h and F9h. The 8-bit value at address F9h controls the wiper setting for potentiometer
0, which has 100 positions. The 8-bit value at address F8h controls the wiper setting of potentiometer 1,
which has 256 positions. Potentiometer 1 may be set to any value between 00h and FFh. 00h sets the
wiper of potentiometer 1 to its lowest value and FFh sets the wiper to its highest. Potentiometer 0 may be
set to any value between 00h and 63h. A value of 00h sets the wiper of potentiometer 0 to its lowestposition and 63h sets the wiper to its highest position. Any hexadecimal value is a valid address. Setting a
value greater than the upper limit of the potentiometer’s range, 64h or greater for potentiometer 0, will
result in setting the wiper to its highest position, but the MSB will be ignored. The memory locations F8h
and F9h, which control the potentiometers’ settings, are programmed to FFh when shipped from thefactory. All other memory locations are initially programmed to 00h.