3 years, 6 months ago.



I need to collect and store BioZ values with the MAX30001 sensor. I have encountered some issues with the RPC calls. I am using a golang program to read and write commands on a serial communication. The RPC call "Led/On" is working but I cannot get the BioZ channel to work properly.

In order, I wrote on "/dev/ttyACM0":

"/MAX30001/BIOZ_InitStart \x01 \x00 \x00 \x00 \x00 \x01 \x07 \x00 \x02 \x00 \x00 \x00 \x01 \x01 \x00 \x03 \x00 \x00\r\n"

"/MAX30001/Rbias_FMSTR_Init \x01 \x02 \x01 \x01 \x00\r\n"


After that, the terminal starts to stream lines such as:

55AA3233 5E4CAB 8 FFF6C0 FFF6D2 0 0 0 0 0 0

The timestamp works properly. However, the problems are: - The packet ID is not 0x33 (BioZ) - There are 8 fields

Also, how can I extract the data from the payload ?

Thank you

Question relating to:

Maxim's microcontrollers provide low-power, efficient, and secure solutions for challenging embedded applications.
Be the first to answer this question.