I wan't to trigger the ADC1 Sampling by the DMTimer5 on the counter overflow.
For this I configured the ADC Steps to be HW_SYNC_CONTINUOUS and selected the ext_hw_event:
HWREG(SOC_CONTROL_MODULE_REG + CTRL_MAG_EVT_CAPT /*CTRL_ADC1_EVT_CAPT*/) = 0x2U; //select DMTimer5
This should select the pointr_pend of the DMTimer5 to be the external hardware event for the ADC1.
But the ADC sampling doesn't start. What is missing?
Creating a hardware event (Hwi_create) for the timer overflow is working well so I am sure that it is counting. Is it necessary to enable the pointr_pend as an output? If yes, how?