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

CubeMX: enables code optimizations upon code generation

I believe I am experiencing a bug in CubeMX software which is not critical but is very annoying. Every time I re-generate project code from Cube, it automatically alters .cproject file, resetting C code optimizations to -O2 level. This then leads to ...

STM32CubeMX 5.1.0 FreeRTOS code generation problem for statically generated tasks, mutexes , etc... if they were to be recreated.

Hello,During my development I came across this (sort of) bug which will require manual code modification if a specific FreeRTOS function is to be used.** Definition of the problem **FreeRTOS V9 has a feature to define the TCB of a task in compile tim...

How do I get an example created with a cubeMx?

Hello,I am looking for an example of STM32FDiscovery. So I found STM32FCube_FW_F4_V1.24.0.​STM32Cube_FW_F4_V1.24.0\Projects\STM32F4-Discovery\Applications\FatFs This example worked.​Create USB MSC + FATFS project with CubeMx. I wrote the code using t...

SWoon by Associate II
  • 514 Views
  • 0 replies
  • 1 kudos

JTAG lost after SystemClock_Config

Hello,I'm currently working of a project based on a CubeMX generated code.I'm currently experiencing something strange.I use a Segger J-link as a programming interface. When I want to debug my program, as I can see, the program arrive inside "SystemC...

SSchm.5 by Associate III
  • 1349 Views
  • 8 replies
  • 0 kudos

STM32F446 CAN as MASTER MODE Not able to add these codes these in static void MX_CAN1_Init(void) hcan1.pTxMsg=&myTxmessage; hcan1.pRxMsg=&myRxmessage;

Hello I have configured my STM32F446RE MCU as master mode for CAN communication using STM32CUBEMX version 5.1.0 ..I have generated the code in uVision5-Keil .I'm not able to change the function--static void MX_CAN1_Init(void) where i need to include ...

0690X000008BVmgQAG.png
Reshma by Associate II
  • 1509 Views
  • 7 replies
  • 0 kudos