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! 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
  • 2119 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
  • 1378 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
  • 2838 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
  • 903 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
  • 1804 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
  • 3853 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
  • 1894 Views
  • 7 replies
  • 0 kudos

FreeRTOS + LwIP not working with last version of StmCubeMX

I am working with a STM32F429ZIT MCU based board with the LAN8742 interface and some LEDs. I am sure that the Hardware part works correctly because I use this card with a program made with STM32duinoI created a new project by changing only the follow...

MCord.3 by Associate
  • 936 Views
  • 1 replies
  • 0 kudos