Tool/software:
Hello,
I am seeing the LDC1101 return incorrect and noisy LHR measurements when I program new Rp and Time Constant values. I went through a process in another E2E thread to develop these new values.
I have an oscilloscope attached to my circuit so it can count the zero crossings of the sensor waveform and the 16MHz reference clock pulses. It can also decode the LHR measurements that are being returned over SPI. Each set of (sensor pulses, clock pulses, LHR data) is captured in the same scope trigger. I can provide those as-needed.
My scope measurement method is to measure sensor pulses and clock pulses for a fixed period of about 600usec, based on my RCOUNT value of 0x258. I then take (sensor pulses/ clock pulses ) * 16MHz to get the sensor frequency which I think is the real, correct answer the LDC should also get.
I can see that with my "un-tuned" time constants and Rp, the LDC's digital LHR measurement actually agrees with the scope's measurement. All are 3.78MHz.
With the new "tuned" time constants and Rp, the LDC's digital LHR measurement changes and becomes noisy. The scope's measurements of sensor frequency and reference clock frequency are unaffected. Meaning I can tell the sensor coil isn't actually oscillating at some different frequency, it is still oscillating at the same frequency as ever, just the LDC is now getting its frequency measurement wrong. It should be reporting 3.78MHz, but it's reporting 3.67 to 3.7MHz.
| hex | LDC reported freq (MHz) | Clock pulses (kpulses) | Sensor pulses (kpulses) | My freq calc | |
| low-end sample, tuned | 3AC55C | 3.67E+06 | 9.606 | 2.272 | 3.78E+06 |
| high-end sample, tuned | 3B333E | 3.70E+06 | 9.607 | 2.272 | 3.78E+06 |
| low end sample, untuned | 3C7BBE | 3.78E+06 | 9.606 | 2.269 | 3.78E+06 |
| high end sample, untuned | 3C7E2A | 3.78E+06 | 9.607 | 2.269 | 3.78E+06 |
If the LDC1101 is reporting some LHR noise that is not traceable to either a changing sensor coil frequency or a changing reference clock frequency, what could be causing this measurement noise?
Register settings in tuned vs untuned for reference
| Register | "tuned" | "untuned" |
| 0x01 | 0x47 | 0x07 |
| 0x02 | 0xDE | 0x90 |
| 0x03 | 0x7E | 0xA0 |
| 0x04 | 0xD5 | 0xD5 |
| 0x05 | 0x02 | 0x02 |
