ADC and TIMer callbacks
Hi Can anyone help me understand the difference between
a) writing control loop and obtaining ADC values in HAL_ADC_ConvCpltCallback with ADC ISRs
instead of
b) writing control loop and obtaining ADC values in HAL_TIM_PeriodElapsedCallback using TIMER ISRs,
from callbacks perspective.
how it can affect CPU utilization and performance by using different callbacks ?
any link to the document for understanding the same would be appreciated.
Notes: I am working with STM32G4, I have ADC conversion with DMA. ADC ISR is running at 18 times higher frequency than that of TIMER ISR.
Thank you !
