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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Resolved! STM32F411CE USB CDC BlackPill

I have a blackpill board with STM32F411 48 pins IC and CubeMX/CubeIDE at lastest versions. The USB is configured as device CDC, no Vbus.​When I flash the board with generated code ​and plug USB in Windows 10 I get an error "invalid device descriptor"...

LPrat.3 by Associate II
  • 2710 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F4 + CubeMX, USB CDC + MSC = is it possible?

Hi,I'm using STM32F407VG on STM32F4 DISC board and CubeMX. I want to have USB in CDC and MSC mode, but I can't find how to configure it in this mode. Is it possible to do using CubeMX?If not, can I do it using HAL? Thanks!

bmak by Senior
  • 1403 Views
  • 4 replies
  • 1 kudos

Hi, i am working on STM32L073 controller. I am using USB interface to communicate between host (docklight in my case) and controller. I am facing issue related to endianness here.

following packet i am sending from host to controller-02 01 00 02 01 02 03 04 00 01 00(first two bytes are packet type)-controller is expecting that value as 0x0102 but due to endianness mismatch when sent as 0x0102 its interpreted as 0x0201.so every...

BChav.1 by Associate III
  • 670 Views
  • 1 replies
  • 0 kudos

Resolved! STM32H735G-DK ADC accuracy

Hello. I'm using the STM32H735G-DK and I run into a problem when using the ADC, so I made a very short CubeMX project to check this.I started with a CubeMX configured board with no peripheral default initialisation.Then I ticked ADC1 IN0. So by defau...

akbjk.1 by Associate II
  • 1201 Views
  • 3 replies
  • 0 kudos

Unable to debug unmanaged makefile project

We have a project created in CubeMX (inside CubeIDE) and developed in CubeIDE. Everything works fine.However, we wanted to use a Makefile so we could have the same build process on our CI server and within CubeIDE.So we now generated a Makefile from ...

FS.1 by Associate III
  • 1708 Views
  • 5 replies
  • 0 kudos

I2C2 conflict with CAN2

Hello, I am going to use CAN1, CAN2 and I2C1, I2C2. As the attached picture shows, the I2C2 has a conflict with CAN2. IS there any way to fix it? I have to use both CAN modules and two I2C's. Thank you.

NASI by Senior
  • 1282 Views
  • 3 replies
  • 0 kudos

STM32CubeMX version 4.7.0

Hi everyone. I'm facing some issues trying to open a project created in CubeMX version 4.7.0. Once the project was not created by me, I don't want to migrate it to a newer version (and if I do, which I had already done, I get some errors in some of t...