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 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
0xAA 0x50 0x04 0x02
0x51 0x4F 0x52*
Configure BPT algorithm cuff
readings to diastolic 81, 79, 82
0xAA 0x50 0x04 0x05
0x00†
Configure BPT algorithm to user
is resting.
0xAA 0x50 0x04 0x00
0x00†
Configure BPT algorithm to user
is not using BP medication.
Set output mode to sensor and
algorithm data.
Set FIFO threshold to 0x0F.
Increase or decrease this value if
you want more or less frequent
samples.
Enable the MAX30101 sensor.
Enable BPT algorithm calibration
mode.
Read the sensor hub status.
No error. DataRdyInt bit is set
Get the number of samples in
the FIFO.
No error. Seventeen samples are in
the FIFO.
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.
Read the sensor hub status.
No error. DataRdyInt bit is set
Get the number of samples in
the FIFO.
No error. Seventeen samples are in
the FIFO.
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.
Set output mode to sensor and
algorithm data.
Set FIFO threshold to 0x0F.
Increase or decrease this value if
you want more or less frequent
samples.