This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

FDC1004: Offset Calibration Registers format

Part Number: FDC1004

Hi, Chris,

Is the measurement register's format the same as Offset calibration register's ?

if yes, Is my understanding of these correct ?

a.  the measurement[23 ] is sign bit .

b.  measurement [22:19] is integer part (pf)  and  measurement [18:0] is Decimal part (pf).

I also want to know,...

My FDC1004 is working in OoP mode, the Measurement _1 ~4 are set as  #1(CN1-CN4), #2 (CN2-CN4), #3(CN3-CN4) and #4(unused).

a. Dose the FDC Register(0x0C) MEAS_4  need to be disabled?

b. The Reset Value of  the GAIN_CAL1~4 are 0c4000, dose the Gain Calibration GAIN_CAL4 need to be set to 0 ?

Thank you

Jeff

  • Hi Jeff,

    The measurement register's format is a little different than the offset calibration register's format. The capacitance measurement is a 24-bit two's complement value split between two 16-bit registers, MEASn_MSB and MEASn_LSB. MEASn_MSB[15:0] are the most significant 16 bits of measurement n. MEASn_MSB[15] is a sign bit because the value is in two's complement. MEASn_LSB[15:8] are the least significant 8 bits of measurement n, and MEASn_LSB[7:0] are reserved and are always 0. The measurement register is not split into an integer portion and a decimal portion like the offset calibration register.

    Could you clarify what you mean by OoP mode? In general, you do not need to disable MEAS_4, though it is perfectly acceptable to do so. You may also set GAIN_CAL4 to 0 if you wish.

    Regards,
  • Hello Jeff,

    Decoding the FDC1004 measurement results is discussed in section 8.6.1.1 of the datasheet. The data is stored as 2s complement, not sign magnitude. The calculation is:
    if measure_code > 2^23:
    sensor_cap = ((measure_code - 2^24)/2^19 ) + Coffset
    else
    sensor_cap = (measure_code /2^19 ) + Coffset

    The Measurement results are formatted in the same way as offset, but you should use the equation in the datasheet and add on the CAPDAC setting.

    As for the second questions: if you do not configure a measurement, do not enable it; so 2A is yes.
    The Gain Calibration is factory set as discussed in section 8.3.3.

    Regards,

    ChrisO
  • Hi Kristin,

    Thanks for your reply.

    Jeff

  • Hi Chris,
    Thanks for your reply.
    Jeff