STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.16.1 released

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 462 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1447 Views
  • 5 replies
  • 7 kudos

I2C2 doesn't work

Hello, I am working with a custom board, using STM32F105VC. The board has some LED drivers, which they use I2C1 and I2C2. I2C1 works fine but I2C2 doesn't work. Configuration for both I2C are the same.  hi2c2.Instance = I2C2; hi2c2.Init.ClockSpeed = ...

NASI by Senior
  • 1074 Views
  • 2 replies
  • 0 kudos

STM32 CUBEMX v6.3.0 does not work with H7 firmware v1.8

I recently upgraded CubeMX to latest v6.3.0 and I have my project based on STM32H743IIT6 microcontroller. If I try to open my project which is made using H7 firmware v1.8 without migrating it to latest v1.9 then CubeMX gets hanged and its not able t...

VShet.2 by Associate III
  • 1029 Views
  • 3 replies
  • 0 kudos

Resolved! Hi I am concerned about the following microcontroller : STM32H753XIH6TR When using cube Mx to configure the timers on pin PA1_C the options specified in the data sheet are not avaliable. How do I access these functions?

Please see attatched image of functions specified in datasheet.Please see image attatched of functions avalailable on cube MXThanks for your help !

LMyle.1 by Associate III
  • 3220 Views
  • 11 replies
  • 1 kudos

Resolved! Hi I am concerned about the following microcontroller : STM32H753XIH6TR When using cube Mx to configure the timers on pin PA1_C the options specified in the data sheet are not avaliable. How do I access these functions?

I have downloaded the new H7 package as previously suggested and the issue still remains.Please see attatched image of functions specified in datasheet.Please see image attatched of functions avalailable on cube MXThanks for your help !

LMyle.1 by Associate III
  • 2159 Views
  • 5 replies
  • 0 kudos

Resolved! Problem on SCB_InvalidateDCache_by_Addr

First time try ADC Dual Interleaved on STM32H750VB.The problem is when I try to split the 32bit result from DMABuff into 16bit master and slave, some of the reading is zero and it's random. Can anyone show me anything wrong on my code?If disable DCac...

0693W00000D2FMwQAN.jpg 0693W00000D2FNLQA3.jpg 0693W00000D2FNuQAN.jpg
SEng.1 by Associate II
  • 2073 Views
  • 3 replies
  • 0 kudos

Resolved! clock configuration problem

I use STM32H750XB microcontroller for my project. I am able to configure clock for 480Mhz without using "Resolve Clock Issues" help. But if I use "Resolve Clock Issues" even once, then I get problem like the attached image. There is a calculation err...

0693W00000D27nLQAR.png 0693W00000D27qeQAB.png
OERCA.1 by Associate II
  • 1875 Views
  • 4 replies
  • 0 kudos

STM32F103VG Use Cubemx to generate TIM1 CH1 PWM output, and use firmware version stm32cube FW_ F1 v1.8.1 has normal PWM output. Use firmware version stm32cube FW_ F1 v1.8.1 ~ v1.8.4 cannot output PWM.

 void user_pwm_setvalue(uint16_t value){ TIM_OC_InitTypeDef sConfigOC; sConfigOC.OCMode = TIM_OCMODE_PWM1; sConfigOC.Pulse = value; sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH; sConfigOC.OCFastMode = TIM_OCFAST_DISABLE; HAL_TIM_PWM_ConfigChannel(&htim...

0693W00000D26CsQAJ.png 0693W00000D26D2QAJ.png
李强.1 by Associate
  • 535 Views
  • 0 replies
  • 0 kudos