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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 842 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
  • 1502 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
  • 2278 Views
  • 4 replies
  • 0 kudos

I have a problem in generate code in cubemx

I have a ready project that was created with cubemx 4.19, It's ok when I compile this project by keil version 5.15, but when I generate it by cubemx 5.4 I have some errors after compile it by keil version 5.15for example "undefined dword"What is the ...

alianvari by Associate III
  • 925 Views
  • 4 replies
  • 0 kudos

Using .extSettings file

In the help document concerning .extSettings file the information is unclear.As I read it the Groups section is supposed to create/add directories and files.It does not. I have generated the project for SystemWorkbench and EWarm.I downloaded a test v...