Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

CS4383 View Datasheet(PDF) - Cirrus Logic

Part Name
Description
MFG CO.
'CS4383' PDF : 40 Pages View PDF
CS4383
lowed by the data to be written. To write multiple
registers, continue providing a clock and data,
waiting for the CS4383 to acknowledge between
each byte. To end the transaction, send a STOP
condition.
6.3.2 Reading in I2C Format
To communicate with the CS4383, initiate a
START condition of the bus. Next, send the chip
address. The eighth bit of the address byte is the
R/W bit (high for a read). The contents of the reg-
ister pointed to by the MAP will be output after the
chip address. To read multiple registers, continue
providing a clock and issue an ACK after each
byte. To end the transaction, send a STOP condi-
tion.
6.4 SPI Format
In SPI format, CS is the CS4383 chip select signal,
CCLK is the control port bit clock, CDIN is the in-
put data line from the microcontroller and the chip
address is 0011000. CS, CCLK and CDIN are all
inputs and data is clocked in on the rising edge of
CCLK.
Note that the CS4383 is write-only when in SPI
format.
6.4.1 Writing in SPI
Figure 8 shows the operation of the control port in
SPI format. To write to a register, bring CS low.
The first 7 bits on CDIN form the chip address and
must be 0011000. The eighth bit is a read/write in-
dicator (R/W), which must be low to write. The
next 8 bits form the Memory Address Pointer
(MAP), which is set to the address 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. To write multiple registers, keep CS low and
continue providing clocks on CCLK. End the read
transaction by setting CS high.
SDA
ADDR
001100
AD 0
R /W A C K
N ote 1
DATA
1-8
ACK
DATA
1-8
ACK
SCL
S tart
S top
N o te: If o peratio n is a w rite , th is byte co nta in s the M em o ry A dd ress P o inte r, M A P .
Figure 7. Control Port Timing, I2C Format
CS
C C LK
C DIN
C H IP
ADDRESS
0011000
MAP
DATA
R /W
MSB
LSB
byte 1 b yte n
M A P = M e m o ry A d d re s s P o in te r
Figure 8. Control Port Timing, SPI Format
29
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]