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.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
  • 802 Views
  • 5 replies
  • 7 kudos

SetupSTM32CubeMX-6.5.0 installer for macOS

I downloaded the SetupSTM32CubeMX-6.5.0 installer and its folder for macOS.The installation of STM32CubeMX with macOS 12.2.1 (Monterey) is not allowed even following the terminal command: sudo xattr -cr ~/SetupSTM32CubeMX-6.5.0.app.I think there is a...

HAL_FLASHEx_Erase returns HAL_Error only when TIM16 is activated in CubeMX. TIM16 is set up for 1Mhz PWM CH1. I am attempting to write to internal flash and have no issues until TIM16 is activated.

Additional Information:STM32WB55The PSC is set to 0the ARR is set to 31The pulse is set to 15The problem starts when writing to internal flash after FLASHEx_Erase runs while TIM16 is activated. I tested the speeds for the given PSC, ARR and pulse, an...

TDudl.1 by Associate II
  • 1622 Views
  • 4 replies
  • 0 kudos

Resolved! STM32H7B0VB Max Clock

Hi, I'm trying to configure my stm32h7b0vb for max clock (280Mhz), but max freq on DIVN1 is 420Mhz, and DIVP1 is 2 (min val). Therefore I only reach 210Mhz

0693W00000Kbff4QAB.png
MMira.4 by Associate II
  • 4195 Views
  • 3 replies
  • 0 kudos

Some problems with STM32Cube after updating software

Hello,I haven't used STM32Cube for a long time because I was busy with other things.For software and hardware development I use STM32Cube under Linux and the board NUCLEO-H743ZI2 as hardware platform.Since I wanted to create an project from scratch, ...

Resolved! FDCAN config issues with STM32H747I-EVAL board

Hello dear community,This is my first post here and I am coming to you for help.In the context of a project with a STM32H747I-EVAL board (this board was lent to me and I notice that it doesn't seem to be sold anymore), I need to send/receive CAN mess...

Pampah by Associate
  • 1038 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F372/STM32F373 as a USB host

When I was going through the setup process of USB in STMcubeMX, I suspected that it could not be used as USB host.I would like to know if STM32F372/STM32F373 can be used as USB host. Can STM32F372/373 be used as USB host?

FLast.5 by Associate II
  • 1220 Views
  • 3 replies
  • 0 kudos

STM32CubeIDE - want create new C++ executable (File > New > STM32 Project), takes me to STM32CubeMX, after configuration, next step?

Requirement: I need to create a basic C++ project (into which I'll insert files from an embedded C++ project built for another platform, then begin port testing.) The specifics are using a STM32F051R8 with "LL" low level support, but I don't think my...

wb0gaz by Senior
  • 1996 Views
  • 3 replies
  • 0 kudos

After programming going to execute not happening. I normally keep the controller in boot mode and load the code either through serial port or USB depending on the controller. In this case it is 103C8 controller. I use STM CUBE Programmer.

I tick the "Run after programming" option. Normally this works fine. User code gets going after programming. I create projects using Cube MX. With latest Cube MX (Version 6.4.0) code, after programming control is not going to user code. I have to now...