LPC-Link2 HSADC Sample Rate vs Clock Speed

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

LPC-Link2 HSADC Sample Rate vs Clock Speed

1,817件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 返信

1,810件の閲覧回数
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

タグ(1)
0 件の賞賛
返信