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! STM32cubeIDE + Segger embOS package: CodeGeneration with "Generate peripherial initalization as pair of '.c/.h' files"

Hi,not sure if this is an question regarding ST or Segger, but i will start here:Problem:New Project (my example uses the Nucleo-H723ZG board) with SEGGER_I-CUBE-embOS software package included (like from the wiki.segger.com under Using_I-CUBE-embOS_...

MHoh.1 by Associate
  • 862 Views
  • 1 replies
  • 0 kudos

Resolved! legacy interrupt handlers in cubemx 6.6.0

I'm trying to get into UART interrupt. It used to be copying the 'weak' function declaration and declare our own in main such as:main() { .... void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) {     // usr code here   } .... }  However, this ap...

ksale.1 by Senior
  • 2080 Views
  • 13 replies
  • 0 kudos

STM32F767 USB OTG. USB device not recognized, error 2B (43).

I'm using Nucleo F767ZI. I'm running the default program composed by CubeMX (all is up to date).No errors in the MCU side (USB init etc.)I also define 3 UARTS (3, 4 and 7), I2C1, SPI3, DAC, ADC3. No conflicts.Heap 0x1000. Stack: 0x600.Clock: HSE Bypa...

ONach.1 by Associate
  • 1175 Views
  • 3 replies
  • 0 kudos

Resolved! Issues with code generation for DFSDM peripheral - a) a variable is declared twice b) an initialization sequence is executed in wrong order

The attached simple project contains an ioc-files where the DFSDM peripheral is configured: channel 0 and channel 1; filter 0 for channel 0 and filter 1 for channel 1. In addition i have configured TIM6; but that's not relevant for the issue. This al...

MJord by Associate
  • 1078 Views
  • 1 replies
  • 0 kudos

Resolved! USART2 on STM32L431 does not support parity with CubeMx

Hello I'm using a stm32L431. here the documentation :https://www.st.com/en/microcontrollers-microprocessors/stm32l4x1.html#documentationHSI is enabled at 16MHz for USART2, used to receive a 1200Bd signal (7bit data + even parity + 1 stop).I receive w...

0693W00000QNIhrQAH.png 0693W00000QNIiLQAX.png
po221 by Senior
  • 2047 Views
  • 8 replies
  • 0 kudos

STM32CubeMX how to change stack/heap memory size

Hello. I would like to understand a little bit more about the minimum stack and minimum heap parameters on the cube mx: I use stm32cubemx and stm32cubeIDE1.How can I see what is total available heap and stack memory2.Currently, I use Build Analyzer i...

0693W00000QNHo8QAH.png 0693W00000QNHowQAH.png 0693W00000QNHrHQAX.png 0693W00000QNHzGQAX.png
LPetr.1 by Senior II
  • 6246 Views
  • 4 replies
  • 3 kudos

cubeIDE shows: undefined reference to `MX_FREERTOS_Init()' if peripheral initialisation is generated as .c/.h files

As a project expands, scolling down the main.cpp file is slowing me down. So I wished to break down the main.cpp by selecting "Generate peripheral initialisation as a pair of '.c/.h'files" inside the ioc file-> project manager -> Code Generation ->Ge...

xlin.1 by Associate II
  • 3611 Views
  • 5 replies
  • 1 kudos