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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1560 Views
  • 0 replies
  • 2 kudos

Resolved! Compile error in OctoSPI on STM32H733

Hello,when generating code from CubeMX for STM32H733ZGTx setting PB13 as OCTOSPIM_P1_IO2, the following code is output:GPIO_InitStruct.Alternate = GPIO_AF4_OCTOSPIM;This won't compile as the correct definition is GPIO_AF4_OCTOSPIM_P1CubeMX v. 6.1.1FW...

CubeMX BUG STM32H7 VREFBUF

STM32CubeMX Version: 6.1.0-RC2 Build: 20201112-1557 (UTC)STM32CubeIDE Version: 1.5.0 Build: 8698_20201117_1050 (UTC) CubeMX generated code missing clock enable command before VREFBUF configuration.cube configuration: Generated code:missing "__HAL_RCC...

0693W000007ErlaQAC.jpg 0693W000007Erm9QAC.jpg

How to set up SPI? STM32h743ZI

I'm still beginner to programming STM32. I haven't been able to configure SPI for two weeks and don't understand what I am doing wrong. I dug up all the forums looking for an answer, but nothing helped to solve my problem. I checked the MOSI and SCK ...

VVlas.1 by Associate II
  • 3474 Views
  • 6 replies
  • 0 kudos

I am using STM32F779I-EVAL board.In this board UART, CAN is working fine. but the ethernet is not woring . I have configured lwip and wants to ping board from PC. but " destination host unreachable " message i am getting.

I have configured the board as mentioned below and written code in STM32CUBEIDE 1.4. PC IP ADRRESS : 192.168.0.14stm board ip : 192.168.0.10subnet mask : 255.255.255.0Default Gateway : 192.168.0.1and used a direct cross ethernet cable. if anyone know...

Rkant.1 by Associate
  • 1471 Views
  • 0 replies
  • 0 kudos

STM32CubeMX STM32H7 Ethernet MAC Initialization is Broken

STM32Cube MX Version 6.1.1, STM32Cube MCU Package for STM32H7 Series V1.8.0eth.c is generated with the following code. It sets the MAC address assuming it is an array of bytes./* ETH init function */ void MX_ETH_Init(void) {   heth.Instance = ETH;...

ADunc.1 by Senior II
  • 1397 Views
  • 0 replies
  • 2 kudos

CubeMX is replacing FatFS's ff.h

According to this pull request, FatFS with DMA doesn't work on H7/F7 if cache is enabled.For this, two members in structs (in FatFS) needs to be aligned (even, when I have _MAX_SS as number dividable by 32) to FatFS work (check PR). But, the CubeMX e...