CS4812 Cirrus Logic, CS4812 Datasheet - Page 20

no-image

CS4812

Manufacturer Part Number
CS4812
Description
Fixed Function Multi-Effects Audio Processor
Manufacturer
Cirrus Logic
Datasheet
www.DataSheet4U.com
a buffer may be required to minimize the capacitive
loading on CLKOUT.
CCLK and CS may be inputs or outputs with respect
to the CS4812. If the serial control port of the
CS4812 is defined as the master, then CCLK and CS
are outputs and CCLK requires a 2.2 kΩ pull-up re-
sistor. If the CS4812 is defined as the slave, then
CCLK and CS are inputs and no pull-up resistor is re-
quired on CCLK.
3.5.1.1
The SPI master mode is designed for read-only op-
eration during AutoBooting from a serial EE-
PROM. A typical AutoBoot sequence with a Xicor
X25650 serial EEPROM, or equivalent, is shown in
Figure 14. On exit from reset, the CS4812 asserts CS.
20
CDOUT
(output)
CDIN
(input)
(input)
(input)
CDOUT
CLK
CS
CDIN
CLK
CS
SPI Master Mode
MSB
0
0
CHIP ADDRESS (WRITE)
0
MSB
0
1
0 0
1
1
2
2
COMMAND
0
0
3
READ
3
0
0
4
Figure 14. Control Port Timing, SPI Master Mode AutoBoot
4
0
0
5
Figure 15. Control Port Timing, SPI Slave Mode Write
5 6
0 1 1
0
6
R/W
0
7
7
INCR
8
8
0 0
ADDRESS = 0X0000
9 10 11
6
9
5
MAP BYTE
10 11
0 0
16-BIT
4
21 22 23 24
12 13 14 15
3
0 0 0
2
1
7 6
0
The 8-bit read instruction (00000011) is sent to the
EEPROM followed by a pre-defined 16-bit start ad-
dress.The CS4812 then automatically clocks out se-
quential bytes from the EEPROM until the last byte
has been received. After the last byte is received, the
CS4812 deasserts CS and begins program execution.
At this point, the serial control port becomes inactive
until the next reset.
3.5.1.2
In SPI slave mode, a write sequence from an exter-
nal host controller is shown in Figure 15. The host
controller asserts CS and sends a 16-bit write pre-
amble to the CS4812. This preamble consists of a
7-bit chip address (must be 0010000) followed by
a one-bit R/W (Read/Write) bit (set to 0 for write)
25 26 27 28 29
16 17 18 19 20 21 22
7
5
6
DATA
4
5
3 2 1 0
DATA
4
SPI Slave Mode
30 31
3
2
1
7 6
0
23
5
DATA + n
7
4
6
3 2 1 0
5
DATA +n
4
3
2
CS4812
1
DS291PP3
0

Related parts for CS4812