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! the Pinout and Configuration .ioc is wrong

I have been using STM32F767zi for long time.I know some of the pin feature by heart.Last night, I enabled ETH for a moment and to see what pin it uses, then I disable it and then all the chaos happened.I realized that many of frequently used USART 2,...

Wai Siang by Associate III
  • 1766 Views
  • 2 replies
  • 1 kudos

Resolved! Why is I2S Frequency in Clock Configuration so high?

Hi STM community!I am new to STM microcontrollers and this is my first post :)My board is a tiny STM42F401CCU6 @ 84MHz. I already have made some first steps with CubeMX and CubeIDE, after I came from the arduino IDE which was a bit too simple (readin...

Stipe_0-1721847172491.png
Stipe by Associate II
  • 1288 Views
  • 1 replies
  • 3 kudos

Resolved! STPackCreator Insert Code Snippets into main.c

Hi all!Thanks again for the help so far.Just another question, is it possible (or normal?) when creating a pack to have it insert snippets of code into main.c just like the code snippets that get inserted by the cube when you change peripherals etc? ...

pywtk by Associate II
  • 635 Views
  • 1 replies
  • 0 kudos

ethernet lwip re initialize at run time

im using stm32h743zi2 ethernet with udp . so i generated code and running in Kiel and ping working fine . BUT  how to  i re initialize lwip at run time .i tried to reinitialize at run time but the ping is stopping after reinitializing . any body does...

SITARAM by Associate III
  • 979 Views
  • 2 replies
  • 0 kudos

Resolved! about STM32 clock config

hello,I have a very simple question, I have asked a FAE,but not solved.I am using STM32CubeMX to config a project. I used an external 32.768khz crystal. I want to set the RTC clock to the external crystal. below is my setting.I think i have enabled H...

dqsh06_0-1721636102046.png dqsh06_1-1721636238355.png
dqsh06 by Associate III
  • 1570 Views
  • 7 replies
  • 2 kudos

[BUG] STM32 lwIP Ethernet driver Tx deadlock

This bug is present in ethernetif.c files for lwIP generated by CubeMX for the newer reworked ETH drivers.ProblemWhen using CMSIS-RTOSv2, CubeMX generates the following code in the function low_level_output(): pbuf_ref(p); HAL_ETH_Transmit_IT(&heth, ...

Piranha by Chief II
  • 21802 Views
  • 27 replies
  • 7 kudos