This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT4048: source for reference code / driver code C/C++ for OPT4048

Part Number: OPT4048
Other Parts Discussed in Thread: OPT3001

A little new to the TI forums - Is there reference source code for the OPT4048 sensor - Not looking forward to re-creating the wheel from datasheet I2C specs, but can if need be.

Thank you!

  • Hi Andy,

    We do not have any source code for the OPT4048 sensor. What we can provide is the driver code for the OPT3001 that can be found in this e2e FAQ post.

    Register maps, configuration and lux calculations differ between devices so you will have to refer to the datasheets for these changes.

    Additionally, we have the OPT4048DTSEVM with associated GUI for easy bring up/evaluation of the device. 

    Jalen