WMS7202
- 12 -
7.7. I
NSTRUCTION SET
TABLE 5 – INSTRUCTION SET
Inst
No.
Instruction Byte
C3 C2 C1 C0 A3 A2 A1
A0
Data Byte 1
D15 D14 D13 D12 D11 D10 D9 D8
Data Byte 2
D7 D6 D5 D4 D3 D2 D1 D0
Operation
1 0 0 0 0 x x x x x x x x x x x x x x x x x x x x
No Operation (NOP). Do nothing
2 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 Tap Register and output
selection MUX register
3 0 1 0 0 x x A1 A0 x x x x x x x x D7 D6 D5 D4 D3 D2 D1 D0
Write to Tap Register with D7-D0
4 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 NVMEM pointed to by A3-A0
5 0 0 1 0 A3 A2 A1 A0 x x x x x x x
D8
D7 D6 D5 D4 D3 D2 D1 D0
Program NVMEM pointed to by
A3-A0 with D8-D0
6 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 Tap Register and output
selection MUX register with the
contents of NVMEM pointed to by
A3-A0
7 0 0 1 1 A3 A2 A1 A0 x x x x x x x x x x x x x x x x
Program NVMEM pointed to by
A3-A0 with the contents of Tap
Register and output selection MUX
register
8 0 1 1 1 x x A1 A0 x x x x x x x x x x x x x x x x
Up: Increment setting of TR by one
tap
9 1 1 1 1 x x A1 A0 x x x x x x x x x x x x x x x x
Down: Decrement setting of TR by
one tap
10 1 0 0 0 x x x x x x x x x x x x x x x x x x x x
Sleep: Discontinue clock supply to
the logic and memories
11 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: Clock supply to the logic
and memories
12 1 1 0 1 A3 A2 A1 A0 x x x x x x x x x x x x x x x x
Byte-erase NVMEM pointed to by
A3-A0
13 1 0 0 1 x x x x x x x x x x x x x x x x x x x x
Power On Reset: Software reset
the part to the power up state
Note: C3-C0 are the command op-code; A3, A2 are the NVMEM address; A1, A0 are the channel address.
7.8. B
ASIC OPERATION
This chapter describes the sequences of commands to send to the WMS7202 and how to use the
different features.
7.8.1 Sending a Command
1. Take the chip out of SLEEP mode.
2. Check that the write protect is set correctly if writing to NVMEM.
3. Check that R/B is HIGH before issuing command.
4. Pull the
CS pin LOW before sending data to the device.