-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2S ADC read values inverted (IDFGH-2444) #4557
Comments
Thank you for your discovery, please modify the following functions in rtc_module.c, we will merge the changes into the corresponding branches later:
|
@skyscater Thanks for reporting. Sorry for the slow turnaround. The issue has been fixed and fix available on GitHub. Please help try if the issue still happens, feel free to reopen if the issue persists. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Problem Description
Read values by ADC1 with I2S are inverted. 0V leads to 4095, 3V3 leads to 0. adc_set_data_inv(ADC_UNIT_1, true|false) seems to have no effect (tried to change in rtc_module.c -> adc_i2s_mode_init as well).
Code to reproduce this issue
Code based on examples\peripherals\i2s_adc_dac.
The text was updated successfully, but these errors were encountered: