Datasheet

TPL0202
SLIS135C DECEMBER 2010REVISED JUNE 2012
www.ti.com
SPI DIGITAL INTERFACE
The TPL0202 uses a 3-wire SPI-compatible serial data interface. This write-only interface has three inputs: chip-
select (CS), data clock (SCLK), and data input (DIN). Drive CS low to enable the serial interface and clock data
synchronously into the shift register on each SCLK rising edge. The WRITE commands (C1, C0 = 00 or 01)
require 16 clock cycles to clock in the command, address, and data. The COPY commands (C1, C0 = 10 or 11)
can use either eight clock cycles to transfer only command and address bits or 16 clock cycles, with the device
disregarding 8 data bits. After loading data into the shift register, drive CS high to latch the data into the
appropriate potentiometer control register and disable the serial interface. Keep CS low during the entire serial
data stream to avoid corruption of the data.
Register Map
CLOCK EDGE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
C1 C0 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0
Write Wiper
0 0 0 0 0 0 0 1 D7 D6 D5 D4 D3 D2 D1 D0
Register A
Write Wiper
0 0 0 0 0 0 1 0 D7 D6 D5 D4 D3 D2 D1 D0
Register B
Write Wiper
Register A and 0 0 0 0 0 0 1 1 D7 D6 D5 D4 D3 D2 D1 D0
B
Write NV
0 0 0 1 0 0 0 1 D7 D6 D5 D4 D3 D2 D1 D0
Register A
Write NV
0 0 0 1 0 0 1 0 D7 D6 D5 D4 D3 D2 D1 D0
Register B
Write NV
Register A and 0 0 0 1 0 0 1 1 D7 D6 D5 D4 D3 D2 D1 D0
B
Copy Wiper
Register A to 0 0 1 0 0 0 0 1
NV Register A
Copy Wiper
Register B to 0 0 1 0 0 0 1 0
NV Register B
Copy Both
Wiper
0 0 1 0 0 0 1 1
Registers to
NV Registers
Copy NV
Register A to
0 0 1 1 0 0 0 1
Wiper Register
A
Copy NV
Register B to
0 0 1 1 0 0 1 0
Wiper Register
A
Copy Both NV
Registers to
0 0 1 1 0 0 1 1
Wiper
Registers
Digital Interface Format
The data format consists of three elements: command bits, address bits, and data bits. The command bits (C1
and C0) indicate the action to be taken such as changing or storing the wiper position. The address bits (A1 and
A0) specify which potentiometer the command affects and the 8 data bits (D7 to D0) specify the wiper position.
14 Submit Documentation Feedback Copyright © 2010–2012, Texas Instruments Incorporated
Product Folder Link(s): TPL0202