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.

remotely configuring NCO frequency in ADC12J4000EVM

Other Parts Discussed in Thread: ADC12J4000

I am using the ADC12J4000EVM together with the TSW14J56EVM. The SW I use is High Speed Data converter Pro 2.7, together with the ADC12J400EVM GUI version 1.3

I am testing the ADC12J4000 in a computerized set up where I change the settings and read the measured samples to files for various conditions and signals.

I am looking for a mechanism (non-manual) to change the ADC12J400 internal digital mixer (NCO frequency) from test to test. My prefered option would be to write NCO_FREQ values. Alternatively, if I can pre-program frequencies and only change the NCO preset selection value -- this would also save me time and effort.  

Regards

Boaz

 

  • Hello Boaz,

    There are some automation functions written in LabVIEW to interface with HSDC Pro as well as the ADC12J4000 GUI. You can find them in your High Speed Data Converter Pro folder, typically located here: C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro\Automation Function APIs

    You can use the Write Device GUI Register API.vi and Read Device GUI Register API.vi to manipulate the NCO values.

    Happy scripting.

  • Hello,

    I'm having the same issue, but we don't use Labview here. I've been able to interface to the HSDCPro gui using the automation DLL, is there a similar interface for setting the ADC NCO values? So far I've been trying to figure this out using the datasheet for the ADC12J4000 and the FTDI chip but am not getting anywhere.

    Thanks!!
  • Hi David

    I'm checking with colleagues to see if there is a way to do external control of the FTDI device from other applications.

    In the meantime, how many different NCO frequencies do you need to work with? If there are 8 or less you could pre-program those with the EVM GUI, and then use the NCO_x control input pins to switch between the different values. Would that be a useful method for your needs?

    I'll let you know as soon as I find any other method that will work.

    Best regards,

    Jim B

  • Hello Jim,

    Sorry I should have posted back on this.  I ended up writing my own interface to the ADC in python, using the FTDI drivers.  If you look at the libMPSSE library you can load it into python as a dll, then communicate with the ADC as per the datasheet for it.  Pretty simple actually.

    Cheers,

  • Also, it would be REALLY great if you didn't use Labview. I know it's "easy" to use, but it means that people have to spend many thousands of dollars to even look at your sample code or try to write anything on their own. The fact that I had to write my own interface to talk to the ADC was a real nuisance.