How do I determine if the 80MHZ acquisition rate is correct for HSADC+DMA

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

How do I determine if the 80MHZ acquisition rate is correct for HSADC+DMA

396 次查看
ALOONG
Contributor I

Now I use the HSADC+DMA module of LPC4370 microcontroller to collect samples, but there is no way to determine whether the required 80MHZ acquisition rate has been reached. Is there any way to test it? I want to use the IO port to output high-low level confirmation: pull up when DMA is turned on, pull down when DMA is interrupted, and confirm whether the rate reaches 80MHZ by measuring the high level time. Is this method reliable?

0 项奖励
回复
1 回复

372 次查看
Pablo_Ramos
NXP Employee
NXP Employee

Hi @ALOONG,

You need to make sure that the rise time and fall time of the I/O pins can perform to the desire speed.

You can find this information on Table 20. Dynamic characteristic: I/O pins on LPC4370 datasheet.

Another option could be setting a timer to calculate the amount of time that has pass between transmissions, however, in this option it is also important to check if the source clock of the timer can perform to the desire speed.

You can refer to the AN11538 for more information about SCTimer.

Hope it helps you.

0 项奖励
回复