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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Resolved! OCTOSPI prescaler value use in HAL seems odd

Hello everyone,I have a question regarding the configuration of the OCTOSPI, especially the prescaler value.I am using the UI to configure the XSPI's prescaler and setting it to 3.The generated code is as follows. You can see that the prescaler value...

DanPy_0-1747747617849.png DanPy_1-1747747956713.png
DanPy by Associate II
  • 141 Views
  • 3 replies
  • 2 kudos

Resolved! USB STM32G0B1KCT6 not working

Hi I have used STMCubeIDE 1.11.0 (Cube 1.6.1) to generate the code for USB CDC interface for STM32G0B1.The code is as CubeMX would generate. I have not modified the code at all.When I plug the device into a PC I get "USB device not recognized" I have...

DCorn by Associate III
  • 4313 Views
  • 8 replies
  • 2 kudos

Resolved! Running SDIO 4BIT wide mode

In this movie setup done  SDMMC 4BIT mode selected in CubeMX: Setup looks: In the older versions CubeMX like video before generated code for SDMMC or SDIO 4BIT setup looks like: That was confusing and doesn't really running SDIO/SDMMC in 4 bit wide m...

01 ST creating filesystem.jpg 02 OLD_CUBE_CODE.jpg 03 F746SDMMC setup.jpg 04 F746SDMMC code.jpg
wegi01 by Associate III
  • 161 Views
  • 4 replies
  • 0 kudos

Resolved! STM32CubeMX Version 6.14 Broke SAE Configuration

I just upgraded from version 6.13 to 6.14.  I have an exiting project for an STM32H7B3 that uses SAI1.  When I click the Generate Code button, I get the following warning:(The second warning is also a bug, I'm using CMake on my project so it is irrel...

cvanbeek_0-1741289131151.png cvanbeek_1-1741289475629.png cvanbeek_2-1741289559363.png
cvanbeek by Associate III
  • 393 Views
  • 3 replies
  • 0 kudos

EXAMPLE for H7R with bad .ioc

in LwIP_UDPTCP_Echo_Server_Netconn_RTOS example for H7S3, LwIP_UDPTCP_Echo_Server_Netconn_RTOS.ioc returns error Invalid State: Most probably trying to open 'LwIP_UDPTCP_Echo_Server_Netconn_RTOS.ioc' file from an abnomal previous IDE session exit. Pl...

mbarg.1 by Senior III
  • 158 Views
  • 6 replies
  • 0 kudos

does stm32f103c8t6 support external loopback?

I wrote a code for this microcontroller to test the CAN protocol, and it worked successfully in loopback test mode—data was transmitted and received correctly without using any external CAN transceiver. Then, I switched the CAN mode from loopback to ...