Tool/software: TI C/C++ Compiler
Hii
I am working on AM3358 development board and for my requirement i need to increase sampling rate of AM3358 ADC, so how can i do it?
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.
Tool/software: TI C/C++ Compiler
Hii
I am working on AM3358 development board and for my requirement i need to increase sampling rate of AM3358 ADC, so how can i do it?
Hi,
Details on the TSC ADC can be found in the AM335x TRM, Chapter 12 (spruh73).
Software for the TSC is available in PRSDK in the Starterware folder: <PDK>\packages\ti\starterware. An example program is provided for the TSC ADC in starterware\examples\adc. The example can be built on Windows as follows:
Documentation for the Starterware is located here: <PDK>\packages\ti\starterware\docs
To change the AFE sampling rate, use this API:
/**
* \brief Configure the clock divider.
*
* \param baseAddr Base Address of the TouchScreen Module Registers.
* \param moduleClk Module clock of ADC in MHz.
* \param afeInputClk Input clock in MHz
*/
void TSCADCClkDivConfig(uint32_t baseAddr,
uint32_t moduleClk,
uint32_t afeInputClk);
Regards,
Frank