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.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
  • 415 Views
  • 4 replies
  • 6 kudos

Resolved! Which MDMA channel use?

Hello! I am trying to use MDMA with stm32h743zi, but when i set up it on cubeMX, i don't know which channel number to choose.I looked up information about MDMA but nothing useful found... Any help here to know which number to choose? As always, thank...

rubenles_0-1707812458721.png

STM32H7 RTC Alarm OUT

Hi, I'm trying to get an alarm signal on an external contact (PC13). In the program everything works as it should and the interrupt occurs, but nothing changes on the external contact. What did I miss?              

Screenshot_8.png
Denys_T by Associate III
  • 3372 Views
  • 12 replies
  • 0 kudos

Resolved! CubeMX 6.10.0 has wrong SRAM size for STM32L452

I migrated a project from STM32CubeMX 6.3.0 to STM32CubeMX 6.10.0.  It didn't boot anymore.There was this interesting diff to the linker script: ** Abstract : Linker script for STM32L452VCIx series -** 256Kbytes FLASH and 160Kbytes...

tpiepho by Associate
  • 1531 Views
  • 4 replies
  • 2 kudos

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
  • 2011 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
  • 10238 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
  • 1533 Views
  • 1 replies
  • 1 kudos