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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 382 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1386 Views
  • 5 replies
  • 7 kudos

Reduce FMC consumption current

I am using stm32l496, I want to use external memory CY62157EV30L, so I enable FMC in the CubeMx, but when I compile and run the project, a lot of current is consumed, about 4 mA, only with MX_FMC_Init(). how can I reduce this current?HCLK is 2 MHz.I ...

alianvari by Associate III
  • 3600 Views
  • 10 replies
  • 0 kudos

What determines polarity of PWM?

I am finding the documentation to be very difficult to parse through and had a few questions: I have PWM set up using TIM2 and one on TIM1. There are no interrupts. I initialized it using CubeMX. Based on my understanding I expect that the output...

SWenn.1 by Senior III
  • 6893 Views
  • 5 replies
  • 0 kudos

Resolved! STM32CubeIDE generates a main.c with confusing comments?

It is not realy a bug as the code works fine even if any comment is placed at a wrong line but comments should make life easier.Steps done to generate a main.c with STM32CubeIDE 1.7.0:New STM32 projectselected a NUCLEO-F44rRE board and chose default...

landydoc by Associate
  • 1016 Views
  • 1 replies
  • 0 kudos

Resolved! NAND flash fmc cube parameteres

Hey guys.Im using MT29F1G08 as an external flash. I want to use fmc and cubemx as a code generator.I cant find some of he timings in the datasheet and Im a bit confused.We have a lot of setup time in the datasheet and i dont know which one is it.And ...

0693W00000FBI2RQAX.png

STM32H743ZI SPI Clock enhancement options

Hi ST Support,I have an STM32H743ZI and use SPI4 for the SPI communication.I have generated the Project from the Cube MX and configured an SPI clock of 50Mhz, But on the Logic analyzer captures, I can see only the clock of 25Mhz. We are trying to int...

VKast.2 by Associate II
  • 1418 Views
  • 6 replies
  • 0 kudos