2 simultaneous adc

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

2 simultaneous adc

596 Views
antoineviollet
Contributor I

Hi,

I want to run 2 adc simultaneously in conversion but it does not work with Imx7 phycore .
I succeded to function with one adc ,now I use the adc1_in3 and adc1_in2 with the configuration channel A for conversion 1 and channel B for conversion 2.Just my conversion 1 interruption work,i don't know the problem.
It is possible that there is a conflict between the two channels?

Thank you in advance 
Regards 
Antoine Viollet
 

Original Attachment has been moved to: gpio_toggle_freertos.c.zip

Original Attachment has been moved to: adc_imx7d.c.zip

0 Kudos
Reply
1 Reply

447 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Antoine,

    Every ADC channel has their own prioriy, see below items from reference manual, please!

pastedImage_1.png

pastedImage_2.png

Hope above information is helpful for you!


Have a great day,
TIC  Weidong sun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply