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.

LDC1614EVM: LDC1614EVM clock and max current

Part Number: LDC1614EVM
Other Parts Discussed in Thread: LDC1614, LDC1612EVM

Dear Inductive Sensing Forum members.

I am presently using the LDC1614EVM (Channel 0 only) with the Teensy 3.6 micro-controller and request guidance since I’m new to working with micro-controllers.

I have two simple questions:

  1. I have read some where in the forum that the LDC1614EVM has a clock speed of 2MHz. What can I do to increase it internally as much as possible? Is it a simple matter of writing to the registers? The following are my settings:

writeConfig(LDC, 0x14, 0x10, 0x02); //CLOCK_DIVIDERS_CH0

  1. The second question is with regards to increasing the current to a maximum. The following are my settings:

          writeConfig(LDC, 0x1E, 0x00, 0xF8); //DRIVE_CURRENT_CH0

          writeConfig2(LDC, 0x1E, 0xF8, 0x00); //HIGH_CURRENT_DRV = b1_CH0

          writeConfig(LDC, 0x1A, 0x00, 0x01); //CONFIG // Max current setting :( 0x00, 0x01 ) = 3.0 mA ?

 

Thank you all for your patience and guidance.

Sincerely,

Alexander Luis

  • Hi Alexander,

    The LDC1614 can either use an internal (43MHz) or an external (40MHz) oscillator. You can select the clock source by changing bit 9 in register 0x1A (CONFIG).

    Why are you trying to set the maximum current setting? If the highest idrive setting cannot achieve your desired current level, you could enable HIGH_CURRENT_DRV in CONFIG to enable > 3.5mA on channel 0, but this only works in single channel mode (AUTOSCAN_EN = 0).

    Best,
    Jiashow
  • Dear Jiashow,

    Sorry for not responding but I'm presently recovering from a total hip replacement and it is a bit difficult to do any work at the present time.

    You mentioned that:

    " The LDC1614 can either use an internal (43MHz) or an external (40MHz) oscillator. You can select the clock source by changing bit 9 in register 0x1A (CONFIG). "

    For the MSB 0x00 and LSB 0x00..what are the values for a 40 MHz oscillator in register 0x1A (CONFIG)?

    and

    I am trying to set maximum current to drive each of my three Helmholtz Coil. I am using three separate LDC1614EVM (channel 0 only).

    What are the MSB 0x00 and LSB 0x00 values to obtain HIGH_CURRENT_DRV in CONFIG to enable > 3.5mA on each channel 0?

    Again, I have been teaching myself how to work with micro-controllers and very new to "setting registers values " and the like.

    Thank you again for your patience and advice.

    Sincerely,

    Alexander Luis

  • Hello Alexander,

    To use the external oscillator in the LDC161x device, you need to set bit 9 of CONFIG (0x0A) to 1; for the internal oscillator you need to set bit 9 to 0. I would recommend getting either an LDC1612EVM or LDC1614EVM and use the GUI to determine what settings are optimum.

    Regards,

    ChrisO