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?
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.