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.

Linux Libraries and header files

Other Parts Discussed in Thread: ADS5282EVM

Greetings to all

I have purchased  the ADS5282EVM ADCs which are programmed by an application which functions on Windows.Currently I wish to develop a data analysis application on Linux (64bit) without having to enter a windows environment. Hence I need some libraries (.so or .a) and the respective C++ header files. Is there any way to find these files?

Thank you for your time.

 

  • Hi Nikos,

    Unfortunately we do not have a linux based solution for you. However, I can offer you a few tips. Most of our EVMs use FTDI USB to parallel devices. In this case we used the FT245BM. There are drivers for linux and I have copied the link below and the datasheet for the USB chip can be found on that site as well. If you look at the schematic in the user's guide you'll see which bits of the USB chip correspond to the different SPI signals of the data converter. Finally, the correct format and register map can be found in the ADC datasheet.

    You'll then need to create a program that generates the correct SPI bit stream. For instance, bit 0 (D0) of the USB device corresponds to the SPI bit clock so it should between toggled on every byte sent through USB. You'll also need to control the CS pin and SDATA pins according to the dtatasheet (set CS low, set SDATA, clock in the data, set new SDATA, clock in the data...).

    FTDI drivers: http://www.ti.com/sitesearch/docs/universalsearch.tsp?searchTerm=ads5282&linkId=1

    Regards,
    Matt Guibord