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

I have encountered an exception in CubeMX 6.2.0 migrating a project for STM32L4R7ZI CubeMX finishes the migration. the IOC file is modified. The tool seems to operate normally. If I choose "generate code" the tool crashes. What can I do to bypass this?

Java console output excerpt. 2021-03-31 17:06:02,953 [INFO] CodeEngine:229 - oldGeneratedFile, C:\Projekte\ST_IDE_15\eifel\Core\Src\spi.c_save2021-03-31 17:06:03,015 [ERROR] runtime:60 - Error executing FreeMarker templateFreeMarker template error:Th...

CubeMX code not working with USB

Hello!I have project created with CubeMX. I coded a lot there and then I wanted to add a USB CDC device with CubeMX. After code generation I compiled the project and I got an error message:../Inc/usb_device.h:61:22: fatal error: usbd_def.h: No such f...

Resolved! CubeMX - search for alternative pins does not work

In CubeMX version 6.20, board Nucleo-H743ZI2: I want to find alternatives for SPI1_MOSI. Default is PD7 but all examples use PA7.So I ctrl/click on PD7 and expect that CubeMX will show me PA7. But it does not.Well maybe it finds it, but does not show...

Pavel A. by Super User
  • 1100 Views
  • 5 replies
  • 0 kudos

How to compile and run in a single command? Keil Bug?

All I want to do is make a change to the code and then compile and run on the target without the debugger, ideally with a simple keyboard shortcut.Simple example using the ST NUCLEO-F030R8 board and a Keil project auto-generated using ST's STM32CubeM...

When I have the MX program set up CAN1 on my STM32F446 Nucleo-64 the generated code fails to initialize with the default values from MX.

it generates the following init using the default parameters:static void MX_CAN1_Init(void) {   /* USER CODE BEGIN CAN1_Init 0 */   /* USER CODE END CAN1_Init 0 */   /* USER CODE BEGIN CAN1_Init 1 */   /* USER CODE END CAN1_Init 1 */ hcan1....

Resolved! STM32Cubemx and datasheet pin description mismatch!

Hello, I am an engineer working at Desird Arge Design. I had a problem with the STM32G031F6P6 processor. I think there is an error while selecting the timer channels in the STM32 Cubemx application. According to the datasheet description, TIM1; It in...

SDura.2 by Associate
  • 771 Views
  • 1 replies
  • 1 kudos