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

Out-of-box Cube code generated for STM32F411-E DISCO doesn't run. Error_Handler triggered in clock configuration.

I've just switched to working on an STM32F411-E DIscovery. Starting a new project (STM32CubeIDE) and allowing it to populate the default peripheral config for the board is generating code that will not run (at least not for me).The clock configuratio...

YIzAKat by Associate II
  • 1303 Views
  • 6 replies
  • 0 kudos

Resolved! RTC not changing in Nucleo-F746ZG?

Hi - I have a Nucleo-F746ZG that I am configuring in CubeMX (version 6.2.1). When configuring it I am trying to only set up the RTC and UART3. UART3 is set up to print to the USB virtual COM port (and that works fine).In CubeMX, once I start a new pr...

TMeeh.1 by Associate II
  • 938 Views
  • 4 replies
  • 0 kudos

Resolved! How to generate PWM using STM32 Nucleo L433RC?

I have followed the ST tutorial on how to genterate a 1Hz PWM using timer, but for some reason its not blinking.I configured:1)Clock configuration to 8Mhz2)Set PWM genration channel 33)Set prescaler to 1274)Set ARR to 624995)Selected PWM mode 1 and m...

0693W00000Bc6snQAB.png
SJose.11 by Associate II
  • 5740 Views
  • 15 replies
  • 0 kudos

Setting up SPI of stm32f205 for ads1118

I am trying to set up SPI according to datasheet .Here is the datasheet recomendation:the pin that is connected to DRDY is the SPI MISO pin. But on CubeMX I can not change the GPIO mode. There is available only one mode: Alternate Function Push Pull....

0693W00000BcJLDQA3.png
Kolab by Senior
  • 1092 Views
  • 5 replies
  • 0 kudos

Resolved! STM32CubeIDE not generating GPIO initialization code for SPI

I am using a Nucleo H743ZI2 with the CubeIDE and while it does generate code to initialize the SPI peripheral itself, it does not generate code to configure GPIO pins as the SPI alternate function. This is despite the fact that the GPIO pins for SPI ...

JLesser by Associate
  • 1438 Views
  • 1 replies
  • 0 kudos