Part Number: OPT4060DTSEVM
Tool/software:
- Garbage Values
The sensor outputs garbage values regardless of the measurement environment. The values differ significantly from the results shown in the GUI. - 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);
}