How can i modify ADC for multiple channel interrupt?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can i modify ADC for multiple channel interrupt?

1,466 Views
Sukumar21
Contributor III

I am using s32k146 EV board, there is an sample code given RTM 4.0.3 adc_hwtrigger_s32k146.

I tried this code for ADC. IT works perfectly. But using same code how can i read ADC for multiple channels.

I want to modify the same code for 8 channel ADC, with ADC channel been used are SE06/07/08/09 and SE12/13/14/15 for ADC0.

 

Tags (4)
0 Kudos
Reply
3 Replies

1,435 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Sukumar21

We have a similar discussion on the link below, you can refer to the demo in the link attachment.

https://community.nxp.com/t5/S32K/How-to-use-ADC-internal-supply-monitoring/m-p/1346544 

1,417 Views
Sukumar21
Contributor III

This is an swTrigger example, this is good. but i am looking utilise interrupt either adc or pdb. so is there sample code with adc interrupt or using PDB

0 Kudos
Reply

1,404 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply