ADC_EVT_CAPT

Hello,
My english is very poor:

I’m using the white beaglebone (AM 335x), and I need to trigger the TSC_ADC with an HW input signal.
The problem is that I can’t make the TSC_ADC be triggering by an HW_EVENT input signal.
In TRM, they say that to set the ADC_EVT_CAPT register and the CTRL register (configure the steps to be
HW synchronize by mapping to the HW event input signal. This HW event input signal could be driven at the
SOC level from a timer interrupt or some other IP and can be used to start a channel conversion.) for triggering TS_ADC_SS.

Is there any bobdy who can helps me to achieve this purpose?
Thanks in advance,

Djo

In the configuration of your ADC set :

TSCADCHWEventMapSet(SOC_ADC_TSC_0_REGS, TSCADC_HW_INPUT_EVENT);

HWREG(SOC_CONTROL_REGS + CONTROL_ADC_EVT_CAPT) = 1 ;

For your step:

TSCADCTSStepModeConfig(SOC_ADC_TSC_0_REGS, selected_step,

TSCADC_CONTINIOUS_HARDWARE_SYNC);

And set DMTimer to trigger interrupt whenever you want