使用4通道ADC采样速度

Learn MoreFAQsTutorials

2 posts / 0 new
Last post
Taxara
Offline
Last seen:8 months 1 week ago
加入:2019-11-28 10:25
使用4通道ADC采样速度

Hi,

I recently bought a DA14695/9 because of the fast ADC, ive followed adc adapter example wich samples one adc.

I need four adc's that are able to sample with 500Ksample/s and store their values (if using dma helps reaching the goals then this will be an option).

Is this possible?

  • if not, what would be the sample rate when using 4 channels?
  • if so, is there any direction you can guide me to accomplish this? adc adapter seems not to be able to do this.

Thanks in advance

Device:
PM_Dialog
Online
Last seen:12 min 17 sec ago
Staff
加入:2018-02-08 11:03
Hi Taxara,

Hi Taxara,

According to DA1469x datasheet, the theoretical sampling rate is 4Msamples/sec for each channel. In the ADC adapter example, chopping (2 samples) is used and sample_time= 5 . Please check drv_GPADCnm structure for the example’s configurations. The theoretical sampling rate will be around at [4Msamples/ sec ] / 2 samples for chopping / 5 ADC clock ~= 400Ksamples/sec. However, this is the theoretical sampling rate. In practice, you will have latencies due to higher priority interrupt plus the code execution, for example printf() execution. Also, keep in mind that the default setting is manual triggered. I’d suggest you to change it to continuous mode. In this continuous mode, the only latency will be any higher priority interrupts.

Thanks, PM_Dialog