I'm trying to read ADC2 IN1(PA0 connected to GND) and ADC2 IN2 (PA1 connected to 3.3V). static void MX_ADC2_Init(void)
{
/* USER CODE BEGIN ADC2_Init 0 */
/* USER CODE END ADC2_Init 0 */
ADC_ChannelConfTypeDef sConfig = {0};
/* USER CODE ...
I was expecting you to describe the problem because when i'm trying to read a single channel using this method it works perfectly but after the IN2 was added the conversion does not succeed. Since PA0 is connected to GND the ADC2_RES_BUFFER[0] should...
In the image above, there's a section marked in blue, which is what I'd like to implement using DMA. Below, I attempted a different approach but without success. Here is my stm32g4xx_it.c /* Includes ------------------------------------------------...