Anonymous
Not applicable
Nov 29, 2009
12:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 29, 2009
12:40 AM
What is the fastest way to pick up a sample form ADC: poll loop, ISR->GetValue or DMA->ISR? I bet it's still old good classic poll loop?
Labels
- Labels:
-
PSoC 3
1 Reply
Nov 29, 2009
02:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 29, 2009
02:02 AM
If you want to immediately process the value of the ADC, then the ADC's ISR would be the fastest. If you are going to transfer the content of the ADC to a buffer or any other perripheral, then the DMA would be the fastest.
Polling coule be fast if the processor is not involved in any other operation and spends all the time polling the ADC.
Polling coule be fast if the processor is not involved in any other operation and spends all the time polling the ADC.