Tool/software:
Hi champs,
I am asking this for our customer.
The user want to enable these modules when needed and disable them when not needed.
1. If the user wants to disable EPWM+ADC+DMA
Can they just use these API?
SysCtl_disablePeripheral(SYSCTL_PERIPH_CLK_EPWM8);
DMA_stopChannel(DMA_ADC_BASE);
DMA_disableTrigger(DMA_ADC_BASE);
2. Likewise, if the user wants to enable them again, can they just use these API?
DMA_enableTrigger(DMA_ADC_BASE);
DMA_startChannel(DMA_ADC_BASE);
SysCtl_enablePeripheral(SYSCTL_PERIPH_CLK_EPWM8);
3. If the user wants to enable/disable CMPSS during run time, can they just use these?
CMPSS_enableModule(CMPSS1_BASE);
CMPSS_disableModule(CMPSS1_BASE);
4. Is there any concern if the user enable/disable these modules during runtime?
5. By enabling DMA or disabling DMA for moving data from ADC result registers, is it possible to affect ADC measurement performance?