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
  • 885 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
  • 1728 Views
  • 5 replies
  • 7 kudos

PWM configuration with CubeMx

Hello,I'm working with an STM32F401RE (on a Nucleo), and I have some problem with the TIMER frequency. a) The frequency APBx is 84Mhz, and I want a 500Hz PWM frequency on TIM3.I set prescaler to 167 (168-1) and period to 999 (1000-1), is it correct ?...

RStra by Associate III
  • 1829 Views
  • 6 replies
  • 0 kudos

V5.0.1 Import Bug?

It appears that v5.0.1 is assigning the wrong firmware package on import.I start a new CubeMX project using the MCU Selector and pick an F103c8. Then go to file->Import and select a .ioc for an existing f303 project. When I generated code for the bas...

stm32cubemx example code not able to receive

#include "main.h" #include "stm32f4xx_hal.h"   /* USER CODE BEGIN Includes */   /* USER CODE END Includes */   /* Private variables ---------------------------------------------------------*/ CAN_HandleTypeDef hcan1;   /* USER CODE BEGIN PV */ /* Pri...

kgedi by Associate II
  • 784 Views
  • 0 replies
  • 0 kudos

STM32CubeMX and B-L475E-IOT01A SPI2

I am using STM32CubeMX v5.0.1 on Windows10. I am trying to set up the B-L475E-IOT01A board's SPI2 port to communicate with a SPI based PMOD device. The user manual for the board shows SPI2 to be the port that connected to PMOD. STM32CubeMX will no...

ptracton by Associate II
  • 652 Views
  • 1 replies
  • 0 kudos

Settings lost when changing MCU

Hi,I am in the stage of porting an existing STM32F4 design to STM32CubeMX and in the future upgrade to a pin compatible STM32F7. STM32CubeMX seems to be a great tool with lot of potential but I have an issue when changing to a "Full Compatible" MCU u...

SAnde.12 by Associate
  • 510 Views
  • 0 replies
  • 1 kudos

Help establishing USART Receive Interrupt

We are using the NUCLEO-F091RC and need help establishing a working demo of a USART-Rx interrupt. We have put much effort into this with no success, here is the process we are at:   Demo Attempt Process:Open CubeMX->Board Selector->NUCLEO-F091RCDefau...

Justin1 by Senior
  • 513 Views
  • 1 replies
  • 0 kudos