How can I achieve high-frequency (over 100kHz) data acquisition with an STM32F107VC using SPI

Please how can I achieve high-frequency (over 100kHz) data acquisition with an STM32F107VC using SPI for an ADC while considering limitations of RTOS tick frequency? FreeRTOS seems insufficient, and high tick rates in Keil RTX5 raise concerns. What's the best approach?
@Middleware & OS
Solution
Sure, DMA is ideal! Here are some key points for configuration:

  1. Buffer Size:Choose a buffer size that holds enough samples to minimize data loss at high speeds. Consider factors like ADC sampling rate and desired data acquisition duration.
  2. Interrupt Strategy: Configure DMA to generate an interrupt when the transfer completes (or halfway for double buffering). This allows the RTOS to handle post-processing efficiently.
Let me know if you'd like to delve deeper into specific aspects of DMA setup
Was this page helpful?