用opt3001获取数据时发现数据有问题,读取寄存器原始数据时候发现寄存器E[3:0]位不正确,超过了11,请问这种情况该如何解决?
以下是读取的Result Register原始值
user151383853:
Note that the exponent field can be disabled (set to zero) by enabling the exponent mask (configuration register, ME field = 1) and manually programming the full-scale range (configuration register, RN[3:0] < 1100b (0Ch)), allowing for simpler operation in a manually-programmed, full-scale mode. Calculating lux from the result register contents only requires multiplying the result register by the LSB weight (in lux) associated with the specific programmed full-scale range (see Table 8). See the Low-Limit Register for details.
这里是说要 programming the full-scale range 么
Amy Luo:
您好,
其他寄存器是怎么配置的呢
user5168728:
回复 Amy Luo:
您好,Configuration Register 设置为0XC410,没有用到Low Limit、High Limit寄存器,Manufacturer ID 与 Device ID读取正确,是否是硬件内部问题?
user5168728:
回复 user151383853:
这段话说的是可以手动设置量程
Amy Luo:
回复 user5168728:
在使用自动满量程范围模式下,如果测量光变化比较快,会导致测量超出满量程范围,这样系统会进行10mS测量重新评估并重置满量程范围,然后以新的满量程范围再进行新的测量。这样反反复复,来确定合适的满量程范围。所以,您的这个测量结果可能是因为测量光变化太快造成的。
Amy Luo:
回复 Amy Luo:
自动满量程范围模式的工作原理在数据手册 7.4.1 Automatic Full-Scale Setting Mode有介绍。
user5168728:
回复 Amy Luo:
您好,这个我看过数据手册的介绍,现在的情况是就在一个稳定的光环境中,比如就放在桌上某处,基本没有干扰,也会出现这种情况,不知道该怎么解决?