Skip to content

Fix periodic spikes across all ADC channels on STM32G4/F4 #11

@CIumsy

Description

@CIumsy

The current Arduino-based implementation exhibits regular voltage spikes on all available ADC channels—likely introduced by framework-driven timers and interrupt overhead. To eliminate these artifacts and improve overall signal fidelity, reimplement the acquisition routine using the STM32 HAL library (both F4 and G4 series). The new design must:

-Maintain fixed ADC sampling at 500 Hz across all available channels

-Use DMA for multi-channel conversions to minimize CPU load

-Trigger conversions via dedicated hardware timers to eliminate jitter

-Stream data over a lightweight serial protocol without packet loss

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions