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.
I've read the TRM, but I am still not clear on this point.
Here is my setup.
1. If have three SOCs, SOC4,5, and 6 for example, each with a different ADC channel and sampling window, BUT A SINGLE TRIGGER SOURCE.
What happens when the trigger event occurs, assuming that no other conversions are injected or pending ?
Here is what I "believe" that TRM says.
The SOC with the lowest number (highest priority, SOC4) samples and converts first.
When the EOC for SOC4 completes, the SOC with the next highest priority starts next (SOC5, without a new trigger).
When the EOC for SOC5 completes, SOC6 starts (without a new trigger).
Basically, one trigger, multiple conversions.
Is that how it works ?
Hello Gregory,
What happens when the trigger event occurs, assuming that no other conversions are injected or pending ?
Your understanding is correct, the SOCs place the priority of the conversions when they all use a single trigger, with SOC0 being the highest priority by default. In essence, if a single trigger starts the conversion for all SOCs, they will start converting one after the other in priority order. There is a way to do simultaneous sampling for a pair of pins which is described in section 8.6 Simultaneous Sampling Mode, but this is separate from your main question.