Tool/software:
Hello,
I have a problem with event based ADC Interrupt. Currently I used CPU based timer interrupt to see correctness of the configuration, this works fine.
In CPU Interrupt method I can see that the timer works fine, and I also can trigger the ADC once by using generic timer event based zero event trigger, but only once. I already looked at the example "adc12_triggered_by_timer_event" and did almost the same configuration, that's why only get one adc execution call, but I want to get an ADC reading, every time a zero event occurs in the timer, instead of just one ADC call, I looked at many examples but cannot find a solution.
Also when I try to use this I don't want to have every result from start address to end address (e.g 0-10) at once, but I also want to put an interrupt in between two adc timer start and read the adc values (e.g 0-5) after one interrupt and then 6-10 in another interrupt in between those two timer calls. Do I have to change CTL2 Register end address and start address config in the program runtime instead of the init function for that?
Many thanks in advance!