how to collect multichannel ADC voltage,by S32K118 and S32SDK

cancel
Showing results for 
Search instead for 
Did you mean: 

how to collect multichannel ADC voltage,by S32K118 and S32SDK

66 Views
Contributor III

I want to query the voltage measurement value of multi-channel regularly by means of interruption, how to realize this .

the CPU is S32K118 .thank you very much.Need help,

Labels (1)
0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hi,

the "adc_hwtrigger" SDK example is available in the S32DS. It configures PDB to trigger single ADC channel. You can modify it to add more pretriggers and such do multi channel conversion.

You can refer to https://community.nxp.com/docs/DOC-343295 how to do that.

BR, Petr

0 Kudos