- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I started this discussion because I have a question regarding the timings between:
- ADC to memory, using DMA;
- PSoC to computer using USBFS.
The way I want to approach this is: (using 100 2-bytes samples as an example)
1 - ADC sample to memory1, using DMA
2 - Copy those samples from memory1 to memory2
3 - ADC sample to memory1, using DMA & USBFS transfers from memory2 to PC
4 - repeat step 2 to 4 until desired number of samples is acquired.
Is this possible with the PSoC?
I'm struggling with:
- is the process of copying memory1 to memory2 fast enough that I don't loose data?
- how can I pause the DMA for the copy from memory1 to memory2 to happen?
Thank you for your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i didn't put the condition to limit the number of samples, because I simply want to send using the ping-pong methodology, so I'll attach my project so that it's easy to see what I've done.