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
  • 953 Views
  • 5 replies
  • 7 kudos

Resolved! Error in adc.c generated by STM32Cube FW_G4 V1.5.2

Hi all,just found an error preventing the adc from working properly when the driver is generated by STM32Cube FW_G4 V1.5.2 (and 1.5.1).there are some missing lines like this one:sConfig.Channel = ADC_CHANNEL_2; you can compare my 2 attached files to ...

Yves Bmnt by Associate III
  • 2090 Views
  • 4 replies
  • 2 kudos

Null Packet Size is not visible in CubeMX Gui

HiI think I found a small bug.I copied the settings from one project to another. After that I did a diff to show if I'm missed to change some value. And one variable was missing, so I checked double to find the variable in the GUI, but I did not foun...

Burst_withNullPacketSize_iocNotepad.png Burst_withoutNullPacketSize_GUI.png nonBurst_withNullPacketSize.png
nobody by Associate II
  • 1181 Views
  • 3 replies
  • 0 kudos

Resolved! CubeMX does not fit the new cmsis v6 on Keil.

CMSIS need to be updated to the new version.The version 6 changes some register name in header file.(Drivers\CMSIS\Core\Include\core_cm4.h  etc.)Tested on MCU package F3 v1.11.4 and G0 v1.6.2. Guessing all MCU package using CMSIS v5.0.3. 

Zack by Associate II
  • 1901 Views
  • 3 replies
  • 0 kudos

QSPI and SBSFU MPU issue

I have modified the SBSFU for STM32G4 to use external flash. I have firmware updates working, but when i turn on SFU_MPU_PROTECT_ENABLE, I get a 'SFU_EXCPT_MEMORY_FAULT' at the following line within HAL_QSPI_Init(), where the QSPI registers are modif...

Resolved! Setting up a multichannel ADC with DMA

Hello.Recently I've been trying to set up a multichannel ADC. The data of both channels are supposed to be transfered to memory through DMA. I've looked through many examples, read many discussions but none of them addressed my issue. In my CubeIDE C...

BuderBrodas_0-1709288023676.png