User Activity

I am trying to generate a fixed number of PWM Waves using stm32f407. I called both functions   HAL_TIM_Base_Start_IT(&htim2); HAL_TIM_PWM_Start_IT(&htim2,TIM_CHANNEL_1); and in the ISR void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {...
I am trying to implement bootloader code , that run an application code in STM32F407VGT6 micro controller. I have written two different codes one is bootloader and other is Application. My question is How two different code loading at different flash...
I have bought a new stm32f103c86 and I am trying to program it first time. To program the STM32 Blue Pill board I am using a using a USB to serial converter. The Rx and Tx pin of the Converter is connected to the A9 and A10 pin of the STM32 respect...
The program to read the Internal temperature and V_battery voltage using ADC in STM#2F042 is as follows:#include "main.h"#define I2C_ADDR (0x40<<1);#define V_Ref 3.3#define RESOLUTION ...
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc){ if(__HAL_ADC_GET_FLAG(hadc,ADC_FLAG_EOC)){ adc_value=HAL_ADC_GetValue(hadc); }}main(){ HAL_ADC_Start_IT(&hadc); while(1) { }}static void MX_ADC_Init(void){ ADC_ChannelConfTypeDef sConfig =...