*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 On Thursday, August 1, 2013 4:50:30 PM UTC+2, djo lossa wrote: > > > 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 > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.