BCM4330 Preliminary Data Sheet
Generic SPI Mode
SPI Protocol
The SPI protocol supports both 16-bit and 32-bit word operation. Byte endianess is supported in both modes.
Figure 27 and Figure 28 show the basic write and write/read commands.
Write Protocol
Command
Data
Data
Din
C3 C2 C1 C0
D3 D2 D1 D0
D7 D6 D5 D4
32-bit
Little endian
0000 0000
0000 0000
0000 0000
Dout
Din
C1 C0
0000
C3 C2
0000
D1 D0
0000
D3 D2
0000
D5 D4
0000
D7 D6
0000
16-bit
Little endian
Dout
Din
C0 C1 C2 C3
0000 0000
D0 D1 D2 D3
0000 0000
D4 D5 D6 D7
0000 0000
32-bit
Big endian
Dout
Din
C0 C1
0000
C2 C3
0000
D0 D1
0000
D2 D3
0000
D4 D5
0000
D6 D7
0000
16-bit
Big endian
Dout
Figure 27: gSPI Write Protocol
Read Protocol
Command
Data
Data
Din
Dout
C3 C2 C1 C0
xxxx xxxx
xxxx xxxx
32-bit
Little endian
Fixed
Delay
0000 0000
D3 D2 D1 D0
D7 D6 D5 D4
Din
C1 C0
0000
C3 C2
0000
xxxx
D1 D0
xxxx
xxxx
D5 D4
xxxx
16-bit
Little endian
Fixed
Delay
D3 D2
D7 D6
Dout
Din
C0 C1 C2 C3
0000 0000
xxxx xxxx
D0 D1 D2 D3
xxxx xxxx
D4 D5 D6 D7
32-bit
Big endian
Fixed
Delay
Dout
Din
C0 C1
0000
C2 C3
0000
xxxx
D0 D1
xxxx
xxxx
D4 D5
xxxx
16-bit
Big endian
Fixed
Delay
Dout
D2 D3
D6 D7
Figure 28: gSPI Read Protocol
®
BROADCOM
BCM4330 Preliminary Data Sheet
April 28, 2011 • 4330-DS304-RI
Page 77