APA3160
Function Description (Cont.)
Shutdown Sequence
Enter:
1. Ensure I2S clocks have been stable and valid for at least 50ms.
2. Write 0x40 to register 0x05.
3. Wait at least 1ms+1.3xt (where t is specified by register 0x1A).
stop
stop
4. Once in shutdown, stable clocks are not required while device remains idle.
5. If desired, reconfigure by ensuring that clocks have been stable and valid for at least 50ms before returning to step
4 of initialization sequence.
Exit:
1. Ensure I2S clocks have been stable and valid for at least 50ms.
2. Write 0x00 to register 0x05 (exit shutdown command may not be serviced for as much as 240ms after trim following
AVDD/DVDD powerup ramp).
3. Wait at least 1ms+1.3xtstart (where tstart is specified by register 0x1A).
4. Proceed with normal operation.
Power-down Sequence
Use the following sequence to power-down the device and its supplies:
1. If time permits, enter shutdown (sequence defined above); else, in case of sudden power loss, assert SD=0 and
wait at least 2ms.
2. Assert RST=0.
3. Drive digital inputs low and ramp down PVDD supply as follows:
• Drive all digital inputs low after RST has been low for at least 2µs.
• Ramp down PVDD while ensuring that it remains above 8V until RST has been low for at least 2µs.
4. Ramp down AVDD/DVDD while ensuring that it remains above 3V until PVDD is below 6V and that it is never more
than 2.5V below the digital inputs.
Table 1. Serial Control Interface Register Summary
Sub Address
Register Name
No. of Bytes
Contents
A u indicates unused bits.
0x00
Clock control register
1
Description shown in subsequent section
0x01
Device ID register
1
Description shown in subsequent section
0x02
Error status register
1
Description shown in subsequent section
0x03
System control register 1
1
Description shown in subsequent section
0x04
Serial data interface
1
Description shown in subsequent section
0x05
1
Description shown in subsequent section
0x06
Soft mute register
1
Description shown in subsequent section
0x07
Master volume
1
Description shown in subsequent section
0x08
Channel 1 vol
1
Description shown in subsequent section
0x09
Channel 2 vol
1
Description shown in subsequent section
0x0A
0x0B - 0X0D
Fine master volume
1
Description shown in subsequent section
Reserved (1)
0x0E
Volume configuration register
1
Description shown in subsequent section
Initialization Values
0x6C
0x00
0x00
0x80
0x05
0x40
0x00
0xFF (mute)
0x30 (0dB)
0x30 (0dB)
0x00 (0dB)
0x91
Copyright © ANPEC Electronics Corp.
23
Rev. A.4 - Jan., 2013
www.anpec.com.tw