Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MCUs Other solutions
STM32 MPUs
STM32 MPUs products
STM32 MPUs Boards and hardware tools
STM32 MPUs Software development tools
STM32 MPUs Embedded software
STM32 MPUs Solutions
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive & Transportation
Microcontrollers
GNSS positioning
AutoDevKit Ecosystem
Edge AI
Analog and audio
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Other: hardware
Other: software
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
gsmet.1
Associate
since
2022-11-03
2023-06-14
User statistics
1
Posts
0
Solutions
0
Kudos given
0
Kudos received
STMicroelectronics Community
About gsmet.1
Options
Report User
User Activity
Posts
Replies
ADC RESOLUTION 8bit returning 12bit values after switching channels
2022-11-03
#include "main.h" #define ADC_BUF_LEN 9000 uint8_t adc_buf[ADC_BUF_LEN]; uint8_t ch = 0; ADC_HandleTypeDef hadc; DMA_HandleTypeDef hdma_adc; TIM_HandleTypeDef htim2; void SystemClock_Config(void); static void MX_GPIO_Init(void); static void MX_...
No replies to display.