LPC-Link2 HSADC Sample Rate vs Clock Speed

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

LPC-Link2 HSADC Sample Rate vs Clock Speed

1,809 Views
tristanhegseth
Contributor II

So the user manual for the LPC4370 chip I am using for a project states that the 12-bit ADC can take up to 80 MSamples per second, but I am having trouble even getting half of this. In the example code for the HSADC they spend time setting up the clock speed and the descriptor tables to drive the sampling speed, but to my understanding the sample rate can be changed directly by the ADC speed register with the CRS and DGEC. Can someone help explain what I am missing? Thanks for your time

Labels (1)
0 Kudos
Reply
1 Reply

1,802 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello  tristanhegseth,

 

About config ADC conversion clock, please refer the function of  void setupClock() under LPCopen.

Download LPCopen from:

https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcop... 

And there is a thread about 80M ADC, you can have a look:

https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-HSADC-does-not-work-correctly-with-clockin...

 

BR

Alice

Tags (1)
0 Kudos
Reply