ALC5647
Multi-Channel Audio Hub/CODEC with SounzReal
Post-Processing for Mobile Devices
TM
DATASHEET
Rev. 0.4
7 October 2013
Realtek Semiconductor Corp.
No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan
Tel.: +886-3-578-0211. Fax: +886-3-577-6047
www.realtek.com
ALC5647
Datasheet
COPYRIGHT
© 2013 Realtek Semiconductor Corp. All rights reserved. No part of this document may be reproduced,
transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any
means without the written permission of Realtek Semiconductor Corp.
DISCLAIMER
Realtek provides this document “as is”, without warranty of any kind. Realtek may make improvements
and/or changes in this document or in the product described in this document at any time. This document
could include technical inaccuracies or typographical errors.
TRADEMARKS
Realtek is a trademark of Realtek Semiconductor Corporation. Other names mentioned in this document
are trademarks/registered trademarks of their respective owners.
USING THIS DOCUMENT
This document is intended for the hardware and software engineer’s general information on the Realtek
ALC5647 Audio Codec IC.
Though every effort has been made to ensure that this document is current and accurate, more
information may have become available subsequent to the production of this guide.
ii
Rev. 0.4
ALC5647
Datasheet
REVISION HISTORY
Revision
0.2
0.3
0.4
Release Date
2013/3/22
2013/8/7
2013/10/07
Summary
First full version release
Add JD1 function description
Modify package POD pin description
iii
Rev. 0.4
ALC5647
Datasheet
Table of Contents
1.
2.
3.
4.
GENERAL DESCRIPTION .............................................................................................................................................. 1
FEATURES ......................................................................................................................................................................... 2
SYSTEM APPLICATION ................................................................................................................................................. 3
FUNCTION BLOCK AND MIXER PATH ..................................................................................................................... 4
4.1.
4.2.
4.3.
5.
6.
F
UNCTION
B
LOCK
........................................................................................................................................................ 4
A
UDIO
M
IXER
P
ATH
..................................................................................................................................................... 5
D
IGITAL
M
IXER
P
ATH
.................................................................................................................................................. 6
PIN ASSIGNMENTS ......................................................................................................................................................... 7
PIN DESCRIPTIONS......................................................................................................................................................... 8
6.1.
6.2.
6.3.
6.4.
D
IGITAL
I/O P
INS
......................................................................................................................................................... 8
A
NALOG
I/O P
INS
........................................................................................................................................................ 9
F
ILTER
/R
EFERENCE
.................................................................................................................................................... 11
P
OWER
/G
ROUND
........................................................................................................................................................ 12
7.
FUNCTION DESCRIPTION .......................................................................................................................................... 13
7.1.
S
YSTEM
C
ONNECTION
................................................................................................................................................ 13
7.2.
P
OWER
....................................................................................................................................................................... 14
7.3.
P
OWER
S
UPPLY
O
N
/O
FF
S
EQUENCE
........................................................................................................................... 15
7.4.
R
ESET
........................................................................................................................................................................ 17
7.4.1. Power-On Reset (POR) ........................................................................................................................................ 17
7.4.2. Software Reset ...................................................................................................................................................... 17
7.5.
C
LOCKING
.................................................................................................................................................................. 18
7.5.1. Phase-Locked Loop .............................................................................................................................................. 19
7.5.2. I
2
C and Two I
2
S/PCM Interface ........................................................................................................................... 20
7.6.
D
IGITAL
D
ATA
I
NTERFACE
........................................................................................................................................ 23
7.6.1. Two I
2
S/PCM Interface ......................................................................................................................................... 23
7.7.
A
UDIO
D
ATA
P
ATH
.................................................................................................................................................... 27
7.7.1. 2 Analog ADCs with 4-Channel Record Path ...................................................................................................... 27
7.7.2. 4 DACs with 4-Channel Playback Path................................................................................................................ 28
7.7.3. Mixers ................................................................................................................................................................... 29
7.8.
A
NALOG
A
UDIO
I
NPUT
P
ORT
..................................................................................................................................... 30
7.9.
A
NALOG
A
UDIO
O
UTPUT
P
ORT
.................................................................................................................................. 31
7.10.
M
ULTI
-F
UNCTION
P
INS
.............................................................................................................................................. 33
7.11.
DRC
AND
AGC F
UNCTION
........................................................................................................................................ 35
7.12.
S
OUNZ
R
EAL
P
OST
-P
ROCESSING
................................................................................................................................. 39
7.13.
E
QUALIZER
B
LOCK
.................................................................................................................................................... 39
7.14.
W
IND
N
OISE
R
EDUCTION
F
ILTER
............................................................................................................................... 39
7.15.
I
2
C C
ONTROL
I
NTERFACE
.......................................................................................................................................... 42
7.15.1.
Address Setting ................................................................................................................................................ 42
7.15.2.
Complete Data Transfer .................................................................................................................................. 42
7.16.
GPIO, I
NTERRUPT AND
J
ACK
D
ETECTION
.................................................................................................................. 44
7.17.
P
USH
B
UTTON
D
ETECTION
......................................................................................................................................... 47
7.18.
P
OWER
M
ANAGEMENT
............................................................................................................................................... 49
8.
REGISTERS LIST ........................................................................................................................................................... 51
8.1.
R
EGISTER
M
AP
.......................................................................................................................................................... 51
iv
Rev. 0.4
ALC5647
Datasheet
8.2.
8.3.
8.4.
8.5.
8.6.
8.7.
8.8.
8.9.
8.10.
8.11.
8.12.
8.13.
8.14.
8.15.
8.16.
8.17.
8.18.
8.19.
8.20.
8.21.
8.22.
8.23.
8.24.
8.25.
8.26.
8.27.
8.28.
8.29.
8.30.
8.31.
8.32.
8.33.
8.34.
8.35.
8.36.
8.37.
8.38.
8.39.
8.40.
8.41.
8.42.
8.43.
8.44.
8.45.
8.46.
8.47.
8.48.
8.49.
8.50.
8.51.
8.52.
8.53.
8.54.
8.55.
8.56.
MX-00
H
: S/W R
ESET
& D
EVICE
ID ........................................................................................................................... 56
MX-01
H
: S
PEAKER
O
UTPUT
C
ONTROL
...................................................................................................................... 56
MX-02
H
: H
EADPHONE
O
UTPUT
C
ONTROL
................................................................................................................. 57
MX-03
H
: LINE O
UTPUT
C
ONTROL
........................................................................................................................... 59
MX-04
H
: MONO O
UTPUT
C
ONTROL
........................................................................................................................ 60
MX-05
H
: LINE O
UTPUT
C
ONTROL
........................................................................................................................... 61
MX-0A
H
: IN1 P
ORT
C
ONTROL
- 1 ............................................................................................................................. 62
MX-0B
H
: IN1 P
ORT
C
ONTROL
- 2 ............................................................................................................................. 62
MX-0C
H
: IN1 P
ORT
C
ONTROL
- 3 ............................................................................................................................. 63
MX-0D
H
: IN2 I
NPUT
C
ONTROL
................................................................................................................................. 63
MX-0E
H
: IN3 I
NPUT
C
ONTROL
................................................................................................................................. 64
MX-0F
H
: INL & INR V
OLUME
C
ONTROL
................................................................................................................. 64
MX-18
H
: S
IDETONE
C
ONTROL
.................................................................................................................................. 65
MX-19
H
: DACL1/R1 D
IGITAL
V
OLUME
................................................................................................................... 66
MX-1A
H
: DACL2/R2 D
IGITAL
V
OLUME
.................................................................................................................. 66
MX-1B
H
: DACL2/R2 M
UTE
/U
N
-M
UTE
C
ONTROL
................................................................................................... 68
MX-1C
H
: S
TEREO
1 ADC D
IGITAL
V
OLUME
C
ONTROL
............................................................................................. 69
MX-1D
H
: M
ONO
ADC D
IGITAL
V
OLUME
C
ONTROL
................................................................................................. 70
MX-1E
H
: ADC D
IGITAL
B
OOST
G
AIN
C
ONTROL
...................................................................................................... 71
MX-20
H
: M
ONO
ADC D
IGITAL
B
OOST
G
AIN
C
ONTROL
............................................................................................ 72
MX-27
H
: S
TEREO
1 ADC D
IGITAL
M
IXER
C
ONTROL
................................................................................................. 73
MX-28
H
: M
ONO
ADC D
IGITAL
M
IXER
C
ONTROL
..................................................................................................... 73
MX-29
H
: S
TEREO
ADC
TO
DAC D
IGITAL
M
IXER
C
ONTROL
..................................................................................... 74
MX-2A
H
: S
TEREO
DAC D
IGITAL
M
IXER
C
ONTROL
.................................................................................................. 75
MX-2B
H
: M
ONO
DAC D
IGITAL
M
IXER
C
ONTROL
.................................................................................................... 76
MX-2C
H
: DAC D
IGITAL
M
IXER
C
ONTROL
............................................................................................................... 77
MX-2F
H
: I
NTERFACE
DAC/ADC D
ATA
C
ONTROL
.................................................................................................... 78
MX-31
H
: PDM I
NTERFACE
C
ONTROL
....................................................................................................................... 79
MX-3B
H
: RECMIXL C
ONTROL
1 ............................................................................................................................. 79
MX-3C
H
: RECMIXL C
ONTROL
2 ............................................................................................................................. 80
MX-3D
H
: RECMIXR C
ONTROL
1 ............................................................................................................................. 81
MX-3E
H
: RECMIXR C
ONTROL
2 ............................................................................................................................. 81
MX-3F
H
: HPMIXL C
ONTROL
................................................................................................................................... 82
MX-40
H
HPMIXL C
ONTROL
.................................................................................................................................... 83
MX-41
H
: HPMIXR C
ONTROL
................................................................................................................................... 83
MX-42
H
HPMIXR C
ONTROL
.................................................................................................................................... 84
MX-45
H
: HPOMIX C
ONTROL
................................................................................................................................... 84
MX-46
H
: SPKMIXL C
ONTROL
................................................................................................................................. 85
MX-47
H
: SPKMIXR C
ONTROL
................................................................................................................................. 86
MX-48
H
: SPOMIX C
ONTROL
................................................................................................................................... 87
MX-4A
H
: S
PEAKER
O
UTPUT
G
AIN
C
ONTROL
............................................................................................................ 88
MX-4B
H
: MONOMIX C
ONTROL
.............................................................................................................................. 88
MX-4C
H
: MONOMIX C
ONTROL
.............................................................................................................................. 89
MX-4D
H
: OUTMIXL C
ONTROL
............................................................................................................................... 90
MX-4E
H
: OUTMIXL C
ONTROL
................................................................................................................................ 90
MX-4F
H
: OUTMIXL C
ONTROL
................................................................................................................................ 91
MX-50
H
: OUTMIXR C
ONTROL
................................................................................................................................ 91
MX-51
H
: OUTMIXR C
ONTROL
................................................................................................................................ 92
MX-52
H
: OUTMIXR C
ONTROL
................................................................................................................................ 92
MX-53
H
: LOUTMIX C
ONTROL
................................................................................................................................ 93
MX-56
H
: H
APTIC
G
ENERATOR
C
ONTROL
.................................................................................................................. 93
MX-57
H
: H
APTIC
G
ENERATOR
C
ONTROL
.................................................................................................................. 94
MX-58
H
: H
APTIC
G
ENERATOR
C
ONTROL
.................................................................................................................. 94
MX-59
H
: H
APTIC
G
ENERATOR
C
ONTROL
.................................................................................................................. 94
MX-5A
H
: H
APTIC
G
ENERATOR
C
ONTROL
................................................................................................................. 95
v
Rev. 0.4
评论