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

[BUG] STM32 lwIP Ethernet driver Tx deadlock

This bug is present in ethernetif.c files for lwIP generated by CubeMX for the newer reworked ETH drivers.ProblemWhen using CMSIS-RTOSv2, CubeMX generates the following code in the function low_level_output(): pbuf_ref(p); HAL_ETH_Transmit_IT(&heth, ...

Piranha by Chief II
  • 23267 Views
  • 27 replies
  • 7 kudos

Delay between SPI transfers on STM32U5

I have to interface an STM32U575 microcontroller with a very specialized SPI device for which the market offers no alternatives. According to the spec sheet, the chip select must be pulsed between every 2 bytes, for at least 154 ns. I have to read 34...

_legacyfs_online_stmicro_images_0693W00000biFzAQAU.png _legacyfs_online_stmicro_images_0693W00000biFx5QAE.png
CWill.12 by Associate II
  • 4705 Views
  • 9 replies
  • 0 kudos

Resolved! STM Cube MX Free RTOS with STM32U575

Hi, I want to implement Free RTOS on SWTM32U575. When I am trying to configure it in the middleware but there is no options to enable Free RTOS. Is there a way to way to enable it ?

Jet1 by Associate II
  • 1552 Views
  • 4 replies
  • 3 kudos

Can install packages only as root (Ubuntu 22.04.1)

I was able to successfully install and launch CubeMX. However, I cannot download the packages. In my case I need the STM32CubeG0 firmware packages. When I download it manually and select "From Local" I get "Failed to create temporary directory". In ~...

MMett by Associate III
  • 1217 Views
  • 2 replies
  • 0 kudos

Pin naming export

Hello,I tried exporting the symbol for STM32F733IET6 along with the pin naming through stm32cubemx(V6.10.0) but all i get is empty boxesI am using kicad v7. It's not a kicad problem because i've imported symbols recently with no issues.  Am i doing s...

cube.png kicad.png
abdullaq by Associate
  • 1778 Views
  • 5 replies
  • 1 kudos

CUBEMx stucks when generating code

hello! I start this post because i have created a new project with CUBEMX 6.12.0 and i am having some issues. When I generate code without THREAD X activated, the generation is completed without any error. However, when I add the thread X option (see...