ADC: lost samples fix#56
Merged
dron0gus merged 4 commits intorusefi:stable_20.3.x.rusefi_clean_historyfrom Apr 28, 2025
Merged
Conversation
According to DS: At the end of the last DMA transfer (number of transfers configured in the DMA controller’s DMA_SxNTR register): - No new DMA request is issued to the DMA controller if the DDS bit is cleared to 0 in the ADC_CR2 register (this avoids generating an overrun error). However the DMA bit is not cleared by hardware. It must be written to 0, then to 1 to start a new transfer. - Requests can continue to be generated if the DDS bit is set to 1. This allows configuring the DMA in double-buffer circular mode.
Member
Author
|
@dron0gus CI says it does not compile |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16927 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
03b739d to
621dc50
Compare
Member
Author
Let me fix it. |
35b1d17
into
rusefi:stable_20.3.x.rusefi_clean_history
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cumulative ADCv2 update.
One backported patch - actually fixes the issue.
Plus 3 more patches to test and later submit to ChibiOS.