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! USB Audio device on Nucleo F446-RE with CubeMX

Posted on April 14, 2017 at 22:44Tried to get this working, no success.HID is OK, virtual COM, MSD, everything works fine.Audio class is recognized as composite device only. I've connected USB DP, DM and GND only. VBUS sensing is OFF.  12 MHz extern...

Resolved! Need HELP :( A proven procedure (not trial and error) to add drivers to a core project created by MXCube.

I am designing a sensor board from scratch. It will be similar to evaluation board ..\STM32Cube\Repository\STM32Cube_FW_L4_V1.16.0\Projects\B-L475E-IOT01A.I have tried example projects, they work great. Since ST do not have .ioc files for the this bo...

0693W000007EXaIQAW.jpg 0693W000007EXtyQAG.jpg
Shaun.t by Associate III
  • 831 Views
  • 3 replies
  • 0 kudos

Updating DAC stm32f407 cubemx with timer interrupt went wrong

Hello, i am trying to add timer interrupt delay function to my DAC code shown bellow.At first i used CUBE MX to define dac and used HAL delay and it worked great as shownin the scope photo bellow.But then i tried to update the code with timer interru...

Nbkjh.1 by Associate II
  • 793 Views
  • 2 replies
  • 0 kudos

Resolved! I have a Discovery 32F412ZGT6 dev board and I'm trying to use the FSMC peripheral. The ioc file assigns pins PC11 and PC12 to D2 & D3 respectively. These pins are not available on the pin headers on the board and I cannot re-assign them.

So MX assigns the following pins for FSMCNWE -> PC2NOE -> PC5NE1 -> PD7RST -> PD11FMC addr A18 - PD13D0 -> PB14D1 -> PD15D2 -> PC11 (Assigned to micro sd card)D3 -> PC12 (Assigned of micro sd card)D4 -> PA2D5 -> PA3D6 -> PA4D7 -> PA5 Can you help wit...

EPate.1 by Associate
  • 725 Views
  • 2 replies
  • 0 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
  • 1702 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
  • 625 Views
  • 0 replies
  • 0 kudos