Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

ADS4246: example binary file

Part Number: ADS4246

thanks for your answers so far :-

We are going to capture 2 channels from the  ADS4246EVM with the TSW1400 and save the data in binary format (since it will be 1Gbyte).

 

I presume that the samples in the binary file alternate, ch0, ch1, ch0, ch1 etc. Is this correct?

 

Do you have a small example 2-channel binary file that I could use for my testing?

(I am still waiting to get the eval boards so I cannot create one myself.)

 

  • Hi Ajayt,

    I am checking with our firmware expert on how the binary file is ordered, and I will check on an example that I can provide.

    Best Regards,

    Dan

  • Hi Ajayt,

    When the captured Data is saved as a Binary file, the binary file contains the time domain data of all channels in interleaved format. So in a 2 Channel device, the data would be aligned as follows:

    CH1S1[LSB], CH1S1[MSB], CH2S1[LSB], CH2S1[MSB], CH1S2[LSB], CH1S2[MSB], CH2S1[LSB], CH2S1[MSB]…

    [CH – Channel , S- Sample]

    If the Sample size (ADC Resolution) is less than or equal to 16, then the binary file would use 16 bits to represent the sample. If the Sample size is greater than 16, 32-bits are used to represent the sample data.

    Please see the attached file for an example.ADS5295_14Bit_1W_2CH_ByteWise.zip

    Best Regards,

    Dan