MICROCONTROLLER S32K144
Hi I have created group for ADC0 and ADC1. I want process that conversion on different times
I am getting issues conversion, all group are configured software triggered. ADCS separated group I have to process on different times ADC0 group1 need to process 2ms and group2 need to process on 10ms. ADC1 also need to process different time. if I will select one group software triggered and other one is hardware triggered for both adcs what it will impact. Please give me solution for that issue or help me related to that.
I'll review your question. If I understand it incorrectly, please let me know.
Just for example,
Group 1 is ADC0-Ch0-Ch3, 2ms;
Group 2 is ADC0-Ch4-Ch7, 10ms;
Group 3 is ADC1-Ch0-Ch7, 2ms.
First of all, the "group" triggering method of S32K1 you mentioned can only be achieved through the PDB module, which can be triggered by software or by an external signal through TRGMUX.
(LPIT can also trigger ADC, but its channels are limited and only supports pre-trigger of up to 4 ADC channels.)
My suggestion is to combine Group 0 and Group 1 into one group and use software or hardware to trigger PDB0 at a 2ms period. Every five times, process the data originally belonging to the Group 1 channel to achieve a 10ms period.
For Group 2, continue to use PDB1 for triggering.