Skip to main content
YBuch.1
Associate II
Dec 19, 2019 6:00 PM UTC
Question

Hi, i need some help writing code of Heart Beat sensor max0100 I connected it to STM32L476 Discovery controller and activated the I2C pins in the STCUBE32IDE program. I dont know how to configure the MAX30100 in order to work with the controller

    This topic has been closed for replies.

    4 replies

    YBuch.1
    YBuch.1Author
    Associate II
    Dec 19, 2019 6:11 PM UTC

    heart rate**

    Tesla DeLorean
    Guru
    Dec 19, 2019 6:41 PM UTC

    Ok, and so with the code you've written to date, can you read any registers/content from the MAX30100 ?

    Say something fixed like the Revision ID or Part ID ?

    The initialization of the registers within the MAX30100 should be identical to any other MCU, not sure it has any STM32 specific expectations.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    YBuch.1
    YBuch.1Author
    Associate II
    Jan 1, 2020 6:52 PM UTC

    hi

    which command i need to write in order to read the revision ID/part ID ?

    S.Ma
    Principal
    Jan 2, 2020 6:41 AM UTC

    Device drivers source code examples should be provided by maxim, check for example on github. Drivers usually ask to only edit a init, read and write function. Non specific i2c functions can be found in discovery example code usually.