I use the PEC to transfer data from the ADC and the EOP interrupt to reset the PEC pointers. As i understand you still need to have an end of conversion interrupt from the ADC to use the PEC EOP interrupt. Does anyone know which of the two interrupts should have greater priority or should they be the same?
Not sure I understand your question..
You need the end of conversion interrupts from the ADC to do the PEC transfers in the first place.
I don't see why the priorities should matter - for the PEC transfers you use any priority available for the PEC transfers and for EOP any priority not already used.
I guess the ADC is in continuous conversion mode. Then the only aspect to consider is that the priorities are high enough so that you don't lose any conversion results (assuming you don't want to lose any).
Hi, e.g. EOP = Group 0 Level 10 & ADC = Group 1 Level 10. If I set a breakpoint for the ADC end of conv it doesn’t break, only the EOP breaks. This contradicts the premise that the highest group is the winner if two occur simultaneously. If you make them different priority then they both break. Although the ADC end of conv interrupt has no code in it, does it matter if it doesn’t occur as the EOP does the resetting of the PEC etc.
So I wondered if they should be different priority to allow both to interrupts to occur and why the ADC conv is not interrupting.