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.

Using the ADC of tms320c5515 ezdsp usbstick board

Other Parts Discussed in Thread: TMS320C5515

Hi everyone

I am working with TMS320cc5515 dsp board.I have to do filtering of my analog input signals.i need to use four channels of an ADC.This board includes a SAR ADC  which is having four channels.I am not sure that  I can use this ADC to digitise my input and such that i can do some filtering on my digitised signal.My input analog  signal range is from 0 to 2.5 volt.In the datasheet they have mentioned that they mainly used it for battery voltage or touchscreen purpose.I need to use it for filtering of my biomedical analog signal.can I use this ADC or should i go for some external ADC.Please help me with this and let me know if i can use then how can i use it.

Thanks

Arun

  • Hi,

    Your request is taken up and will be addressed as soon as we can.

    Thanks & regards,

    Sivaraj K

  • Hi,

    The below forum post discusses on GPAIN[0-3] and channels support for Analog input. Hope this should provide you information to help scope your requirements.

    https://e2e.ti.com/support/dsp/c5000/int-c5000/f/111/p/107311/378759.aspx

    Regards

     Vasanth

  • Only one GPAIN pin can tolerate voltages above 1.3V: GPAIN0 - it does this with internal voltage divider.

    You could use external voltage dividers with precision resistors to get the voltage down to the range 0V to Vref (1.3V).

    The SAR ADC supports sampling multiple channels by switching to each channel individually. What sampling frequency do you require for each pin? Is 10-bits resolution sufficient? Otherwise I might recommend external ADC.

    • Internal configurable bandgap reference voltages of 1 V or 0.8 V; or external Vref of VDDA_ANA
    • One 3.6-V Tolerant analog input (GPAIN0) with internal voltage division for conversion of battery voltage

    Hope this helps,
    Mark

  • Hi Mark

    Thanks for your answer.I would like to have a sampling rate of 1ksps.I want to digitise an analog signal having amplitude between 0 to 1 volt using GPIO 0 and channel 0 of this SAR ADC.may I use it my analog signal or not.I am using tms320c5515 ezdsp usb stick board.The examples  s that have been discussed in CSl library,are not dealing with any external analog signal.i am quite unsure how to use this adc for my external input signal.Please suggest me how to deal with this problem.

     Thanks

    Arun

  • Hi everyone

    I want to use sar adc of tms320c5515 ezdsp usbtick board for digitising my external analog signal.I need to have a sampling rate of 2ksps and an analog voltage range of 0 to 1 volt.The csp library I have explored only dealt with how to digitise analog voltage from a battery of touchscreen or keypad.There is no information how to digitise an external analog signal.Please suggest me is there any example codes available to digitise external signal using tms320c5515 dsp processor.if not then what I have to do to configure the GPIO pins to take analog signal.I tried to use the GPIO 0 channel 1 for my analog input by adopting the codes for battery voltage measurement.But I am only getting 0x3ff.I tried to work with csl_sarpollexample.

    please help me with this .

    Thanks

    Arun