wms7202 Winbond Electronics Corp America, wms7202 Datasheet - Page 14

no-image

wms7202

Manufacturer Part Number
wms7202
Description
256-tap Dual-channel Non-volatile Digital
Manufacturer
Winbond Electronics Corp America
Datasheet
Inst.
No
12
5
7
Inst.
No.
3
8
9
6
Command
Name
Erase
NVMEM
Program
NVMEM
Program
NVMEM
with Tap
Register
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.
For programming NVMEM, the following sequence must be followed:
Up
Down
Comman
d Name:
Write to
Tap
Register
Load Tap
Register
1. Erase word at NVMEM location
2. Program word at NVMEM location
7.8.4 Programming
Command Byte
1 1 0 1 A3 A2 A1 A0
0 0 1 0 A3 A2 A1 A0
0 0 1 1 A3 A2 A1 A0
Command Byte
0 1 0 0 x x A1 A0
0 1 1 1 x x A1 A0
1 1 1 1 x x A1 A0
1 0 1 1 A3 A2 A1 A0
TABLE 7 – WRITING TO THE TAP REGISTERS
Non-Volatile
TABLE 8 – PROGRAMMING NVMEM
Data Byte 1
x x x x x x x x
x x x x x x x D8
x x x x x x x x
Data Byte 1
x x x x x x x x
x x x x x x x x
x x x x x x x x
x x x x x x x x
Memory (NVMEM)
- 14 -
Data Byte 2
x x x x x x x x
D7 D6 D5 D4 D3 D2 D1 D0
x x x x x x x x
Data Byte 2
x x x x x x x x
x x x x x x x x
D7 D6 D5 D4 D3 D2 D1 D0
x x x x x x x x
WMS7202
Comment
Erases the 9 bit word
pointed to by A3, A2, A1
and A0.
Writes a value to the
selected NVMEM register
of the selected channel
Takes the current
potentiometer settings and
saves in the selected
NVMEM location.
Comment
Writes a value to the
tap register of the
selected channel
Increment tap
register value by one
Decrement tap
register value by one
NVMEM location into
the tap register
Load the selected

Related parts for wms7202