EasyManuals Logo

Maxim Integrated MAX32664 User Manual

Default Icon
52 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #39 background imageLoading...
Page #39 background image
Maxim Integrated Page 39 of 52
Table 109 shows a capture of the I
2
C traffic between the example host microcontroller (MAX32630FTHR)
and the MAX32664GWEA for commanding the MAX32664GWEA to stream sensorraw and algorithm data
(mode 1). The MAXREFDES220# is used for this example.
Table 109. MAX32664GWEA I
2
C Annotated Application Mode Example
HOST COMMAND
COMMAND DESCRIPTION
READ MAX32664 RESPONSE
RESPONSE
DESCRIPTION
0xAA 0x02 0x00
Read device mode.
0xAB 0x00 0x00
No error. Mode is application
operating mode.
0xAA 0xFF 0x03
Read the sensor hub version.
0xAB 0x00 0x0A1 0x019 0x00
No error. Version is 10.19.0
0xAA 0x42 0x03
Get the MAX30101 register
attributes.
0xAB 0x00 0x01 0x24
No error. Attributes are 1 byte, 0x24
registers available.
0xAA 0x43 0x03
Read all the MAX30101 registers.
0xAB 0x00 0x00 0x00 0x01
0x00 0x02 0x00 0xFF 0x15
No error. Reg 0x00 = 0, Reg 0x01 = 0,
Reg 0x02 = 0, …, Reg 0xFF = 0x15
0xAA 0x41 0x03
0x07
Read the MAX30101 register 7.
0xAB 0x00 0x60
No error. Register 7 is 0x60.
0xAA 0x10 0x00
0x03*
Set output mode to sensorraw
and algorithm data.
0xAB 0x00
No error.
0xAA 0x10 0x01
0x0F*
Set FIFO threshold as almost
fullto at 0x0F. Increase or
decrease this value if you want
more or fewer samples per
interrupt.
0xAB 0x00
No error.
0xAA 0x52 0x00
0x01
Enable AGC algorithm.
0xAB 0x00
No error.
0xAA 0x44 0x03
0x01*
Enable the MAX30101 sensor.
0xAB 0x00
No error.
0xAA 0x44 0x04 0x01
0x00
Enable the sensor hub
accelerometer. (Only enable if
the board has an accelerometer.)
0xAB 0x00
No error.
0xAA 0x52 0x02
0x01*
Enable WHRM/MaximFast 10.x
algorithm mode 1.
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 0x0F
No error. 0x0F samples are in the
FIFO.
0xAA 0x12 0x01*
Read the data stored in the FIFO.
0xAB 0x00 0x03 0x6A 0x43
0x03 0x04 0x92 0x00 0x00
0x00 0x00 0x2E 0x15 0xFC
0xD8 0x00 0x04 0x02 0x3ex
0x02 0x76 0x63 0x03 0xE4
0x03, data for fourteen other
samples
No error. IR counts = 223811, Red
counts = 19778, LED3 = 0, LED4 =
11797, X accelerometer = -0.808, Y
accelerometer = 0.004, Z
accelerometer = 0.574, Heart Rate =
63.0, Confidence = 99, SpO
2
= 99.6,
MaximFast State Machine Status = 3,
data for fourteen other samples.
0xAA 0x40 0x03 0x0D
0x32
Set the MAX30101 register 0xD
(LED2, pulse amplitude) to 0x32.
0xAB 0x00
No error.
0xAA 0x40 0x03 0x0C
0x32
Set the MAX30101 register 0x0C
(LED1, pulse amplitude) to 0x32.
0xAB 0x00
No error.
0xAA 0x40 0x03 0x0A
0x23
Set the MAX30101 register 0x0A
(ADC Range, Sample Rate, Pulse
Width) to 0x23.
0xAB 0x00
No error.
0xAA 0x40 0x03 0x08
0x2F
Set the MAX30101 register 0x08
(Sample Average, FIFO Full) to
0x2F.
0xAB 0x00
No error.
0xAA 0x00 0x00*
Read the Sensor Hub Status.
0xAB 0x00 0x08
No error. DataRdyInt bit is set.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Maxim Integrated MAX32664 and is the answer not in the manual?

Maxim Integrated MAX32664 Specifications

General IconGeneral
BrandMaxim Integrated
ModelMAX32664
CategoryMicrocontrollers
LanguageEnglish