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

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
  • 2102 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
  • 732 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
  • 718 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
  • 1336 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
  • 1566 Views
  • 7 replies
  • 0 kudos