beautypg.com

Figure 18. microcontroller serial transactions, Cs5378 – Cirrus Logic CS5378 User Manual

Page 31

background image

CS5378

DS639F3

31

SCK

MOSI

Figure 18. Microcontroller Serial Transactions

SS:EECS

MSB

LSB

MISO

X

6

1

2

3

4

5

MSB

LSB

6

1

2

3

4

5

1

8

2

7

6

5

4

3

Cycle

MISO

0x02

ADDR

Data1

MOSI

MISO

MOSI

Microcontroller Write to SPI Registers

Microcontroller Read from SPI Registers

DataN

Data2

SS:EECS

SS:EECS

0x03

ADDR

Data1

DataN

Data2

Instruction

Opcode

Address

Definition

Write

0x02

ADDR[7:0]

Write SPI registers beginning at the address in ADDR.

Read

0x03

ADDR[7:0]

Read SPI registers beginning at the address in ADDR.