Hi,
We are using multiple ADC inputs in our customized board, Now to read the values from All these pins we are planning to use ADC Pal, But for higher accuracy we need to integrate HW_Average and HW_Comparison
how can we use the same with ADC Pal example
Hi Petr,
Thanks for the reply
As per use case we want to use grouping feature as well as HW average/compare, what will be the best suited approach.
Hi,
To do a conversion of multiple channels it is ideally to use HW triggering through a PDB module, while back to back mechanism can be done too.
You can refer to example posted on comunity; https://community.nxp.com/docs/DOC-343295
If HW average/compare is enabled, it is active for all the channels measured, which extends a conversion time, so trigger time generation must be properly configured.
BR, Petr
Hi,
the ADC PAL driver does not provide setting for HW average/compare functions. The ADC driver offers both the average and compare functionality.
BR, Petr