wm8918 Wolfson Microelectronics plc, wm8918 Datasheet - Page 116

no-image

wm8918

Manufacturer Part Number
wm8918
Description
Ultra Low Power Dac For Portable Audio Applications
Manufacturer
Wolfson Microelectronics plc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm8918CGEFL/RV
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm8918GEFL
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm8918GEFL/RV
Manufacturer:
MOLEX
Quantity:
12 000
WM8918
w
The Write Sequencer can be interrupted by writing a logic 1 to the WSEQ_ABORT bit.
The current status of the Write Sequencer can be read using two further register fields - when the
WSEQ_BUSY bit is asserted, this indicates that the Write Sequencer is busy. Note that, whilst the
Control Write Sequencer is running a sequence (indicated by the WSEQ_BUSY bit), normal
read/write operations to the Control Registers cannot be supported. (The Write Sequencer registers
and the Software Reset register can still be accessed when the Sequencer is busy.) The index of the
current step in the Write Sequencer can be read from the WSEQ_CURRENT_INDEX field; this is an
indicator of the sequencer’s progress. On completion of a sequence, this field holds the index of the
last step within the last commanded sequence.
When the Write Sequencer reaches the end of a sequence, it asserts the WSEQ_EINT flag in
Register R127 (see Table 72 within the “Interrupts” section). This flag can be used to generate an
Interrupt Event on completion of the sequence. Note that the WSEQ_EINT flag is asserted to
indicate that the WSEQ is NOT Busy.
Table 78 Write Sequencer Control - Initiating a Sequence
PROGRAMMING A SEQUENCE
A sequence consists of write operations to data bits (or groups of bits) within the control registers.
The register fields associated with programming the Control Write Sequencer are described in Table
79.
For each step of the sequence being programmed, the Sequencer Index must be written to the
WSEQ_WRITE_INDEX field. The values 0 to 31 correspond to all the available RAM addresses
within the Write Sequencer memory. (Note that memory addresses 32 to 48 also exist, but these are
ROM addresses, which are not programmable.)
R108 (6Ch)
Write
Sequencer 0
R111 (6Fh)
Write
Sequencer 3
R112 (70h)
Write
Sequencer 4
REGISTER
ADDRESS
BIT
5:0
9:4
8
9
8
0
WSEQ_START_
WSEQ_CURRE
NT_INDEX [5:0]
WSEQ_ABORT
WSEQ_START
WSEQ_BUSY
WSEQ_ENA
INDEX [5:0]
LABEL
DEFAULT
00_0000
00_0000
0
0
0
0
Write Sequencer Enable.
0 = Disabled
1 = Enabled
Writing a 1 to this bit aborts the
current sequence and returns
control of the device back to the
serial control interface.
Writing a 1 to this bit starts the write
sequencer at the memory location
indicated by the
WSEQ_START_INDEX field. The
sequence continues until it reaches
an “End of sequence” flag. At the
end of the sequence, this bit will be
reset by the Write Sequencer.
Sequence Start Index. This is the
memory location of the first
command in the selected sequence.
0 to 31 = RAM addresses
32 to 48 = ROM addresses
49 to 63 = Reserved
Sequence Current Index (read only):
This is the location of the most
recently accessed command in the
write sequencer memory.
Sequencer Busy flag (read only):
0 = Sequencer idle
1 = Sequencer busy
Note: it is not possible to write to
control registers via the control
interface while the Sequencer is
Busy.
PD, Rev 4.0, September 2010
DESCRIPTION
Production Data
116

Related parts for wm8918