Hi all,
I am using the TMS320F28335 Delfino Experimental kit.
I want to use CPU Timer0 to trigger the SOC for ADC. I am using the ADC in Dual, simultaneous mode. The same program worked fine using PWM as SOC trigger but at this stage of my project, I am will be using all the 6 PWM as a result had to switch to CPU Timer0.
I tried the following commands to initialize SOC via software trigger but how do I assign the software trigger to be from CPU Timer0?
AdcRegs.ADCTRL2.bit.SOC_SEQ1 = 1 ;
AdcRegs.ADCTRL2.bit.SOC_SEQ2=1;
AdcRegs.ADCTRL2.bit.INT_ENA_SEQ1 = 1;
AdcRegs.ADCTRL2.bit.INT_ENA_SEQ2 = 1;
AdcRegs.ADCTRL2.bit.INT_MOD_SEQ1=1;
AdcRegs.ADCTRL2.bit.INT_MOD_SEQ2=1;
Best Regards,
Pankaj