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
  • 838 Views
  • 5 replies
  • 7 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
  • 1578 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
  • 2731 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
  • 1515 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
  • 3007 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
  • 958 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
  • 2004 Views
  • 3 replies
  • 0 kudos

whats the use of PPS pin (ETH_pps_out) in Ethernet

Hi all,I'm working on Ethernet interface with STM32F417, I Generate the code by cubeMx for Ethernet stack (lwip).I want to know whats the use of PPS (ETH_pps_out - PB5) in ethernet because neither this pin is connected with phy nor ethernet port rf45...

VChau by Associate II
  • 4238 Views
  • 2 replies
  • 1 kudos

MPU G0+

Hi community. I am planning to use memory protection unit (MPU) in my project. My MCU is STM32G031K8 but I cannot find how to activate this function with CubeMX. I would want to do the same as this example;https://community.st.com/s/article/how-to-co...

OAgui.1 by Associate II
  • 2081 Views
  • 7 replies
  • 0 kudos