Unable to use a similar channel in ADC

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

Unable to use a similar channel in ADC

632 Views
VIGNESH_BABU
Contributor II

Hi Dear,

In LPC55S16 Microcontroller we configured the pin as P[0][16] as ADC0_8(referred as CH0B)  and      P[0][2]  as ADC0_0(referred as CH0A). In this Configuration unable to read the both channel simultaneously.Is there is possible to read the channel simultaneously?

0 Kudos
Reply
3 Replies

583 Views
Alex_Wang
NXP Employee
NXP Employee

Hi, @VIGNESH_BABU 

         The LPC55xx series ADCs support multi-channel sampling, which you can refer to the configuration in the following link:Multiple ADC channels conversion with CTimer trigg... - NXP Community

         Hope this helps you.

Best regards, Alex.

0 Kudos
Reply

558 Views
VIGNESH_BABU
Contributor II

Hi Alex,

Thanks for your Reply.But before try out with C timer configuration.Please verify our ADC configuration is there is any changes for multiple channel configuration.Here Below we attached the source file of ADC Configuration.Thank you

0 Kudos
Reply

534 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @VIGNESH_BABU 

It's hard to spot a problem just by looking at the code.

Recommend you refer to the example Alex Wang mentioned above. Also you can use MCXpresso configure tool for peripherals inside MCUXpresso IDE to config. It will generated code by automatically. Alice_Yang_0-1705809651643.png

If there is still issue, recommend debug step by step to check. 

 

BR

Alice

0 Kudos
Reply