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

Sd card checkbox under FatFs is grayed out in STM32Cube IDE

I'm trying to set up FatFs to interface with an SD card over SPI. I know SDIO is faster, but my breakout board for the SD card only breaks out the pins nessesary for SPI. In the microcontroller configuration section of the STM32Cube IDE (what you get...

mcook.1 by Associate
  • 1454 Views
  • 3 replies
  • 1 kudos

Resolved! STM32F413VG TIM1 PWM generation trouble

I am having trouble getting the TIM1 timer on the STM32F413VG chip to output PWM to pin PE9. My configuration and code in STM32CubeIDE can be seen in the attached images. Have I done something wrong? Every example I have found out there skips TIM1 an...

0693W00000HrJccQAF.png 0693W00000HrJcXQAV.png 0693W00000HrJcNQAV.png
eidetech by Associate II
  • 1204 Views
  • 7 replies
  • 0 kudos

Changing duty cycle via DMA

Hi,I want to send via DMA different duty cycle to my TIM12 (I am trying to turn on a rgb led strip by using the method TIM+DMA ), but with CubeMx TIM12 don't have access to any DMA, any idea how I can reproduce?I am using STM32H7B3 and can't change t...

aabba.1 by Associate III
  • 427 Views
  • 1 replies
  • 0 kudos

How to set 80MHZ frequency of SPI4 of STM32h745Kii

Hello I am working on stm32h745 controller, I am configuring the DAC SPI . For the DAC minimum frequency is 80 MHz. I want to set that frequency for SPI4 , but uanble to set how I can set the 80 Mhz frequency to SPI4. How can I set that if I set th...

0693W00000WI0IJQA1.png
MDeva.1 by Associate II
  • 677 Views
  • 2 replies
  • 0 kudos

MDK-ARM V5 generator uses the wrong line endings(CRLF and not LF)

I've beenm struggling against some issues related to line-ending (CRLF vs LF) and git repos shared between different developers.And I discovered that MDK-ARM V5 generator in STM32CubeMX 6.6.1 under Windows generates the uvprojx file with the wrong li...

vix by Associate II
  • 1108 Views
  • 1 replies
  • 0 kudos

Cube Interrupts and C++

I am trying to port C libraries I made using LL Libraries generated from STM32CubeMX to C++ under STM32CubeIDE and I am looking for advice on how to accomplish the following:I Created and object wich uses USART_LL Libraries and wanted to have somethi...

VLe R.1 by Associate II
  • 1501 Views
  • 3 replies
  • 1 kudos

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
  • 721 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
  • 839 Views
  • 2 replies
  • 0 kudos