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.

  • Resolved

TMS320C28343 - ADC

Prodigy 50 points

Replies: 3

Views: 635

I’m using on my graduate work a TMS320C28343. This board has 2 external ADC (ADS7865) and I’m using the example Bellow:
<CONTROLSUITE_INSTALL_DIR>\device_support\c2834x\v112\DSP2834x_examples_ccsv4\adc_on_xintf
Now I’m trying to change this code to work with sinusoidal input. Because when I try to use the graph to see the data only the positive values appear.
Somebody know what i have to change on code and hardware to see a complete sinusoidal with the graph?

Thanks for helping.

  • Hi Thalles,

    I suspect you are using a function generator to make a sin wave that is centered around ground.  Am I correct?

    If this is the case, you are seeing exactly what you should see when you graph the ADC conversions.  The ADC's references are connected to 3.3V and Ground which means it can convert analog values between these two voltages.  When your signal goes negative the TL7762 devices in the schematic clamp the sinusoid to the ground rail, preventing it from damaging the ADC.

    I would highly recommend you read through the entire ADS7865 datasheet so you fully understand how this ADC operates.

    Regards,

    Trey

    Trey German

    LaunchPad Applications Manager

    If a post answers your question, please mark it with the "verify answer" button.
    Visit these helpful C2000 Links!
    C2000 TI Wiki Pages
    TI Forum Sitemap
    ControlSUITE
    C2000 Getting Started
    CLA FAQs
    Workshop Material!
  • In reply to Trey German289:

    That's exactly what i'm doing. I'm doing to simulate the signal that i'll have to use.

    But even if I use the negative channel I won't see negative signals?

    is The only way offset the signal? 

  • In reply to Thalles Alberto Mariano Pinto:

    Thalles,

    I'm afraid that not quite how it works. 

    The + and - input are subtracted (inside the ADC) and then sampled and converted to form the result.  The - input is not for negative voltages.

    You will need to convert your signal into a differential signal and then you should be able to drive it into the ADC.  Look at page 4 of this App Note:

    http://www.ti.com.cn/cn/lit/an/sloa099/sloa099.pdf

    It describes how to do exactly what you want.  You can even use the REFout signal from the ADC to drive the Vcm of the opamp you use.  I would also recommend you do a lot more reading about ADC, Opamps, and linear circuits in general.  A quick google search is your friend!

    Regards,

    Trey

    Trey German

    LaunchPad Applications Manager

    If a post answers your question, please mark it with the "verify answer" button.
    Visit these helpful C2000 Links!
    C2000 TI Wiki Pages
    TI Forum Sitemap
    ControlSUITE
    C2000 Getting Started
    CLA FAQs
    Workshop Material!

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.