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! Code regenerate settings for STM32CubeMX after adding a new Peripheral to prevent Multiple definition errors

I was given a code to add USB support to the firmware. I am using Stm32CubeMX to generated the boiler plate for the USB. I enabled the USB peripheral and reconfigure the clock setting and regenerate the code. When I try building the fresh project aft...

0693W00000VOXTNQA5.png
WIF by Associate II
  • 1118 Views
  • 2 replies
  • 0 kudos

Resolved! Adding Keil To Project Tools

Absolute Newbie here trying to do my first project. I haven't figured out how one gets to write their code and where. I take it we are to use Keil for that part and I do have it installed from other uC work a couple of years ago. Was this supposed to...

CM.2 by Associate II
  • 584 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeMX does not show Baud Rate for SPI2 for STM32F746VETx

I have used MX up to this point to configure my peripherals. Even though I've manually configured these for most of my career, I'd prefer to keep using MX for this project since it's been successful up to this point. For some reason it doesn't show m...

RBack.1 by Senior
  • 1407 Views
  • 2 replies
  • 0 kudos

Resolved! CubeMX 6.6.1 + STM32C0 package 1.0.0 incorrect config

When creating project using Board Selector, Nucleo-C031C6, the incorrect MCU pinout definition is created with two errors: I2C1 is activated and pins are assigned for it and USART1 is initialized using PB6&PB7 instead of USART2 with pins PA2&PA3,whic...

gbm by Principal
  • 1857 Views
  • 3 replies
  • 0 kudos

Resolved! Why is overrun flag set after transmitting in 1-wire (half duplex) UART mode using the standard CubeMX-code and HAL-functions?

I'm working with the "NUCLEO-U575ZI-Q" development board and I compile using STM32CubeIDE 1.6.1. I want to use pin PC10 as a 1-wire (half duplex) UART pin and I use CubeMX to generate code with the following settings:Mode: Singe Wire (Half-Duplex)Har...

arnold_w by Senior II
  • 1242 Views
  • 1 replies
  • 0 kudos

[Tutorial videos in STM32CubeMX] Your ideas are welcome

Around 40 tutorial videos are accessible from STM32CubeMX in Help menu/Tutorial videos since STM32CubeMX 6.0.0 release.All those videos intend to answer frequent STM32CubeMX users questions.It deals with various subjects such as FreeRTOS, DMA, GPIO, ...

How to detect when CDC device is not busy using STM32 USB stack

Using the STM32 USB stack in a project for the STM32 CubeMX IDE on a STM32L062 processor, there are issues with trying to get the CDC device to send data back up to the host at maximum throughput. If CDC_Transmit_FS() is called twice in a row, then t...

Eqqman by Associate III
  • 2741 Views
  • 5 replies
  • 0 kudos

Resolved! Cannot install X-CUBE-SMBUS extension to STM32CubeIDE

Hello-When using Cube and doing Help->Manage Embedded Software->ST Microelectronics, the X-CUBE-SMBUS package does not appear in the list, even when doing a refresh of available packages. I downloaded the archive from https://www.st.com/en/embedded-...

Eqqman by Associate III
  • 850 Views
  • 1 replies
  • 0 kudos

STM32F767 clock frequency configuration

Hi everyone,Using the STM32 -F767 board with freertos, and the CubeMX we are trying to change the clock speed via the clock configuration tab in order to lower the power consumption.After changing the HCLK to the desired speed (32MHz) or any other sp...

gsaru.1 by Associate II
  • 1653 Views
  • 3 replies
  • 0 kudos