Skip to content

Conversation

@dron0gus
Copy link
Member

Cumulative ADCv2 update.
One backported patch - actually fixes the issue.
Plus 3 more patches to test and later submit to ChibiOS.

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.
@dron0gus
Copy link
Member Author

@rusefillc
Copy link

@dron0gus CI says it does not compile

dron0gus and others added 2 commits April 28, 2025 16:08
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16927 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
@dron0gus dron0gus force-pushed the adc-lost-samples-fix branch from 03b739d to 621dc50 Compare April 28, 2025 13:09
@dron0gus
Copy link
Member Author

@dron0gus CI says it does not compile

Let me fix it.

@dron0gus dron0gus merged commit 35b1d17 into rusefi:stable_20.3.x.rusefi_clean_history Apr 28, 2025
1 check passed
@dron0gus dron0gus deleted the adc-lost-samples-fix branch April 28, 2025 13:20
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.

3 participants