SSDA009 August 2025 HDC2010 , MSPM0C1104 , OPT3001
In this code example, Auto Measurement Mode with 2Hz frequency is set for HDC sensor and continuous conversions with 100ms conversion time for OPT. To change these, follow sensors data sheets and modify gTxPacketConfigurationHDC and gTxPacketConfigurationOPT in code.
LED1 on LP-MSPM0C1104 board toggles if transmission is successful. If an error occurs, LED1 stays set. Check pin connections and press NRST button.
In default, PA11 pin on LP-MSPM0C1104 board is set as I2C SCL and PA0 pin as SDA. To enable OPT3001 on BP-BASSENSORSMKII or BOOSTXL-BASSENSORS pack, connect O_V+ pin to 1.6V to 3.6V supply.