
Maxim Integrated
Page 41 of 52
HOST COMMAND
COMMAND DESCRIPTION
READ
MAX32664 RESPONSE
RESPONSE
DESCRIPTION
0xAA 0x12 0x01*
Read the data stored in the FIFO.
0xAB 0x00 0x03 0X92 0x03
0x00 0x00 0x00 0x00 0x00
0x00 0x05 0x1C 0x29 0x00
0x00 0x00 0x00 0x00 0x00
0x00 0x96 0x0B 0x83 0xFC
0x37 0x02 0x92 0x63 0x00
0x00 0x00 data for seven
other samples
No error. LED1
(
Photo
DD
iode1
)
counts = 235891, LED2
PD1
= 0, LED3
PD1
= 0, LED
14
PD2(Photo Diode2)
counts = 338247, LED
2 PD25
= 0, LED
3 PD26
= 0, X accelerometer = 0.15,
Y accelerometer = 2.947, Z
accelerometer = -0.969, Heart Rate =
65.8, Confidence = 99, SpO
2
= 0,
WHRM State Machine Status = 0,
data for seven other samples.
0xAA 0x00 0x00*
Read the Sensor Hub Status.
0xAB 0x00 0x08
No error. DataRdyInt bit is set.
0xAA 0x12 0x00*
Get the number of samples in
FIFO.
0xAB 0x00 0x08
No error. Eight samples available.
0xAA 0x12 0x01*
Read the data stored in FIFO.
0xAB 0x00 0x03 0X99 0x73
0x00 0x00 0x00 0x00 0x00
0x00 0x05 0X29 0x47 0x00
0x00 0x00 0x00 0x00 0x00
0x00 0x97 0x0B 0xB3 0xFC
0x36 0x02 0x8F 0x63 0x00
0x00 0x00 data for seven
other samples
No error. LED1
(
Photo
DD
iode1
)
counts = 235891, LED2
PD1
= 0, LED3
PD1
= 0, LED
14
PD2(Photo Diode2)
counts = 338247, LED
52 PD2
= 0,
LED
36
PD2
= 0, X accelerometer =
0.151, Y accelerometer = 2.947, Z
accelerometer = -0.97, Heart Rate =
65.5, Confidence = 99, SpO
2
= 0,
WHRM State Machine Status = 0,
data for seven other samples.
0xAA 0x00 0x00*
Read the Sensor Hub Status.
0xAB 0x00 0x08
No error. DataRdyInt bit is set.
0xAA 0x12 0x00*
Get the number of samples in
FIFO.
0xAB 0x00 0x08
No error. Eight samples available.
0xAA 0x12 0x01*
Read the data stored in FIFO.
0xAB 0x00 …
No error. Data read.
*Mandatory
†Recommended
Table 12 shows a capture of the I
2
C traffic between the example host microcontroller (MAX32630FTHR)
and the MAX32664GWEC for commanding the MAX32664GWEC to stream sensor and algorithm data.
The SpO2 LED board is used for this example.
Table 12. MAX32664GWEC I
2
C Annotated Application Mode Example
HOST COMMAND
COMMAND DESCRIPTION
READ MAX32664 RESPONSE
RESPONSE
DESCRIPTION
0xAA 0x10 0x00 0x03
†
Set output mode to sensor and
algorithm data.
0xAB 0x00
No error.
0xAA 0x10 0x01 0x05*
Set FIFO threshold to 0x05.
Increase or decrease this value if
you want more or less frequent
samples.
0xAB 0x00
No error.
0xAA 0x44 0x00 0x01*
Enable
the
MAX86140/MAX86141 sensor.
0xAB 0x00
No error.
0xAA 0x44 0x04 0x01* Enable
the
sensor
hub
accelerometer.
0xAB 0x00
No error.
0xAA 0x52 0x05 0x02*
Configure WSpO2 algorithm to
continuous.
0xAB 0x00
No error.
0xAA 0x52 0x05 0x01*
Enable WSpO2 algorithm.
0xAB 0x00
No error.
0xAA 0x00 0x00*
Read the sensor hub status.
0xAB 0x00 0x08
No error. DataRdyInt bit is set
0xAA 0x12 0x00*
Get the number of samples in
the FIFO.
0xAB 0x00 0x08
No error. Eight samples are in the
FIFO.