EasyManua.ls Logo

Maxim Integrated MAX32664 - I2 C Commands for Firmware Flashing

Default Icon
52 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Maxim Integrated Page 44 of 52
HOST COMMAND
COMMAND DESCRIPTION
READ MAX32664 RESPONSE
RESPONSE
DESCRIPTION
0xAA 0x44 0x03 0x01*
Enable the MAX30101 sensor.
0xAB 0x00
No error.
0xAA 0x52 0x04 0x02*
Enable BPT algorithm estimation
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 0xD5 0xF1 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 = 246841, LED2 =
185841, 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 0x0F
No error. Fifteen samples are in the
FIFO.
0xAA 0x12 0x01*
Read the data stored in the FIFO.
0xAB 0x00 0x03 0x9E 0x32
0x02 0xF5 0x6c 0x00 0x00
0x00 0x00 0x1B 0XD2 0x02
0x64 0x02 0XA8 0x77 0x4A
0x03 0xE8 0x00 0x00 0x00
data for fourteen other
samples
No error. LED1 IR = 206324, LED2 =
159266, LED3 = N/A, LED4 = N/A,
Status = 2, Progress = 100%, Heart
Rate = 68.0, Systolic = 119, Diastolic
= 74, SpO2 = 100.0, r = 0,
HRaboveResting = 0, data for
fourteen other samples.
Host reads user profile and calibration data
0xAA 0x51 0x04 0x03
Read the 824 bytes of calibration
data for this user.
0xAB 0x00 0x2E 0xE8 0x02
0x00 0x88 0x39 0x02 0x00
0x79 0x00 eight hundred
fourteen more bytes of
calibration data
No error. 824 bytes of user profile
and calibration data.
Host writes user profile and calibration data
0xAA 0x50 0x04 0x03
0x2E 0xE8 0x02 0x00
0x88 0x39 0x02 0x00
0x79 0x00 eight
hundred fourteen more
bytes of calibration data
0xAB 0x00
No error.
*Mandatory
†Recommended
I
2
C Commands to Flash the Application Algorithm/Firmware
The MAX32664 is pre-programmed with bootloader firmware which accepts in-application programming
of the Maxim supplied application algorithm/firmware file (.msbl). Table 121 is a capture of the I
2
C
commands that are necessary to flash the application algorithm/firmware to the MAX32664.
IMPORTANT: Do not enable the accelerometer if your board does not have the accelerometer.
This example was captured with the MAX32630FTHR acting as the host microcontroller. The MAX32664
uses the 8-bit slave address of 0xAA. The example encrypted algorithm file used was the
MAX32660_SmartSensor_OS24_MaximFast_1.8.2a.msbl (26 pages, 8196 bytes for the page size). Each

Table of Contents