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
  • 834 Views
  • 5 replies
  • 7 kudos

Cube IDE 32F4 - who do ST provide a precompiled std C lib, no source, and no WEAK functions so one can't replace the empty mutex calls?

AFAICT this is a libc.a although there are quite a lot of these loaded under c:\st\...I have spent a huge amount of time with objcopy trying to weaken a long list of stupid (empty but not replaceable) mutex calls in printf and malloc etc. like this--...

PHolt.1 by Senior III
  • 773 Views
  • 2 replies
  • 1 kudos

Resolved! Is it possible to automatically separate the code generated by STM32CubeIDE into headers and source files for each type of peripherals?

When I create a new project in STM32CubeIDE with the use of a configuration (.ioc) file, configure peripherals, and generate code, all handlers (such as I2C_HandleTypeDef, UART_HandleTypeDef, QSPI_HandleTypeDef, DMA_HandleTypeDef, etc.) and their ini...

VVakh.1 by Associate III
  • 3486 Views
  • 3 replies
  • 2 kudos

Enable 48MHz HSE on STM32F446RE Nucelo

On the board page nucleo-f446re it mentions a specific feature of board is a 48MHz HSE. However in STM32CubeIDE I only have the option to set the HSE up to 26MHz. How do I go about enabling the 48MHz HSE or could you point me in the direction of any ...

0693W00000QLuakQAD.png

While programming with the JLink Ultra, it reports 2 device on the JTAG bus, I am using one STM32L471RGT6. Is this correct? Programming and running code mainly works but not always.

Connecting to target...J-Link found 2 JTAG devices, Total IRLen = 9JTAG ID: 0x4BA00477 (Cortex-M4)Connected to targetWaiting for GDB connection...Connected to 127.0.0.1Reading all registersRead 4 bytes @ address 0x080014B0 (Data = 0xF00369DB)Reading ...

rwils.1 by Associate III
  • 1053 Views
  • 4 replies
  • 0 kudos

STM32cubeIDE Board Selector creates incorrect (?) default RCC initialization settings for STM32H735G-DK Discovery Kit.

@Piranha​ pointed me to a fault in the configuration of the RCC in an example related to LW-IP.I have the impression that this fault is also created when STM32cubeIDE creates the default settings for the STM32H735G -DK Discovery kit.The manual RM0468...

0693W00000QM6E2QAL.png 0693W00000QM6AFQA1.png 0693W00000QM6AZQA1.png 0693W00000QM6AtQAL.png
Johi by Senior III
  • 567 Views
  • 0 replies
  • 1 kudos

Resolved! Dma not working when triggered from timer trigger from external source start a DMA transfer on UART or SPI peripheral on STM32F411?

I am using STM32F411 and SDK v1.27.1I am trying to trigger an DMA xfer with an external signal source using the TIMER1 External Trigger, without the need to execute any interrupts in the CPU to utilize the CPU time, as I have two signals one every 2m...

0693W00000QLM9zQAH.png 0693W00000QLMA4QAP.png 0693W00000QLMAdQAP.png 0693W00000QLMA9QAP.png