I want to use pin to work as output pin for some time and then Analog pin for some time.how can I change the mode of pin in run time. GPIO_InitTypeDef GPIO_InitStruct = {0};
ADC_ChannelConfTypeDef sConfig = {0};
HAL_GPIO_WritePin(GPIOC, GPIO_PIN_...
I am using STM32F746 controller and MX25L128 flash on a custom board.I want to make external flash loader file for my custom board.I followed the MOOC - External QSPI loader how toI got error while memcmp for (var = 0; var < SECTORS_COUNT; var++) {
...
By reading the values on ADC2 i am able to get both ADC values.But the readings are not stable, however the input is stable.How can i get stable readings ?
I am using STM32F746BG.I made following changes in code for conversion, and kept the ADC function same.Still I am not getting required output.To make PC0 Digital - GPIOC->MODER &= ~((1<<0) | (1<<1)); GPIOC->MODER |= (1<<0); GPIOC->OTYPER &= ~...
Can you please give me example code ?I want to use same 2 pins as digital for time and analog for some time.I used following command for mode configuration, and kept the rest same - GPIOC->MODER |= 0x01;