
Maxim Integrated
Page 43 of 52
Table 13 shows a capture of the I
2
C traffic between the example host microcontroller (MAX32630FTHR)
and the MAX32664GWED for commanding the MAX32664GWED to stream sensor and algorithm data.
The MAXREFDES220# is used for this example.
Table 13. MAX32664GWED I
2
C Annotated Application Mode Example
HOST COMMAND
COMMAND DESCRIPTION
READ MAX32664 RESPONSE
RESPONSE
DESCRIPTION
Host sends commands to configure BPT user profile and then sends commands to start the user calibration while user finger is on
the sensor.
0xAA 0x50 0x04 0x01
0x79 0x77 0x7A*
Configure BPT algorithm user
profile for cuff readings of
diastolic 121, 119, 122
0xAB 0x00
No error.
0xAA 0x50 0x04 0x02
0x51 0x4F 0x52*
Configure BPT algorithm cuff
readings to diastolic 81, 79, 82
0xAB 0x00
No error.
0xAA 0x50 0x04 0x05
0x00
†
Configure BPT algorithm to user
is resting.
0xAB 0x00
No error.
0xAA 0x50 0x04 0x00
0x00
†
Configure BPT algorithm to user
is not using BP medication.
0xAB 0x00
No error.
0xAA 0x10 0x00 0x03
†
Set output mode to sensor and
algorithm data.
0xAB 0x00
No error.
0xAA 0x10 0x01 0x0F*
Set FIFO threshold to 0x0F.
Increase or decrease this value if
you want more or less frequent
samples.
0xAB 0x00
No error.
0xAA 0x44 0x03 0x01*
Enable the MAX30101 sensor.
0xAB 0x00
No error.
0xAA 0x52 0x04 0x01*
Enable BPT algorithm calibration
mode.
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 0x11
No error. Seventeen samples are in
the FIFO.
0xAA 0x12 0x01*
Read the data stored in the FIFO.
0xAB 0x00 0x03 0x25 0xF4
0x02 0x6E 0x22 0x00 0x00
0x00 0x00 0x00 0x2C 0x04
0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00
data
for
sixteen
other
samples
No error. LED1 IR = 206324, LED2 =
159266, LED3 = N/A, LED4 = N/A,
Status = 4, Progress = 0, Heart Rate =
0.0, Systolic = 0, Diastolic = 0, SpO2 =
0, r = 0, HRaboveResting = 0, data for
sixteen 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
the FIFO.
0xAB 0x00 0x11
No error. Seventeen samples are in
the FIFO.
0xAA 0x12 0x01*
Read the data stored in the FIFO.
0xAB 0x00 0x03 0xC4 0x39
0x02 0xD5 0xF1 0x00 0x00
0x00 0x00 0x0F 0x39 0x02
0x64 0x02 0x76 0x00 0x00
0x00 0x00 0x00 0x00 0x00
data
for
sixteen
other
samples
No error. LED1 IR = 206324, LED2 =
159266, LED3 = N/A, LED4 = N/A,
Status = 2, Progress = 100%, Heart
Rate = 63.0, Systolic = 0, Diastolic =
0, SpO2 = 0, r = 0, HRaboveResting =
0, data for sixteen other samples.
Host sends commands to BPT algorithm to make an read the estimated BP while the user has finger on the sensor.
0xAA 0x10 0x00 0x03
†
Set output mode to sensor and
algorithm data.
0xAB 0x00
No error.
0xAA 0x10 0x01 0x0F*
Set FIFO threshold to 0x0F.
Increase or decrease this value if
you want more or less frequent
samples.
0xAB 0x00
No error.
0xAA 0x52 0x00 0x01†
Enable AGC.
0xAB 0x00 0x00
No error.
Содержание MAX32664
Страница 16: ...Maxim Integrated Page 16 of 52 ...