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.

RTOS/TMDXICE110: ADC example project

Part Number: TMDXICE110
Other Parts Discussed in Thread: AMIC110

Tool/software: TI-RTOS

Hi,

is there any pre-compiled project related to ADC (analog input reading) for the TI Sitara family?

I use an ICE AMIC110 board and I need to test the input DC potential on bare metal with ADC, I would like to start with an easy example if possible.

thanks,

Giulio

  • Hi,

    The Processor SDK RTOS for AM335x/AMIC110 doesn't support ADC driver. There are some ADC examples available under  pdk_am335x_1_0_xx\packages\ti\starterware\examples\adc\volt_measure you can study. Also, there are ADC diagnostics under pdk_am335x_1_0_xx\packages\ti\board\diag\adc for particular AM335x platforms. You can refer to the test code and port to the AMIC110.

    Regards, Eric

  • Hi Eric,

    thanks for the replay, I managed to build a project with the pdk_am335x_1_0_xx\packages\ti\board\diag\adc example but I read the wrong values.

    I configured the first two steps with SW_ENABLED_CONTINUOUS mode (software continuous mode) and MODE_FOUR_WIRE.

    Without changing the pins_muxing, I leaved the pins ADC0 and ADC1 floating thus I should read a value close to zero.

    The problem is that in this configuration I get the channel AN0 with 0 mV and AN1 with ~1789 mV.

    I think it can be that the pins were not configured properly and maybe read from the configuration of the AM335x.

    Do you have any suggestion?

    Regards, Giulio

  • Hi,

    we have figured out that on ice AMIC110 there are missing the bridges resistances that connect with the physical pins, thus  it  is not possible to make measurements.

    thanks