Maxim Integrated MAX32664A Скачать руководство пользователя страница 13

Maxim Integrated 

Page 13 of 15 

3.2 Algorithm Mode: Heart Rate and SpO

2

 

Table 8

 shows the list of commands to start the HR/SpO

2

 algorithm. 

Table 8. Host Commands—HR/SpO

2

 Algorithm 

 

HOST COMMAND 

(HEX) 

COMMAND DESCRIPTION 

RESPONSE 

(HEX) 

ST

ART

 AL

G

O

RI

TH

M

 

Host initializes the MAX32664A: 

1.1 

AA 50 02 0B 

00 02 6F 60 (example for A) 

FF CB 1D 12 (example for B) 

00 AB F3 7B (example for C) 

Set SpO

2

 calibration coefficients derived from the 

procedure in section 

2.1

. Provided example for: 

A = 1.5958422, B = -34.659664, C = 112.68987. 

AB 00 

1.2 

AA 10 00 03 

Set output mode to  algorithm data (0x03, 

streamed data will include PPG, accelerometer, 

and algorithm data). 

AB 00 

1.3 

AA 10 01 0F 

Set sensor hub interrupt threshold. 

AB 00 

1.4 

AA 52 00 01 

Enable the AGC. 

AB 00 

1.5 

AA 44 04* 01 00 (if sensor 

hub accelerator is used) 

AA 44 04* 01 01 (if host 

accelerator is used) 

Enable the accelerometer with the sensor hub or 

host-side accelerometer.* 

(Do not use this command if there is no  

accelerometer.) 

AB 00 

1.6 

AA 44 03* 01 

Enable the AFE (e.g., the MAX30101). 

AB 00 

1.7 

AA 52 02 01 (normal 

algorithm report) 

Enable the HR/SpO

2

 algorithm. The format of the 

samples is shown in

 Table 9.

 

AB 00 

R

EA

D

IN

G

 SA

M

PL

ES

 

Host reads the samples upon receiving the MFIO interrupt by the MAX32664A.  

2.1 

AA 00 00 

Read the sensor hub status byte: 

Bit 0: Sensor comm error 

Bits 1 and 2: Reserved 

Bit 3: FIFO filled to threshold (DataRdyInt) 

Bit 4: Output FIFO overflow (FifoOutOvrInt) 

Bit 5: Input FIFO overflow (FifoInOverInt) 

Bit 6: Sensor hub busy (DevBusy) 

Bit 7: Reserved 

If DataRdyInt is set, proceed to next step. 

AB 00 08 

2.2 

AA 12 00 

Get the number of samples (nn) in the FIFO. 

AB 00 nn 

2.3 

AA 12 01 

Read the data stored in the FIFO; nn samples (24 

bytes each) will be read. The format of samples is 

shown in 

Table 9

. 

AB 00 

data_for_ 

nn_samples 

ST

O

Host ends the procedure: 

3.1 

AA 44 03* 00 

Disable the AFE (e.g., the MAX30101).* 

AB 00 

3.2 

AA 44 04* 00 

Disable the accelerometer.* (Do not use this 

command if there is no accelerometer.) 

AB 00 

3.3 

AA 52 02 00 

Disable the algorithm. 

AB 00 

*Provided indexes are example for sensors such as the MAX30101 AFE or KX122 accelerometer. 

 

 

 

Содержание MAX32664A

Страница 1: ...the finger based measurement of heart rate and SpO2 Combined with the MAX30101 optical sensor and a 3 axis accelerometer it provides a sensor s raw data as well as calculated heart rate and SpO2 data...

Страница 2: ...de Heart Rate and SpO2 13 Revision History 15 List of Figures Figure 1 Architecture diagram for health sensing applications 4 List of Tables Table 1 Read Status Byte Value 5 Table 2 Host Side Accelero...

Страница 3: ...host microcontroller In order to properly capture and calculate the data it is recommended that accelerometer data be provided to the MAX32664A The MAX32664A firmware includes the required drivers fo...

Страница 4: ...w at least 1ms before the RSTN pin is set to high After the 10ms has elapsed set the RSTN pin to high After an additional 50ms has elapsed the MAX32664 is in Bootloader mode To enter Application mode...

Страница 5: ...yte Value STATUS BYTE VALUE DESCRIPTION 0x00 The write transaction was successful 0x01 Illegal Family Byte and or Command Byte was used 0x02 This function is not implemented 0x03 Incorrect number of b...

Страница 6: ...on of the algorithm enable I2C command should be discarded 2 The host is required to use a 3 axis accelerometer at a 100Hz sampling rate If a higher sampling rate is chosen samples should be decimated...

Страница 7: ...ed they need to be loaded to the MAX32664A every time prior to starting the algorithm But first they are required to be converted to a 32 bit integer format using the following Aint32 round 105 x a Bi...

Страница 8: ...to send the appropriate commands BEFORE enabling the algorithm as shown in Table 8 Table 3 Configurations and Settings HR SpO2 FAMILY BYTE ALGORITHM INDEX CONFIGURATION INDEX DESCRIPTION DEFAULT VALUE...

Страница 9: ...before sending the next command Any command to change sensor registers should appear AFTER enabling the algorithm or they will be overwritten READING SAMPLES Host reads the samples upon receiving the...

Страница 10: ...ment LSB 0 001g 16 accelZ 2 Two s complement LSB 0 001g HR SpO2 Algorithm 12 Bytes 18 Heart rate 2 10x heart rate value 20 Heart rate confidence 1 Calculated confidence level in 21 SpO2 2 10x SpO2 val...

Страница 11: ...a AB 00 1 2 AA 10 01 0F Set the sensor hub interrupt threshold AB 00 1 3 AA 44 04 01 00 if sensor hub accelerator is used AA 44 04 01 01 if host accelerator is used Enable the accelerometer with the s...

Страница 12: ...ided indexes are example for sensors such as the MAX30101 AFE or KX122 accelerometer Table 7 Format of Received Samples Raw Data Mode If the output mode includes the sensor DATA SOURCE BYTE INDEX DATA...

Страница 13: ...s no accelerometer AB 00 1 6 AA 44 03 01 Enable the AFE e g the MAX30101 AB 00 1 7 AA 52 02 01 normal algorithm report Enable the HR SpO2 algorithm The format of the samples is shown in Table 9 AB 00...

Страница 14: ...3 Red counter 6 LED3 3 N A 9 LED4 3 N A Accelerometer 6 Bytes 12 accelX 2 Two s complement LSB 0 001g 14 accelY 2 Two s complement LSB 0 001g 16 accelZ 2 Two s complement LSB 0 001g HR SpO2 Algorithm...

Страница 15: ...SUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION DEVICES OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT MAXIM ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEME...

Отзывы: