Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在做一个项目,我需要在 STM32F4x 上使用两个具有不同采样率的 adc 通道。我需要以最小采样率监控直流电压 (Vbat) 的第一个通道。同时,我将使用另一个通道来拾取 ECK,采样率约为 1Khz。我打算使用 DMA 解决 CPU 负载问题。
我的问题是我只需要 DMA 用于 ADC 通道,而我不需要它来监控 VBAT。我将如何使用具有不同采样率的 2 个 ADC 通道?
Most of the f4 UC have more than one ADC converter. Just use one for the Vbat and the second one for the high frequency monitoring.
Another option is to start injected conversion for the Vbat - what the injected conversion is - read the Reference Manual