ZHCSAC2C August 2012 – October 2018 PCM5121 , PCM5122
PRODUCTION DATA.
In any page, register 0 is the Page Select Register. The register value selects the Register Page from 0 to 255 for next read or write command.
REGISTER NUMBER | DESCRIPTION |
---|---|
Page 0 | |
0 | Page select register |
1 | Analog control register |
2 | Standby, Powerdown requests |
3 | Mute |
4 | PLL Lock Flag, PLL enable |
5 | Reserved |
6 | SPI MISO function select |
7 | De-emphasis enable, SDOUT select |
8 | GPIO enables |
9 | BCK, LRCLK configuration |
10 | DSP GPIO Input |
11 | Reserved |
12 | Master mode BCK, LRCLK reset |
13 | PLL clock source select |
14 - 19 | Reserved |
20 - 24 | PLL dividers |
25, 26 | Reserved |
27 | DSP clock divider |
28 | DAC clock divider |
29 | NCP clock divider |
30 | OSR clock divider |
31 | Reserved |
32, 33 | Master mode dividers |
34 | fS speed mode |
35, 36 | IDAC (number of DSP clock cycles available in one audio frame) |
37 | Ignore various errors |
38,39 | Reserved |
40, 41 | I2S configuration |
42 | DAC data path |
43 | DSP program selection |
44 | Clock missing detection period |
59 | Auto mute time |
60 - 64 | Digital volume |
65 | Auto mute |
75 - 79 | Reserved |
80 - 85 | GPIOn output selection |
86, 87 | GPIO control |
88, 89 | Reserved |
90 | DSP overflow |
91 - 94 | Sample rate status |
95 - 107 | Reserved |
108 | Analog mute monitor |
109 - 118 | Reserved |
119 | GPIO input |
120 | Auto Mute flags |
121 | Reserved |
Page 1 | |
1 | Output amplitude type |
2 | Analog gain control |
3, 4 | Reserved |
5 | Undervoltage protection |
6 | Analog mute control |
7 | Analog gain boost |
8, 9 | VCOM configuration |
Page 44 | |
1 | Coefficient memory (CRAM) control |
Pages 44 - 52 | Coefficient buffer - A (256 coeffs x 24 bits) : See Table 51 |
Pages 62 - 70 | Coefficient buffer - B (256 coeffs x 24 bits) : See Table 52 |
71 - 252 | Reserved |
Page 253 | |
63, 64 | Clock Flex Mode |
Pages 254 - 255 | Reserved |
The PCM512x has a register map split into multiple pages. Pages 0 and 1 control of the DAC and other on-chip peripherals. Pages 44 through 52 are used for Coefficient A memory, while Pages 62-70 are coefficient B memory. Pages 152-186 contain the miniDSP instruction memory. Page 253 is where the Clock Flex Mode register is located.
Page: | 0 | 1 | 2-43 | 44-52 | 53-61 | 62-70 | 71-252 | 253 | 254-255 |
Func: | Control | Analog Control | Reserved | Coeffient A | Reserved | Coeffient B | Reserved | Clock Flex | Reserved |
Desc: | General Control and Configuration | Analog Control | 256 24-bit coefficients,
30 coefficients per page, 4 registers per coefficient |
256 24-bit coefficients,
30 coefficients per page, 4 registers per coefficient |
Clock Flex Mode |
COEFF NO | PAGE NO | BASE REGISTER | BASE REGISTER + 0 | BASE REGISTER + 1 | BASE REGISTER + 2 | BASE REGISTER + 3 |
---|---|---|---|---|---|---|
C0 | 44 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C1 | 44 | 12 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C29 | 44 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C30 | 45 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C59 | 45 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C60 | 46 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C89 | 46 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C90 | 47 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C119 | 47 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C120 | 48 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C149 | 48 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C150 | 49 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C179 | 49 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C180 | 50 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C209 | 50 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C210 | 51 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C239 | 51 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C240 | 52 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C255 | 52 | 68 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
COEFF NO | PAGE NO | BASE REGISTER | BASE REGISTER + 0 | BASE REGISTER + 1 | BASE REGISTER + 2 | BASE REGISTER + 3 |
---|---|---|---|---|---|---|
C0 | 62 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C1 | 62 | 12 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C29 | 62 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C30 | 63 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C59 | 63 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C60 | 64 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C89 | 64 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C90 | 65 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C119 | 65 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C120 | 66 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C149 | 66 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C150 | 67 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C179 | 67 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C180 | 68 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C209 | 68 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C210 | 69 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C239 | 69 | 124 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
C240 | 70 | 8 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |
.. | .. | .. | .. | .. | .. | .. |
C255 | 70 | 68 | Coef(23:16) | Coef(15:8) | Coef(7:0) | Reserved. |