DA9560.001
20 January, 2005
Vh -
Vl -
CLI
DAI
Vh -
Vl -
programmable delay bit
Vh -
Vl -
WSI
left 16-bit audio sample
right 16-bit audio sample
Figure 1. I2S Bus
◆ Resetting Registers
When I2C is used:
First register 0x00 is the reset register, writing to
which will set all registers to default values. Writing
to register 0x00 sets default values to all registers,
after which following data will be written to registers
as incrementing starts. However, note that when
starting data write with the reset sequence, the byte
following the reset address is unused and the byte
after that is written to register 0x01 (DW-byte,
Reset-address-byte, unused data byte, data byte
for register 0x01). On-chip incremental counter is 4-
bits long: at address 0x0F incrementing stops.
When SPI is used:
Writing to the first register (0x00) resets all
registers. In case writing sequence is started with
reset, the byte following the reset address is
unused, similarly to I2C-mode.
Register reset can be performed externally by
setting XRESET pin low.
CONTROL REGISTERS
MAS9560 has 11 on-chip registers, which are
controlled through I2C- or SPI-bus (see section
Control Interfaces above). Register byte length is 8
bits for all registers, however, some bits are unused
and their value is not set and can vary (they are
non-repeatable). Reset register is write-only, all
other registers permit read and write access.
◆ Register Map
Sub-Address
Register
Reset Register
0x00
0x01
Block Control Register
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
Mode Control Register
I2S-Interface Control Register
Left Headphone Volume Control
Right Headphone Volume Control
Earpiece Volume Control
Loudspeaker Volume Control
Left Input Aux Gain Control
Right Input Aux Gain Control
Ain Input Gain Control
0x0A
0x0B… 0x0F
Unused
18 (25)