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

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
  • 2791 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
  • 1429 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
  • 696 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
  • 1220 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
  • 1751 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
  • 1322 Views
  • 3 replies
  • 0 kudos