Skip to content

Conversation

maidnl
Copy link
Contributor

@maidnl maidnl commented Jul 21, 2025

This PR resolves a configuration problem: when a channel was configured as DAC voltage and, immediately after that, it was added on the same channel a current ADC, the configuration of the channel might be wrong.
This was due to the fact that to use a current ADC on a voltage DAC channel a special ADC configuration must be used, but the Analog FW could not be aware of the main channel configuration (DAC voltage) due a delay into the application of the DAC configuration.
This PR fixes the problem by using the last main configuration request available for the channel without waiting for the configuration to be actually applied on the channel.

@maidnl maidnl merged commit 53de312 into arduino-libraries:main Jul 21, 2025
1 check passed
@per1234 per1234 added the bug Something isn't working label Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants