Skip to content

feat: Implement circular DMA & fix audio#86

Merged
fanfare-ff merged 10 commits intodevfrom
feat/63/circular-dma
Feb 19, 2026
Merged

feat: Implement circular DMA & fix audio#86
fanfare-ff merged 10 commits intodevfrom
feat/63/circular-dma

Conversation

@fanfare-ff
Copy link
Collaborator

  • Link related open issue
    resolves [TASK] Circular mode for ADC+DMA #63 and Fix the Audio Noise and Cuts in Record_Audio Example #55

  • Provide a short description
    Implements circular DMA and improves the audio recordings using it

  • Provide a more detailed list of changes

    • Disable cache with proper MPU config
    • Refactor copy-paste logic into indexable maps
    • Generalize some DMA functionality for ADC and DAC
    • Remove every cache invalidation
    • Rewrite DMA errors
    • Refactor all function and var names
    • Fix matlab desync & blocking while loops
    • Fix unassigned triggers for ADC2 & ADC3
    • Update for stable MPU calculations
    • Add recording duration in seconds which is transmitted to the firmware
    • Fix stuck USB packet in audio recording
    • Update recording examples
  • Does this PR introduce a breaking change?
    N/A

  • Other information
    Check the recordings for proving the audio quality

Disable cache with proper MPU config
Refactor copy-paste logic into indexable maps
Generalize some DMA functionality for ADC and DAC
Remove every cache invalidation
Rewrite DMA errors
Refactor all function and var names
Fix matlab desync & blocking while loops
Fixed unassigned triggers for ADC2 & ADC3
Updated stable MPU calculations
- Add recording duration in seconds which is transmitted to the firmware
- Add examples
- Fix styling
- Fix stuck USB packet
@fanfare-ff fanfare-ff self-assigned this Feb 19, 2026
@fanfare-ff fanfare-ff requested a review from svire-at February 19, 2026 11:01
@fanfare-ff fanfare-ff linked an issue Feb 19, 2026 that may be closed by this pull request
Copy link
Collaborator

@svire-at svire-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@fanfare-ff fanfare-ff merged commit 6221d8e into dev Feb 19, 2026
@fanfare-ff fanfare-ff deleted the feat/63/circular-dma branch February 19, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Circular mode for ADC+DMA Fix the Audio Noise and Cuts in Record_Audio Example

2 participants