cs4226 Cirrus Logic, Inc., cs4226 Datasheet - Page 19

no-image

cs4226

Manufacturer Part Number
cs4226
Description
Surround Sound Codec
Manufacturer
Cirrus Logic, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cs4226-BQ
Manufacturer:
CAVSTRL
Quantity:
246
Part Number:
cs4226-BQ
Manufacturer:
CRYSTAL
Quantity:
20 000
Part Number:
cs4226-BQZ
Manufacturer:
CRYSTAL
Quantity:
20 000
Part Number:
cs4226-DQ
Manufacturer:
CIRRUS
Quantity:
329
Part Number:
cs4226-KO
Quantity:
226
Part Number:
cs4226-KQ
Manufacturer:
CIRRUS
Quantity:
717
Part Number:
cs4226-KQ
Manufacturer:
CRYSTRL
Quantity:
1 094
Part Number:
cs4226-KQ
Manufacturer:
CS
Quantity:
20 000
Part Number:
cs4226-KQ EP
Manufacturer:
TI
Quantity:
101
Part Number:
cs4226-KQZ
Manufacturer:
CIRRUS
Quantity:
20 000
Part Number:
cs4226-KQZR
Manufacturer:
CIRRUSLOGIC
Quantity:
20 000
low to write. The next 8 bits form the Memory
Address Pointer (MAP), which is set to the ad-
dress of the register that is to be updated. The
next 8 bits are the data which will be placed
into register designated by the MAP. During
writes, the CDOUT output stays in the high im-
pedance state. It may be externally pulled high
or low with a 47 kΩ resistor.
The CS4226 has a MAP auto increment capa-
bility, enabled by the INCR bit in the MAP reg-
ister. If INCR is a zero, then the MAP will stay
constant for successive reads or writes. If
INCR is set to a 1, then MAP will auto incre-
ment after each byte is read or written, allow-
ing block reads or writes of successive
registers.
To read a register, the MAP has to be set to
the correct address by executing a partial write
cycle which finishes (CS high) immediately af-
ter the MAP byte. The auto MAP increment bit
(INCR) may be set or not, as desired. To begin
a read, bring CS low, send out the chip ad-
dress and set the read/write bit (R/W) high.
The next falling edge of CCLK will clock out the
MSB of the addressed register (CDOUT will
leave the high impedance state). If the MAP
auto increment bit is set to 1, the data for suc-
cessive registers will appear consecutively.
DS188F4
CCLK
CS
CDIN
CDOUT
ADDRESS
MAP = Memory Address Pointer
0010000
CHIP
R/W
Figure 7. Control Port Timing, SPI mode
MAP
MSB
byte 1
DATA
byte n
LSB
High Impedance
In I
Data is clocked into and out of the part by the
clock, SCL, with the clock to data relationship
as shown in Figure 8. There is no CS pin. Pins
AD0, AD1 form the partial chip address. The
upper 5 bits of the 7 bit address field must be
00100. To communicate with a CS4226, the
LSBs of the chip address field, which is the first
byte sent to the CS4226, should match the set-
tings of the AD1, AD0 pins. The eighth bit of
the address bit is the R/W bit (high for a read,
low for a write). The next byte is the Memory
Address Pointer (MAP) which selects the reg-
ister to be read or written. If the operation is a
write, the next byte is the data to be written to
the register pointed to by the MAP. If the oper-
ation is a read, the contents of the register
pointed to by the MAP will be output. Setting
the auto increment bit in MAP, allows succes-
sive reads or writes of consecutive registers.
Each byte is separated by an acknowledge bit.
I
Semiconductors.
All registers can be written and read back, ex-
cept the DAC Status Report Byte, ADC Status
Report Byte, Receiver Status Byte, and the
Receiver Channel Status Bytes, which are
read only. See the bit definition tables for bit
assignment information.
2.6.2
2.6.3
2
C bus is a registered trademark of Philips
ADDRESS
2
C mode, SDA is a bidirectional data line.
0010000
CHIP
I
Control Port Bit Definitions
2
C Mode
R/W
MSB
LSB MSB
LSB
CS4226
19

Related parts for cs4226