上电读取数据之后RAWCODE一直为268435455
使用逻辑分析仪查看I2C, 读DATA0寄存器的返回值:
DATA0_LOW (00) -> 0x0F 0xFF
DATA0_HIGH(01) -> 0xFF 0xFF
Frequency Over-range errors occur when the sensor frequency exceeds the reference frequency. When a Frequency Over-range error occurs on a channel, the output code for the channel will be limited full-scale. If Frequency Over-range errors are occurring on a specific channel, increasing the reference frequency or decreasing the sensor frequency will resolve this issue. Frequency Over-range errors can also be addressed by increasing specific channel’s sensor divider in CLOCK_DIVIDERS_CHx.CHx_FIN_DIVIDER or by decreasing the specific channel’s reference divider setting in CLOCK_DIVIDERS_CHx.CHx_FREF_DIVIDER.
传感器频率超过参考频率时,发生频率超范围错误
这个错误发生时,传感器输出RAWCODE将会限制为最大值(即268435455)
When a Frequency Over-range error occurs: • the LDC1312 and LDC1314 report a DATA[11:0] output of 0xFFF for the channel which caused the violation. • the LDC1612 and LDC1614 report a DATA[27:0] output of 0xFFFFFFF for the channel which caused the violation.
当错误发生时,相应的传感器输出为0XFFFFFFF即268435455
Frequency Over-range errors are reported: • in the output register DATA_CHx of the appropriate channel if ERROR_CONFIG.OR_ERR2OUT is set to b1. • in the STATUS.ERR_OR field (bit 12) if ERROR_CONFIG.OR_ERR2INT is set to b1. • by asserting the INTB pin if ERROR_CONFIG.OR_ERR2INT is set to b1.
当寄存器ERROR_CONFIG.OR_ERR2OUT设置为b1时,将会在寄存器DATA_CHx中有对应表现