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.

TMDXICE110: AMIC110 ADC module support

Part Number: TMDXICE110
Other Parts Discussed in Thread: AMIC110


I'm building an EtherCAT design and I am using 4 channels of the ADC module in the AMIC110 chip.  I'm trying to use the CSL support to do the programming for it, but the header files in the CSL directory don't seem to have the SOC_AM335X tested so that it picks up the right headers to define, for instance, ADC_IRQSTATUS_END_OF_SEQUENCE_MASK and his friends.  My PDK is pdk_am335x_1_0_17.  I've attached the files in question.  Likewise, the cslr_adc.h does not test for the AM335X, so the proper hw_adc.h file is not picked up.

Before I discovered the CSL ADC support, I wrote some code using the starterware/dal TSCADC stuff, and that all seems to compile correctly. (but I have not tested it yet.)  I was under the impression that the starterware stuff is deprecated and new development should be done with the CSL and DRV support, which is why I went back and tried to use the CSL approach.

What is the proper approach here?  I can probably patch the header files to properly recognize the AM335X family if that's all I need to do.



  • Hi John,

    Are you using the starterware in the PDK, i.e. pdk_am335x_1_0_17\packages\ti\starterware? If that's the case, this is the right approach. If you're using the legacy standalone StarterWare release, then, yes it is deprecated, but you should be able to migrate your code to PDK starterware. I believe the migrating effort should be minimal.

    The CSL ADC API doesn't seem to support AM335x devices.



  • Hi Jianzhong. 

    Yes, I'm using the starterware in the PDK.  Thanks for confirming that the ADC support is missing for the AM335x in the CSL code.