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

STM32CubeIDE workflow and issues

For a customer, I needed to write up our workflow for using STM32CubeIDE, especially all the steps required to work around assorted issues in CubeMX, HAL, LL, and CubeMX-generated glue code. I'd appreciate any comments, especially if I missed anythin...

There is a previously-reported, year-old, unresolved pair of CubeMX USB bugs in the stock code for F7 USB devices that a) prevents the code from compiling and b) crashes the processor when patched. Is this going to be resolved at any point?

The original post is here: https://community.st.com/s/question/0D50X0000AVU8zXSQT/cubemx-usb-bugNobody responded to the OP and I have the same issue. Are there any actual ST employees on here, or are the users of STM32CubeMX on our own?

Can not open .ioc files since 1.1.0 update on macos

As title says, i get spinning wheel when trying to open my project MCU configuration.I now have to load the IOC into cubeMX and generate sources through it, which brings its own bag of problems. (duplicate files, ...)Is there something that can be do...

Resolved! Timer initialization code not generated in STM32CubeMX 5.5.0

Hello,in the last days I worked a lot with STM32CubeMX without any problems (STM32L432KC). I2C, SPI, UART and CAN work pretty well.Now, I try to configure a simple PWM timer. When I only activate a timer (lets say TIM15 / The behaviour is the same fo...

Bug: IOC generates code that does not compile

Update: Complete bad generated project attached, picture of build failure added.Note this problem is produced with the CubeMX plug-in inside the IDE, not the stand-alone CubeMX.F439, latest CubeIDE, included RubeMX 5.4.0, and HAL/LL stuff all downloa...

0690X00000ArVpfQAF.png

[BUG] FreeRTOS/LwIP thread priority range for TCPIP_THREAD_PRIO, DEFAULT_THREAD_PRIO and SLIPIF_THREAD_PRIO in CubeMX wrong

Hello,I think the correct range for TCPIP_THREAD_PRIO, DEFAULT_THREAD_PRIO, SLIPIF_THREAD_PRIO and possible others in CubeMX LWIP configuration should be -3 to +3 and not 0 to 6.And the default value should be lower than 3 (osPriorityRealtime) defini...

SStor by Senior
  • 796 Views
  • 1 replies
  • 0 kudos

NUCLEO64 USB HID not working ? getting HAL_OK but NO SIGNAL

So I am using Nucleo64 (303RE) board for USB HID mouse project.As you know, it does not have second USB port for USB applications but it does have PINS that can act as DM, DP (USB minus, plus data). When I configured everything, I run debug and it wa...

0690X00000BvjlKQAR.png
hashtala by Associate II
  • 1449 Views
  • 3 replies
  • 0 kudos

How to set I2C's TIMING?

For example, using CubeMX to set the I2C, 400K rate, the TIMING parameter is automatically generated, but it is not 400K in actual operation. The timing value of the program in ST DEMO is different from that in CubeMX, so how can I use CubeMX to set ...

0690X00000BvfnMQAR.png
one V by Associate III
  • 2166 Views
  • 4 replies
  • 0 kudos