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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

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
  • 759 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
  • 750 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
  • 699 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
  • 1643 Views
  • 6 replies
  • 0 kudos