Unable to use a similar channel in ADC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Unable to use a similar channel in ADC

634 次查看
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 项奖励
回复
3 回复数

585 次查看
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 项奖励
回复

560 次查看
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 项奖励
回复

536 次查看
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 项奖励
回复