XE3005 ETC, XE3005 Datasheet - Page 15

no-image

XE3005

Manufacturer Part Number
XE3005
Description
(XE3005 / XE3006) Low-Power Audio CODEC
Manufacturer
ETC
Datasheet
3.3.2
There are two SPI modes: read and write.
3.3.2.1
Read communication always takes place in pairs of bytes. A read request of 2 bytes is sent on the MOSI line.
The content of the addressed register, one byte, is dumped on the MISO line during the transmission of the
second byte on the MOSI. The formats of one byte are the following:
3.3.2.2
Write communication always takes place in pairs of bytes. The format of the 2 bytes is:
15
sck
mosi
miso
mosi
miso
mosi
mosi
SPI Interface Modes
bit
bit
ss
Bit
Bit
Read Mode
Write Mode
mosi
sck
ss
1
msb
msb
1
1
1
7
7
7
7
request (write to address A(4:0))
1
request (read <address A(4:0)>)
0
0
0
6
1
6
6
0
6
Figure 17: SPI signal timing in write mode
Figure 16: SPI signal timing in read mode
A4
A4
A3
A3
5
0
5
5
0
5
A2
A2
A1
A1
msb
A0
4
msb
4
4
4
D(7:0)
D(7:0)
A0
msb
1
msb
1
write data D(7:0) to address A(4:0)
3
3
3
3
read data D(7:0) of address A(4:0)
0
A (4:0)
A(4:0)
2
2
2
2
Data Sheet
XE3005/XE3006
1
1
1
1
lsb
lsb
D0212-116
lsb
lsb
lsb
lsb
0
0
0
0

Related parts for XE3005