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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 486 Views
  • 0 replies
  • 1 kudos

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

using HSI16 on STM32L431KCU generate incorrect baud rate

I am trying to use HSI16 on STM32L431KCU but the usart is not generating the correct baud rate. I can only get the correct baud rate if using MSI. I use CubeMX to generate my code from attached dmc300_l4.ioc. Below is the clock tree for usart1 and us...

0693W00000NpNZIQA3.png 0693W00000NpNaQQAV.png
KChen.10 by Associate
  • 905 Views
  • 3 replies
  • 0 kudos

Resolved! Whack a mole with MxCube interrupt configuration

I am programming on the STM32L4R9I-EVAL dev board, but my project is configuredfor the STM32L4S9AII6. I am clocked at 120MHz.I have been fighting the following bug off and on for about 3 months. I queried for help on this a couple months ago and thou...

0693W00000Np0phQAB.png
MFolk.1 by Senior
  • 1908 Views
  • 5 replies
  • 0 kudos

Resolved! CubeMX V6.5.0: bug in generated ethernetif.h file.

CubeMX version 6.5.0 generates the following line in <project>/LWIP/target/ethernetif.h:static void ethernetif_input(void const * argument);Previous version 6.4.0 generated this:void ethernetif_input(void const * argument);The 'static' storage class ...

Pls help to check my ADC DMA settings for NUCLEO-F767ZI

I would like to configure ADC1 and ADC2 as dual interleaved mode, for continues ADC conversion. And use DMA to transfer the converted data to RAM.The goal is to implement a continues ADC at the fastest sample rate with dual interleaved mode (4.5MSPS)...

0693W00000NpHFgQAN.png
SSong.3 by Associate
  • 551 Views
  • 0 replies
  • 0 kudos

CubeMX side by side install vs.firmware packages

I've installed STM32CubeH7 library 1.10.0 manually from github.I have CubeIDE 1.7 and CubeMX 6.3. Since they both do not understand STM32CubeH7 library version 1.10.0, I've installed CubeMX 6.5 side by side with v. 6.3.​The package manager of CubeMX ...

Pavel A. by Super User
  • 656 Views
  • 0 replies
  • 0 kudos

Resolved! Including FATFS with CubeMX breaks everything.

Using an stm32f105RBt6 : i have a working project with canbus and USBdevice.i have another working project with canbus and FAtFS(SPI-sd card)None of them work once i include FATfs+USBCDCdevicei dont know what to make up from this, last time i had a s...

0693W00000LzMWPQA3.png 0693W00000LzMTVQA3.png
Javier1 by Principal
  • 2066 Views
  • 7 replies
  • 0 kudos

Resolved! Creating basic program with STM32CubeMX for STM32G030F6P6 without any changes results in code executing with no source code

I created a project with STM32MXCube for the STM32G030F6P6. No changes to the settings. Generate code, run it in STM32CubeIDE in the debugger (STLINK). No changes to the generated code. It stops at main. If I single step it gets to the while(1) loop...

RLour.1 by Associate II
  • 2939 Views
  • 7 replies
  • 0 kudos