LPC55S28-EVK ADC Configurator

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

LPC55S28-EVK ADC Configurator

1,718 次查看
_Ferrari_
Contributor V

Dear all,

Starting from empty project I used peripherals configurator to enable ADC driver.

Then I connected the central of potenriometer to the A1 of P19 connector and the other two treminals to ground and +3,3V (as shown in the attached file).

Unfortunately the printed value is ADC value: 16384 regardless potentipmeter position.

I already downloaded the demo program lpadc_polling and it works perfectly.

Did you have any similar problem ? How did you fix it ?

Thank you very much for your help and coperation,

best regards

ADCCongigurator.png

Potentiometer.png

0 项奖励
回复
5 回复数

1,698 次查看
_Ferrari_
Contributor V

The demo pojecy (lpadc_polling) works fine. Unfortunately it is not developed by using peripherals configurator.

 

0 项奖励
回复

1,691 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Compare the generated code by  peripherals configurator with demo code, check whether need add some code by hand.

 

0 项奖励
回复

1,689 次查看
_Ferrari_
Contributor V

Dear Alice,

thank you for your reply.

You wrote: "Compare the generated code by peripherals configurator with demo code, check whether need add some code by hand."

OK already done. But in the demo program variables and structures with names different from those generated by the configurator are used. Furthermore, the program structure is completely different (for example the peripherals.c and peripherals.h files are not included in the demo program) Do you have a tutorial explaining how to use the peripherals configurator?

Thanks very much for your help and cooperation,

regards

 

0 项奖励
回复

1,685 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

 There is a thread about LPC55s69 ADC, using peripherals configurator, almost the same with lpc55s28,

you can refer to:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/ADC-multi-channel-sampling-and-DMA-trans...  

 

BR

Alice

0 项奖励
回复

1,704 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

So how about development your own project based on the demo lpadc_polling ?

 

 

BR

Alice

0 项奖励
回复