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

Resolved! Customizing STM32 output

Hello,I have seen that it is possible to use templates to modify the output code generated by STM32CubeMX. However, I'm having difficulty to get some examples.Also, I was wondering if with the help of templates the two following points can be achieve...

Sego2 by Associate III
  • 1552 Views
  • 5 replies
  • 0 kudos

How to add a "LAN8720" driver?

I have a ethernet module "LAN8720" and I have STM32H743VIT8. But MCU has only "LAN8742" driver. Is it possible to add the "LAN8720" driver to the list of drivers?

0693W00000GYGImQAP.png
DK.7 by Senior
  • 5967 Views
  • 6 replies
  • 0 kudos

user heap and stack will not fit in region RAM error.

in stm32cube mx settingsmin heap size = 0x200min stack size = 0x400i am using freertos v2 in my application memory management heap_4.How to solve this issue?/* ****************************************************************************** ** ** @file...

Bug in ADC initialisation code (CubeIDE / FW_L1)

I found this issue whilst troubleshooting a couple of other issues - device target is STM32L152REx using low-level (LL) libraries.CubeIDE Version: 1.9.0CubeMX Version: 6.5.0-RC4STM32Cube_FW_L1_V1.10.3If I use lots of ADC channels (22 in my case) the ...

JU by Associate III
  • 1550 Views
  • 5 replies
  • 0 kudos

STM32CubeMX 6.5 is crashing

STM32CubeMX version 6.5 is crashing on Fedora 34. This is also the case for everyone else on my team, who are also using Fedora 34. When it crashes, it also takes out Chrome and VS Code, if they are open. It generally happens when I am selecting diff...

SPetr.6 by Associate III
  • 425 Views
  • 0 replies
  • 0 kudos

Resolved! EXTI interrupt conflict

hey thereI have set a pin in CubeMX as EXTI, namely PA1. the thing is when I use HAL_GPIO_EXTI_Callback(),for performing interrupt actions, it does not enter to HAL_GPIO_EXTI_Callback() but if I use EXTI0_1_IRQHandler() which is in stm32g0xx_it.c, it...

Ala by Senior
  • 980 Views
  • 1 replies
  • 0 kudos

STM32L071 reading multiple ADC channels

Hello. We chose STM32L071 CPU without realising that it does not have Scan conversion mode for multiple ADC channels.Can someone confirm if it is possible to read multiple ADC channels using this CPU?Please suggest what is the most convenient way to ...

LPetr.1 by Senior II
  • 4598 Views
  • 13 replies
  • 0 kudos