WMS7202
Publication Release Date: January 2003
- 13 - Revision 1.1
5. 24 clock pulses are sent for each command. SDI must be valid on the rising edge of the clock,
SDO is valid on the falling edge of the clock or
CS .
6. Take
CS HIGH after the command has completed.
7. If command 2, 4, 5, 6 or 7 is sent, wait for the R/B pin to go HIGH before sending the next
command.
7.8.2 Wake Up/Sleep/Power Commands
The chip is in SLEEP mode after:
V
DD
is applied
A Power on Reset command is sent
A SLEEP command is sent
Before any operations can be performed the WAKE UP command must be sent.
When a SLEEP command is sent, the chip retains its resistor settings as long as the chip is powered
up but cannot accept any other commands than a WAKE UP command.
TABLE 6 – POWER RELATED COMMANDS
Inst.
No.
Command
Name:
Command Byte Data Byte 1 Data Byte 2 Comment
11 Wake Up 0 0 0 1 x x x x x x x x x x x x x x x x x x x x Wake Up entire chip
10 Sleep 1 0 0 0 x x x x x x x x x x x x x x x x x x x x Send chip into power
save mode
13 Power on Reset 1 0 0 1 x x x x x x x x x x x x x x x x x x x x Reset Chip
1 NOP 0 0 0 0 x x x x x x x x x x x x x x x x x x x x Dummy instruction
The commands above control the entire chip. There is no way to independently power on or off
individual potentiometers.
7.8.3 Write to Tap Register (TR)
The microcontroller can write a value directly into the tap register or send an increment or decrement
command to control the tap register. Alternatively, the contents of an NVMEM location can be written
to the tap register. The only way to change the output buffer mode is to write the desired value of bit
D8 into an NVMEM location and then load the corresponding NVMEM location into the tap register.
WMS7202
- 14 -
TABLE 7 – WRITING TO THE TAP REGISTERS
Inst.
No.
Comman
d Name:
Command Byte Data Byte 1 Data Byte 2 Comment
3 Write to
Tap
Register
0 1 0 0 x x A1 A0 x x x x x x x x D7 D6 D5 D4 D3 D2 D1 D0 Writes a value to the
tap register of the
selected channel
8 Up 0 1 1 1 x x A1 A0 x x x x x x x x x x x x x x x x Increment tap
register value by one
9 Down 1 1 1 1 x x A1 A0 x x x x x x x x x x x x x x x x Decrement tap
register value by one
6 Load Tap
Register
1 0 1 1 A3 A2 A1 A0 x x x x x x x x x x x x x x x x Load the selected
NVMEM location into
the tap register
7.8.4 Programming Non-Volatile
Memory (NVMEM)
The value stored in the NVMEM location is 9 bits, the 8 bits (D7-D0) of the tap register plus 1 bit (D8)
of the output buffer mode. The NVMEM position must be erased before writing to it. There are two
ways to program a value into NVMEM.
Write a value directly from the microcontroller
Load the current potentiometer setting into NVMEM.
TABLE 8 – PROGRAMMING NVMEM
Inst.
No
Command
Name
Command Byte Data Byte 1 Data Byte 2 Comment
12 Erase
NVMEM
1 1 0 1 A3 A2 A1 A0 x x x x x x x x x x x x x x x x Erases the 9 bit word
pointed to by A3, A2, A1
and A0.
5 Program
NVMEM
0 0 1 0 A3 A2 A1 A0 x x x x x x x D8 D7 D6 D5 D4 D3 D2 D1 D0 Writes a value to the
selected NVMEM register
of the selected channel
7 Program
NVMEM
with Tap
Register
0 0 1 1 A3 A2 A1 A0 x x x x x x x x x x x x x x x x Takes the current
potentiometer settings and
saves in the selected
NVMEM location.
For programming NVMEM, the following sequence must be followed:
1. Erase word at NVMEM location
2. Program word at NVMEM location
WMS7202
Publication Release Date: January 2003
- 15 - Revision 1.1
7.8.5 Reading Tap Registers and NVMEM Locations
The contents of the tap register for any channel or any NVMEM location can be read back through the
SDO pin. When a command is sent, the data is clocked out on the falling edge of the clock. Since
daisy-chain operation requires data from one command to be clocked out when the next command
arrives, any read command must be followed by another command to get the correct data on the SDO
pin.
TABLE 9 – READING THE TAP REGISTERS
Inst.
No.
Command
Name:
Command Byte Data Byte 1 Data Byte 2 Comment
4 Read
NVMEM
1 0 1 0 A3 A2 A1 A0 x x x x x x x x x x x x x x x x Read the value of the
selected NVMEM
location
2 Read Tap
Register
1 1 0 0 x x A1 A0 x x x x x x x x x x x x x x x x Read the value of the
selected tap register
1 NOP to
Read
Register
0 0 0 0 x x x x x x x x x x x D8 D7 D6 D5 D4 D3 D2 D1 D0 Output data to SDO
pin
To read the contents of either the tap register or a NVMEM location, the following sequence must be
followed.
1. Send the desired read command (#2 or #4) to select the register to read
2. Send another command such as NOP and read the SDO pin on the falling edge of the clock.
The other command could be any command, but to make sure that the chip does not change
anything, send either another Read command or a NOP command (#1).

WMS7202050P

Mfr. #:
Manufacturer:
Description:
IC DGTL POT 50KOHM 256TAP 14DIP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet