Unable to use a similar channel in ADC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to use a similar channel in ADC

761件の閲覧回数
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 返答(返信)

712件の閲覧回数
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 件の賞賛
返信

687件の閲覧回数
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 件の賞賛
返信

663件の閲覧回数
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 件の賞賛
返信