2023-11-13 07:54 AM
Hi,
I was wondering if I can get some feedback on the following project, mainly if the requirements I have are feasible?
I was thinking on using an STM32F4 or STM32F7.
The project consist of the following parts:
I am not looking for an implementation, just a feel if this is possible to create (seeing the 'high' data/sample rates) on an STM32F4 or STM32F7, since I don't have experience with DMA.
Thanks!
2023-11-13 03:05 PM
Depends on ADC, what part number? There are ADC with 8 data lines kind of octo-SPI, I don't think any F7 or F4 could handle those. Regarding DMA, rought estimation of troughoutput about 10-14 megawords (32-bits), about x4 times higher than required.
2023-11-14 09:25 AM
Depends a lot on the card, and the ability to write large media and file system aligned blocks of data. ie Clusters or Erase Block, 32 KB perhaps a good mix of size and alignment. Alignment of the file pointer being most critical in reducing unnecessary busy work and card interactions.
Several MB/s should be within reach on most platforms.
2023-11-15 01:28 AM
Hi MasterT,
Thanks for your reply!
No ADC part has been selected yet, but I assume it would use normal SPI.
From your reply it sounds that using DMA will work for this set-up. Time to get my hands dirty and test this :-).
2023-11-15 01:30 AM
Hi Tesla DeLorean,
Thanks for your reply!
I haven't dug too deep into this yet, but several MB/s sound good. Guess now it is time to test this :-).