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.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Resolved! Setting 38400 baud rate reception with SPI

Need to achieve 38400 baud rate for reception of NMEA messages but here 38400 is not in the multiple of binary numbers.Setting the clock to 8MHz and then using prescaler is just setting it to 31.25 Kb.How to adjust to be able to achieve that baud rat...

rohan_m_0-1707383007686.png
rohan_m by Senior
  • 1736 Views
  • 3 replies
  • 2 kudos

Resolved! How to change MCU in STM32CubeMX?

Hello,I tried to change the board in my project from STM32G474CC to STM32G473CC. Both should be pin compatible. I've read different solutions for this in the forum but non of them work. Also the description in UM1718 chapter 11.9. When I follow the s...

DMala.2 by Associate
  • 9120 Views
  • 5 replies
  • 2 kudos

Bug: Wrong SAI SPDIF Tx bit clock rate

MCU: STM32F446VESTM32CubeIDE 1.7.0 with CubeMX 6.3.0SAI1 block A is configured in SPDIF TX mode, clock audio frequency is set to 44.1KHz.SAI Clock is approximately 2.823529 MHz. HSE freq is 12MHz.As you can see on screenshot "Real Audio Frequency" al...

sintech by Associate
  • 1412 Views
  • 1 replies
  • 1 kudos

I2C1 stops working over 8MHz STM32F042F6P6

Hello all, I'm having problems with I2C1, i have a code that works perfectly while i configure the HCLK to 8MHz but it stops working when i set any higher frequency. Has anybody faced similar problem? I am using STM32CubeIDE for setting the project, ...

Davaol19 by Associate III
  • 3583 Views
  • 20 replies
  • 7 kudos

Resolved! HRTIM-E1 Interrupt not firing

HRTIMe1 Interrupt needs HRTIM-MASTER Interrupt to fire?I saw similar issue in GitHub but it pertains to Source of fault.Anyway, I am using STM32G4 V1.3 on STMcubeIDE V1.5.1 on win10 machines (2 PCs)It seems that HRTIM-E1 will not fire up the interrup...

0693W000007B3DhQAK.png 0693W000007B3E1QAK.png 0693W000007B3MFQA0.png 0693W000007B3PnQAK.jpg

Motor Pilot

Dear Team, I am using SPC58 MCU. Can we use motor pilot tool as a addon so that I can integrate this tools with other IDE's. Thanks in advance 

Resolved! Impact and selection of the correct timebase source

Hello ST community,In the software STM32CubeMX there is the possibility to select different timebase sources. By default the SysTick is selected. What criteria should be considered to decide which timebase to use ? What is the advantage/disadvantage ...

Rookie38 by Associate III
  • 5165 Views
  • 2 replies
  • 1 kudos