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.

TMS320F280033: ADC issue, same value shown.

Part Number: TMS320F280033
Other Parts Discussed in Thread: C2000WARE

Hi e2e Team,
I'm trying to make the ADCs work on the reference micro, I tried to flash the various examples, but they all have the same problem: a fixed value is always shown on all the ADCs and on all the readings, even those left floating. I'm debugging using JTAG. I don't understand where the problem could be, any suggestions?
Thank you,
Best Regards,

Biagio

  • Biagio,

    Are you trying to run unmodified examples from C2000Ware? What example did you run, what channel did you read, and how did you set up the pin?

    Ibukun

  • Hi Ibukun,
    I'm using adc_ex2_soc_epwm example from c2000Ware, I'm measuring the pin A0/B15/C15/DACA_OUT, I didn't make any changes from example. 
    I only enabled the internal clock in device.h uncommented USE_PLL_SRC_INTOSC define.
    Thank you,

    Biagio

  • Hello Biagio,

    I assume you also commented out USE_PLL_SRC_XTAL? Otherwise, the INTOSC define has no effect.

    Are you using a custom board, or one of our evaluation boards (launchpad or control card)? How have you configured the ADC voltage reference? The example referenced should use the internal 1.65V reference. If your board is driving a voltage on the VREFHI pin then this would be a problem.

    Best regards,
    Ibukun

  • Hi Ibukun,
    Yes, USE_PLL_SRC_XTAL is commented. I'm using a custom board with internal reference like LAUNCHXL board as shown in the figure.


    On the same custom board I tested the main functions implemented using examples such as pwm, interrupt, CAN.. and they work perfectly, I only have this ADC to complete all board test.

    Thank you,
    Biagio

  • Hi,
    I solved the issue! There was a problem with the VDDA supply that did not allow the Analog digital converter to work properly.
    Thanks, I hope it is useful to other users.

    Best regards,
    Biagio