Es8388 DS
Es8388 DS
1 BLOCK DIAGRAM
DVDD PVDD DGND AVDD AGND HPVDD HPGND ADCVREF VREF VMID
mux
LIN1
LIN2 LIN
mux LIN + mixL
micL DACL
LIN1 mux mixL LOUT1
LIN2 mic amp mixR ROUT1
ADC ALC
micL+micR
LIN1-RIN1 SE DAC DACL
LIN2-RIN2 mixL LOUT2
mux mixR ROUT2
RIN1
RIN2 RIN
mux RIN + mixR
micR DACR
RIN1 mux
RIN2 mic amp
ADC ALC
micL+micR
LIN1-RIN1 SE DAC DACR
LIN2-RIN2
CDATA
CCLK
RIN1
LIN1
LIN2
NC
CE
28
27
26
25
24
23
22
MCLK 1 21 RIN2
DVDD 2 20 VMID
PVDD 3 19 ADCVREF
DGND 4 18 AGND
SCLK 5 17 AVDD
DSDIN 6 16 HPVDD
LRCK 7 10 15 LOUT2
12
13
14
11
8
9
ASDOUT
HPGND
ROUT1
ROUT2
LOUT1
VREF
NC
In slave mode, LRCK and SCLK are supplied externally. LRCK and SCLK
must be synchronously derived from the system clock with specific rates. The
device can auto detect MCLK/LRCK ratio according to Table 1. The device
only supports the MCLK/LRCK ratios listed in Table 1. The LRCK/SCLK ratio is
normally 64.
In master mode, LRCK and SCLK are derived internally from MCLK. The
available MCLK/LRCK ratios and SCLK/LRCK ratios are listed in Table 2.
Normal Mode
12.288 MHz 24.576MHz 8 kHz (MCLK/1536) 01010 8 kHz (MCLK/1536) 01010 MCLK/6
11.2896 MHz 22.5792MHz 8.0182 kHz (MCLK/1408) 01001 8.0182 kHz (MCLK/1408) 01001 MCLK/4
16.9344 MHz 33.8688MHz 8.0182 kHz (MCLK/2112) 01011 8.0182 kHz (MCLK/2112) 01011 MCLK/6
USB Mode
12 MHz 24MHz 8 kHz (MCLK/1500) 11011 8 kHz (MCLK/1500) 11011 MCLK
The identical device pins are used to configure either SPI or 2-wire interface. In
SPI mode, pin CE, CCLK and CDATA function as SPI_CSn, SPI_CLK and
SPI_DIN. In 2-wire mode, pin CE, CCLK and CDATA function as AD0, SCL and
SDA. To select SPI mode, apply high to low transition signal to CE pin.
Otherwise the device will operate in 2-wire interface mode.
5.1 SPI
ES8388 has a SPI (Serial Peripheral Interface) compliant synchronous serial
slave controller inside the chip. It provides the ability to allow the external
master SPI controller to access the internal registers, and thus control the
operations of chip.
All lines on the SPI bus are unidirectional: The SPI_CLK is generated by the
master controller and is primarily used to synchronize data transfer, the
SPI_DIN line carries data from the master to the slave; SPI_CSn is generated
by the master to select ES8388.
The timing diagram of this interface is given in Figure 1. The high to low
transition at SPI_CSn pin indicates the SPI interface selected. Each write
procedure contains 3 words, i.e. Chip Address plus R/W bit, internal register
address and internal register data. Every word length is fixed at 8 bits. The
input SPI_DIN data are sampled at the rising edge of SPI_CLK clock. The
Revision 11.0 9 January 2023
Latest datasheet: www.everest-semi.com or [email protected]
Everest Semiconductor ES8388
MSB bit in each word is transferred firstly. The transfer rate can be up to 10M
bps.
SPI_CSn
5.2 2-wire
The device supports standard 2-wire micro-controller configuration interface.
External micro-controller can completely configure the device through writing
to internal configuration registers.
2-wire interface is a bi-directional serial bus that uses a serial data line (SDA)
and a serial clock line (SCL) for data transfer. The timing diagram for data
transfer of this interface is given in Figure 2a and Figure 2b. Data are
transmitted synchronously to SCL clock on the SDA line on a byte-by-byte
basis. Each bit in a byte is sampled during SCL high with MSB bit being
transmitted firstly. Each transferred byte is followed by an acknowledge bit
from receiver to pull the SDA low. The transfer rate of this interface can be up
to 400 kbps.
In 2-wire interface mode, the registers can be written and read. The formats of
“write” and “read” instructions are shown in Table 1 and Table 2. Please note
that, to read data from a register, you must set R/W bit to 0 to access the
register address and then set R/W to 1 to read data from the register.
Reg. 07 VSEL
Reg. 16 LADCVOL
Reg. 17 RADCVOL
Reg. 30 Shelving_a[29:24]
Reg. 31 Shelving_a[23:16]
Reg. 32 Shelving_a[15:8]
Reg. 33 Shelving_a[7:0]
Reg. 34 Shelving_b[29:24]
Reg. 35 Shelving_b[23:16]
Reg. 36 Shelving_b[15:8]
Reg. 37 Shelving_b[7:0]
Reg. 40
Reg. 41
Reg. 44 offset
Reg. 45 VROI
Reg. 46 LOUT1VOL
Reg. 47 ROUT1VOL
Reg. 48 LOUT2VOL
Reg. 49 ROUT2VOL
Reg. 50
1 – LINPUT2-RINPUT2
MONOMIX 4:3 00 – stereo (default)
01 – analog mono mix to left ADC
10 – analog mono mix to right ADC
11 – reserved
TRI 2 0 – ASDOUT is ADC normal output (default)
1 – ASDOUT tri-stated, ALRCK, DLRCK and SCLK are inputs
00000001 – -0.5 dB
00000010 – -1 dB
…
11000000 – -96 dB (default)
0001 – -15 dB
0010 – -13.5 dB
……
0111 – -6 dB
1000 – -4.5 dB
1001 – -3 dB
1010-1111 – -1.5 dB
ALCHLD 3:0 ALC hold time before gain is increased
0000 – 0ms
0001 – 2.67ms
0010 – 5.33ms
…… (time doubles with every step)
1001 – 0.68s
1010 or higher – 1.36s
DSP/PCM mode:
0 – MSB is available on 2nd BCLK rising edge after ALRCK rising edge
1 – MSB is available on 1st BCLK rising edge after ALRCK rising edgeLRCK Polarity
DACWL 5:3 000 – 24-bit serial audio data word length
001 – 20-bit serial audio data word length
010 – 18-bit serial audio data word length
011 – 16-bit serial audio data word length
100 – 32-bit serial audio data word length
DACFORMAT 2:1 00 – I2S serial audio data format
01 – left justify serial audio data format
10 – right justify serial audio data format
11 – DSP/PCM mode serial audio data format
000 – 0 (default)
……
111 – 7
Vpp_scale 1:0 00 – Vpp set at 3.5V (0.7 modulation index) (default)
01 – Vpp set at 4.0V
10 – Vpp set at 3.0V
11 – Vpp set at 2.5V
…
100001 – 4.5dB
1 SCLK 1 SCLK
SDATA 1 2 3 n-2 n-1 n 1 2 3 n-2 n-1 n
MSB LSB MSB LSB
SCLK
LEFT CHANNEL
LRCK RIGHT CHANNEL
SCLK
SCLK
8 ELECTRICAL CHARACTERISTICS
TSPIDS TSPIDH
SPI_DIN
TSPICL
SPI_CLK TSPICH
SPI_CSn
TSPISH
TSPICS TSPISC
SDA
SCL
TTWCH
S P S
TTWF TTWR
10 CORPOARATION INFORMATION
Everest Semiconductor Co., Ltd.
苏州工业园区机场路 328 号,国际科技园区科技广场 6A,邮编 215028
Email: [email protected]