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

tooltips in .ioc file view disappear or appear randomly

When having those yellow /!\-info icons beside entries, like in the picture below,it is hard to catch them by hovering over them. They pop up too short to read them. (macOS BigSur in this case, Apple mouse) How can I read what's in there?

Resolved! Bug STM32L452CEU6 Internal WakeUp using RTC using CubeMX

Hi AllI switched form a STM32L412CBU6 to a STM32L452CEU6 MCU and created therefore a new project. The enable of the Internal Wakeup with RTC is not generated anymore into the rtc.c file using CubeMX Version 6.6.1. (I'm using the option seperte .c/.h ...

michi_22 by Associate
  • 753 Views
  • 2 replies
  • 0 kudos

Resolved! [STM32F446xxx] Synchronise 6 PWM outputs

Hello,I try to synchronise 6 PWM outputs for an BLDC controller.I use 3 timers :My target is STM32F446RET6 and I'm using STM32CubeIDE.I read that I add to use master/slave mode. I'm not sure it is the best way, but I configured TIM2 (slave) as follow...

0693W00000WHjN3QAL.png 0693W00000WHjXRQA1.png 0693W00000WHjQvQAL.png
VGros.3 by Associate III
  • 878 Views
  • 2 replies
  • 0 kudos

RTC reading wrong value on STM32L4

Hi. I am using STM32L412KB for my application and internal RTC for maintaining time. I get epoch time over UART and then I call the following function to set the time.void set_rtc_time(time_t epoch_time) { rtc_time = epoch_time; struct tm *ti...

SBhon.1 by Associate III
  • 899 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeMX V6.6.1 HAL driver crashes, LL interface works

This is my first STM32 project and I am using an STM32F030C6T as a MODBUS slave device. I used the STM32CubeMX V6.6.1 to create a project template and STM32CubeIDE Version: 1.10.1 Build: 12716_20220707_0928 (UTC), along with an STlink interface.When ...

0693W00000VOIHgQAP.png 0693W00000VOIIjQAP.png
RMurt.3 by Associate III
  • 2464 Views
  • 9 replies
  • 0 kudos

STM32G4 comparator output can‘t disable the PWM outputs when I want to use the fault protection mechanism。Is there something wrong in STM32CubeIDE configuration?

I tried to do a lot of changes of configuration,but it didn’t work. when I use comparator output as FLT input pin,fault protection works,however it‘s used as FLT_Int signal,it always doesn’t work.Hope your kind help,Thanks!

0693W00000AOITxQAP.jpg 0693W00000AOITsQAP.jpg 0693W00000AOITiQAP.jpg 0693W00000AOITYQA5.jpg
lshan.1 by Associate II
  • 905 Views
  • 1 replies
  • 0 kudos

Resolved! Is there a bug in auto-generated CubeMX code that means DMA channels are not configured correctly for UARTS in STM32F407?

CubeMX (version 6.6.1 and others) generates this code. /* Initialize all configured peripherals */ MX_GPIO_Init(); MX_USART3_UART_Init(); MX_I2C1_Init(); MX_UART4_Init(); MX_UART5_Init(); MX_USART1_UART_Init(); MX_DMA_Init(); MX_USAR...

REdmo.1 by Associate III
  • 820 Views
  • 2 replies
  • 0 kudos

Resolved! NUCLEO-U575ZI-Q boad - CubeMX Conflicts in default project

New to STM32. I've ordered a NUCLEO-U575ZI-Q development board and have been playing with CubeMX in preparation for board arrival. In creating a project for the board I'm starting the project using the board selector and selecting the NUCLEO-U575Z...

ShawnP by Associate III
  • 1043 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX: problem when using "user constant" for FreeRTOS parameters

Hi,I'm using CubeIDE: V1.10.1 (CubeMX v6.6.1).To configure my project in (internal) CubeMX, I have created a "user constant":Name: USER_01Value: 7In FreeFRTOS Config parameters -> LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY,I have entered this "USER_01" W...

0693W00000UoBf0QAF.png 0693W00000UoBfFQAV.png 0693W00000UoBfjQAF.png
Syn_BE by Associate III
  • 1036 Views
  • 2 replies
  • 1 kudos