Hi all,
I'm trying to make a LDC1000 working to do a rotation sensor.
The communication is wworking well, but data is strange.
I set up as follow:
- TBCLK = 7,1 MHz connected to a PWM output of my uP
- This is the init of registers
LCD1000_writeSingleReg(LDC1000_CMD_RPMAX, 0x14);
LCD1000_writeSingleReg(LDC1000_CMD_RPMIN, 0x3B);
LCD1000_writeSingleReg(LDC1000_CMD_SENSORFREQ, 0x53);
LCD1000_writeSingleReg(LDC1000_CMD_LDCCONFIG, 0x12);
LCD1000_writeSingleReg(LDC1000_CMD_CLKCONFIG, 0x00);
LCD1000_writeSingleReg(LDC1000_CMD_INTCONFIG, 0x04);
LCD1000_writeSingleReg(LDC1000_CMD_THRESHILSB, 0xFF);
LCD1000_writeSingleReg(LDC1000_CMD_THRESHIMSB, 0xFF);
LCD1000_writeSingleReg(LDC1000_CMD_THRESLOLSB, 0x00);
LCD1000_writeSingleReg(LDC1000_CMD_THRESLOMSB, 0x00);
LCD1000_writeSingleReg(LDC1000_CMD_PWRCONFIG, 0x01);
What I saw is that proximity data is not so stable: Rp value vary at the second decimal digit, amd sometimes more.
The ODR is always the near the same values: it vay from 119 to 124 digital value read from registers.
Is it a usual behaviour or is there something I'm doing wrong?
Regards