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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1273 Views
  • 0 replies
  • 2 kudos

Autogenerated files breaks the build.

After upgrading the IDE to version 1.5.1 within the eclipse IDE, the CubeMX built in tool auto generates this file. This conflicts with the one in src (same function is defined in both places). I had to temporarily exclude the folder from build for ...

0693W000008xsSnQAI.png
Ahmed by Associate III
  • 1809 Views
  • 3 replies
  • 0 kudos

STM32L412CBT6 vs STM32L412CBT6P - What is the difference?

Hi,I have the STM32L412CBT6 in a product and now discover that it is going obsolete.There is a STM32L412CBT6P version (Note the P at the end) that is available from the usual suppliers.What is the difference between these two parts?When looking at th...

NW27 by Associate III
  • 4132 Views
  • 8 replies
  • 0 kudos

RTC wakeup with CubeMX generated code does not work.

I have setup RTC wakeup functionality and generated code with CubeMX.The code does not work straight away, because imr1's mr20 in EXTI IMR1 register was not unmasked. I suppose this is a bug and should be handle by STM. It took some time to figure th...

SAkhi.951 by Associate III
  • 1462 Views
  • 2 replies
  • 0 kudos

Unable to use all 512KB RAM for FreeRTOS heap with STM32F767

CubeMX (currently 6.2) does not allow to enter more than 384KB (393216 bytes) for FreeRTOS TOTAL_HEAP_SIZE when using a STM32F767 (and maybe other F76x devices). This appears to be based on SRAM1 + SRAM2 size, but the first area of RAM, and where the...

IanG by Associate
  • 1163 Views
  • 0 replies
  • 0 kudos

I'm using stm32f407VET6 to work with ethernet using KSZ8895 ethernet switch. To generate the basic MII configuration I'm using STM32 cubeMX. While doing the Ping test I am getting the error 'Destination Host unreachable'.

 There is any issue while generating ethernet code using  STM32 cubeMX. The tool chain I am using is TrueStudio. Please help. lwip initialization code is below.void MX_LWIP_Init(void){IP_ADDRESS[0] = 192; IP_ADDRESS[1] = 168; IP_ADDRESS[2] = 100; I...

RJOY.1 by Associate III
  • 1854 Views
  • 0 replies
  • 0 kudos

Adding Keil MDK built library to the Cube project

I have a Keil MDK project which outputs a library mc_comms.lib. I have another Keil project which uses this library and there are any issues. My customer is using STM Cube and can't build the same test project with the same library. Here are the erro...

baruch by Associate II
  • 3479 Views
  • 7 replies
  • 0 kudos