Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: STM32F407 ADC Speed is slow

$
0
0
dear All, i have done a practice with STM32F407 to convert an analog channel. i prepare the configuration and initialization through STM32Cube MX with MDK 5. i write the bellow program to measure the speed of conversion: while (1) { HAL_ADC_Start(&hadc1); HAL_GPIO_WritePin(GPIOB,GPIO_PIN_12,GPIO_PIN_RESET); HAL_ADC_PollForConversion(&hadc1,1); HAL_ADC_Stop(&hadc1); HAL_GPIO_WritePin(GPIOB,GPIO_PIN_12,GPIO_PIN_SET); } th

Viewing all articles
Browse latest Browse all 3049

Trending Articles