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.

FDC2214: ERR_CHAN of the Address 0x18, STATUS

Part Number: FDC2214
Other Parts Discussed in Thread: FDC2114,

Error Channel
Indicates which channel has generated a Flag or Error. Once
flagged, any reported error is latched and maintained until either
the STATUS register or the DATA_CHx register corresponding
to the Error Channel is read.
b00: Channel 0 is source of flag or error.
b01: Channel 1 is source of flag or error.
b10: Channel 2 is source of flag or error (FDC2114, FDC2214
only).
b11: Channel 3 is source of flag or error (FDC2114, FDC2214
only)

question:

the STATUS reg val is 0x404C, and what's the meaning of Error Channel ?

how i can distinguish this val whether a Flag or Error ?

what's the reason to cause this  ERR_CHAN field set 1 ?

how to remove the error flag ?

If anyone has any advice I would be most appreciative.

Best regards !

ps,

0X19 REG_STATUS_CONFIG val is 0x3821.

  • Hello,

    In this case this is not an error flag, this is a data ready flag. You have unread conversions for channels 0 and 1. There are multiple ways to clear the interrupts, which you can read more about in section 9.3.4 of the datasheet. For this flag, the appropriate way to clear it is to read the DATA_CHx registers.

    Best Regards,

  • Hi Kristin,

    Thank you a lot for your reply.

    In 9.3.4, 

    When a bit field in the STATUS register is set, the entire STATUS register content is held until read or until the
    DATA_CHx register is read.

    I2C read of the STATUS register: Reading the STATUS register will clear any error status bit set in STATUS
    along with the ERR_CHAN field and de-assert INTB.

    yes, I have read DATA_CH0 and DATA_CH1 register data out, and then read the STATUS register, it is still 0x4040,

    at first  it is 0x404c.

    The DATA_CHx register's data seems no wrong.

    Just the value 0x4040 of  the STATUS register confuses me.

    Thank you again.

    Best regards !

  • Hello,

    Could you share how you have configured the ERROR_CONFIG register? Some of the errors could be reporting in the DATAx_MSB registers depending on what is written in ERROR_CONFIG.

    Best Regards,

  • Hello,

    I haven't heard from you in a while, so I'm assuming you were able to solve your problem. If this is not the case, please feel free to post again.

    Best Regards,

  • "to ensure that the oscillation amplitude is between 1.2V and 1.8V, measure the
    oscillation amplitude on an oscilloscope and adjust the IDRIVE value"

    Hi Kristin,

        sorry to reply later, thank you for your kind concern.

        yes, the problem is solved, as the above  guide, adjust IDRIVE reg value, and the ERR_CHAN bit has been no longer set as 1.

       Thank you again!

    BR,

    Key