Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago.
Use ADCn_DPm pins as simple adc (not diff)
Is it possible to use differential ADC as a simple (not differential) single channel for AnalogIn?
Question relating to:
7 years, 7 months ago.
hello yes, in AnalogIn_Diff.cpp line -> AnalogIn_Diff::AnalogIn_Diff(int adc_ch) line 53 ADC_HAL_SetResolutionMode(adc_addrs[instance], kAdcResolutionBitOfDiffModeAs16); replace by ADC_HAL_SetResolutionMode(adc_addrs[instance], kAdcResolutionBitOfSingleEndAs16);