beautypg.com

Protocol, Ams0805wah, Motion sensor – Rainbow Electronics DAB-GPS-C01 User Manual

Page 13: The data format is msb in first and lsb in last, Single byte write sequence, Single byte read sequence

background image

AMS0805WAH

MOTION SENSOR

13

-

Typical Connection with two Slaves














Protocol

The data format is MSB in first and LSB in last.


Single Byte Write Sequence








Single Byte Read Sequence










Master Controller

(MCU)

SPI

Serial I/F

Slave Device 1

Slave Device 2

/CS

SCK

MOSI

MISO

/SS

SCK

MOSI

MISO

/SS

SCK

MOSI

MISO

7

6

5

4

3

2

1

0

/SS

SCK

MOSI

MISO

7

6

5

4

3

2

1

0

Commend & Register Byte

MSB

LSB

MSB

LSB

Data Byte

7

6

5

4

3

2

1

0

/SS

SCK

MOSI

MISO

7

6

5

4

3

2

1

0

Commend & Register Byte

MSB

LSB

MSB

LSB

Data Byte