STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Timer output goes hi while starting DMA.

My CPU is STM32H750VBTxMy Configuration of the timer is void MX_TIM2_Init(void) { TIM_SlaveConfigTypeDef sSlaveConfig = {0}; TIM_MasterConfigTypeDef sMasterConfig = {0}; TIM_OC_InitTypeDef sConfigOC = {0};   htim2.Instance = TIM2; htim2.Ini...

dirk2399 by Associate
  • 621 Views
  • 3 replies
  • 1 kudos

Resolved! Package for STM32F1 Series 1.8.0 trouble

Use this "STM32Cube Package for STM32F1 Series 1.8.0" ,  This statement:__HAL_TIM_SET_CAPTUREPOLARITY(htim,TIM_CHANNEL_2,TIM_INPUTCHANNELPOLARITY_FALLING); is wrong.   Tips: ../Src/freertos.c(417): error: #53: expected a ":"but in 1.7.0, it is Correc...

lzai by Associate
  • 1122 Views
  • 4 replies
  • 0 kudos

PWM DMA: Interrupt Callback not working on STM32L452

Sorry if the question sounds stupid, I am new to STM32.I managed to have a PWM working, timer 1, pos/negative, deadtime, working with DMA from an array with pre-calculated values. HAL_TIM_PWM_Start_DMA(&htim1, TIM_CHANNEL_1, sine_val, samples); HAL_T...

maelli by Associate II
  • 327 Views
  • 0 replies
  • 0 kudos