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

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
  • 822 Views
  • 1 replies
  • 1 kudos

STM32G484, RS-485 and Modbus - how to configure in CubeMX???

When you configure a USART for the STM32G484 in CubeMX, it gives you a choice of RS485 or Modbus (but not both!). Yet, Modbus RTU runs *on top of* RS485, so this makes no sense. The Modbus configuration appears to put the MCU USART into half-duplex m...

ENovk.1 by Associate II
  • 4798 Views
  • 3 replies
  • 0 kudos

Resolved! How to use RAM_D1 with CubeMX and STM32CubeIDE?

I've implemented a hello world project, by just using the default settings with CubeMX for the NUCLEO-H723ZG board, then disabling ethernet and USB-to-go, and then adding a yellow LED blink code. Full project and generated code, for STM32CubeIDE:http...

0693W000008xxUeQAI.png
fb by Associate III
  • 2116 Views
  • 3 replies
  • 0 kudos

After CubeMx 6.2.0 upgrade and firmware to STM32F373VCTx also updated, my project presents error message after generating the code

After CubeMx 6.2.0 upgrade and firmware to STM32F373VCTx also updated, the CODE GENERATION of my project presents the message:"The Code is successfully generated under : (...)     but TrueSTUDIOproject generation have a problem."Compiling de project ...

AFerr.1 by Associate II
  • 2559 Views
  • 11 replies
  • 0 kudos

STM32H745ZI-Q cube support

Hi,Recently I got nucleo board with mentioned MCU. I've had numerous troubles with generating properly project and finding any sources how to flash the device so few things:Is CubeMX generating code properly for dual core for any toolchain? I've trie...