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.

OPT4060DTSEVM: OTP4060 don't work

Part Number: OPT4060DTSEVM

Tool/software:

  1. Garbage Values
    The sensor outputs garbage values regardless of the measurement environment. The values differ significantly from the results shown in the GUI.
  2. Register 0x0B Issue
    When reading from the register at address 0x0B, the value for bits 15–7 does not return 128 as expected. Instead, it consistently reads 35. I believe this discrepancy might be the cause of the sensor failing to provide correct measurements.

Here is a snippet of the execution code I am using to read the register

Using Csharp Code

 

        var test =  device.ReadRegister(0x0b);

 

        public int ReadRegister(byte address)

        {

            string command = $"REGRx{address:X2}";

            var check = SendPacket(command, "I2C Register Read");

            return Convert.ToInt32(SendPacket(command, "I2C Register Read"), 16);

        }