Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE
Tool/software: Code Composer Studio
hi,
my doubt is how to configure cpu timers for adc soc
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: Code Composer Studio
hi,
my doubt is how to configure cpu timers for adc soc
Hi ADDAGUDURU,
Download ControlSUITE or C2000ware and run the adc_soc example. This is conceptually similar; a timer module triggers the ADC periodically.
The differences with using a CPU timer instead of an ePWM timer:
*Getting the CPU timer setup and running. See the cpu_timer example for some ideas here.
*AdcRegs.ADCSOCxCTL.bit.TRIGSEL will need to be set to be triggered by the CPU timer you are using instead of the ePWM module. Check the TRM for the register definition of this configuration to determine the updated value.