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.

FDC1004EVM: Matlab code

Part Number: FDC1004EVM

Hello everyone,

I want to use Matlab as a GUI instead of the GUI provided by TI.

I am able to read the capacitance values butI am not able to figure out how to change the CAPDAC settings.

I would be grateful for any help with Matlab.

Best regards,

Siraj

  • Hello Mohammed,

    Unfortunately we do not work with Matlab, but some of our community members may be able to provide some insight.

    Best regards,
    Yibo
  • Hello Yibo,
    Thank you very much for the reply.
    I actually wanted to know, if I want to use a GUI other than GUI provided by TI what would be the commands.
    For example, both in Matlab and also Hyperterminal i found the following settings:
    Command Result
    1 A single set of capcitance values of all the input pins.
    5 Data stream start.
    6 Data stream stop.
    7 Decreases conversion time.
    8 Increases conversion time.
    9 Changes orientation of the input pins(left to right).

    In the same way i wanted to know,what would be the commands of enabling and changing the CAPDAC values.
    Best regards,
    Siraj
  • Hi Mohammed,

    In order to change the CAPDAC for any channel, you need to set the CHB bits [12:10] of the appropriate measurement configuration register to b100, and set the CAPDAC bits [9:5] to the desired value (from b00000 to b11111).

    You can find more information in the datasheet.

    Regards,
    Yibo