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.

ADC12DJ3200EVM: Data capture using TSW14J57

Part Number: ADC12DJ3200EVM
Other Parts Discussed in Thread: ADC12DJ3200

Hello,

I want to capture data on both channels of ADC12DJ3200 ADC (I have the EVM) using TSW14J57. In the High Speed Data Capture SW gui, I use "save Raw ADC codes as bin file" option to export data. How do I get data for both channels. In the CSV option it saves it as 2 columns but how do I do that for the bin file? I tried selecting "Channel 2" in the GUI but this didnt seem to make any difference. It looks like it always exports data from one channel only?

Regards,

Sai.

  • Hello Sai
    I'm looking into this. I'll respond back with more information soon.
    Best regards,
    Jim B
  • Hello Sai
    When data is captured in the multi-channel modes there will be multiple .bin files created and saved.
    The files should be located in the following directory location on your computer:
    C:\Users\Public\Documents\Texas Instruments\High Speed Data Converter Pro\HSDCPro Data
    Best regards,
    Jim B
  • Thanks Jim. I found it. :)
  • Hi Jim,

    One additional question. What is the format? It saves as two bin files "ADC Temp0.bin" and "ADC Temp1.bin". Is Temp0 Channel 1 and Temp1 Channel 2? Or is it interleaved?

    UPDATE: Interestingly it seems ADC Temp0.bin and ADC Temp1.bin seem to be sampled at half the rate I am providing to the board. My clock rate to the board is 983.04 MHz and I am in JMODE2. I though in dual channel mode it would use I need to save 10ms worth of data so that works out to 9830400 samples. When I was doing the CSV, it would save 9830400x2 array in CSV file. Now with the bin file it seems to want me to set number of samples to 19660800 to have enough data in the bin files. But the sampling rate seems to be half. I dont think this is a device issue because the csv version works.



    Regards,
    Sai.

  • Hello Sai

    I confirmed the data arrangement of the .bin files for JMODE2. 

    ADC Temp0.bin contains the data for Ch1.

    ADC Temp1.bin contains the data for Ch2.

    The 12b samples are each saved in 2 bytes, with the upper nibble filled with 0s.

    For an input clock of 983.04 MHz and JMODE2 or JMODE3 the sample rate on each input is 983.04 MSPS. Ch1 and Ch2 sample simultaneously at that rate.

    The sample rate would be 1966.08 MSPS if you switched to JMODE0 and kept the 983.04 MHz clock, but in that mode there is only a single input.

    Best regards,

    Jim B