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.

control card experimental kit TMS320F28027 ADC SOC example project

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28027

I have imported the ADC SOC (Software Driver) from controlsuite and  I am assuming this is the right ADC code Example. I used this project on control card experimental kit TMS320F28027. I fed an analogue voltage of 3.2V at ADCIN-A0 (Just under 3.3V accepted by ADC ) and observed the variable ADCRESULT0 with watch variable feature in CCSv6 however I am always getting 0x........0000 0000 in the low bits even when analogue is close to 3.3V. Please advise.

  • Hi Amit,

    Can you attach the screenshot of the debug window? I feel you're monitoring on a wrong window. Please check in Expressions window.

    Regards,
    Gautam
  • Hi Amit,

    Take a look at some of these HW debug strategies in this post: e2e.ti.com/.../1799754

    In particular, you can probe a capacitor footprint on the ControlCard to see if the voltage you are applying is making it to the intended pin (will be different for the F28027 ControlCard than the F28377D control card in the linked post - consult the schematic in ControlSUITE).

    From a SW perspective, ADC SOC should be fine as an example program, but trying out any other ADC examples would also be a good idea. I would also double-check the channel select configuration as well as ensuring that the ADC interrupts are occurring (if the example uses them) or that you have triggered the ADC by looking at the RRPOINTER register.