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: Suddenly only works with EVM

Part Number: FDC1004

I have been working with the FDC1004EVM kit, and had moved on to using the mid section of the module (with the chip on) connected to an Arduino using I2C and this handy library https://github.com/beshaya/FDC1004.

This was working fine up until about 10am this morning when I unplugged the rig, did something else for about 10 mins, then plugged the rig back in. Now each channel measurement returns  -2,147,483,648 and prints "error". I am sure that the circuit and the software on the Arduino have not been changed. This was just running with the example sketch that comes with the library to print each channel's value to the serial.

The weird thing is that it seems to be working fine when I use the full FDC1004EVM kit and the GUI. If I move the chip module back to the Arduino rig it no longer works!

I thought the I2C connection may have broken for some reason, but running a sketch that scans for connected I2C devices picked up a device at 0x50... the correct address for the FDC1004.

I wrote a simple sketch to print out the value of each register and I get the following:

  • 0x08 to 0x0B as 0x1C00
  • 0x11 to 0x14 as 0x4000
  • 0xFE as 0x5449
  • 0xFF as 0x1004
  • All the rest as 0x0000

These seem to be the POR values, but they do not change. Is there some other command I am missing to begin populating the relevant registers with data? Even if there is, I don't understand why the library suddenly stopped working.

  • Hi Sam,

    Given that the full FDC1004EVM kit is working with the GUI, it sounds like this isn't an issue with the FDC device itself. Unfortunately, we are not actively supporting use of the FDC with an Arduino - it might be more helpful to contact the owner of the library being used. You can also take a look at this thread and see if it helps: e2e.ti.com/.../495744

    Thanks,
    Rachel