STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

Resolved! New STM32CubeMX has some major bugs ! (6.7.0)

Hello, Updated CubeMX as well as H7 libraries, and now see problems with clock configurator, as well as some LL function calls in system clock init has no definition !STM32H743XI should have 480MHz clock...  And if we generate code, we get problems ...

0693W00000WKgF6QAL.png 0693W00000WKgEwQAL.png
Linas L by Senior II
  • 1544 Views
  • 7 replies
  • 0 kudos

Resolved! Incorrect code generation

Hello,I've created a new project and it seems like code wasn't generated as it should.Modified only clock configuration and added FREERTOS to my project.I think here tasks should be started, instead I have duplicate for header:Is it normal, have I mi...

0693W00000WKa7zQAD.png
KWoźn.1 by Associate
  • 650 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE 1.11.0 and CMSIS V2

In a STM32 project using FREERTOS with CMSIS V2, there is not automatic generation of thread creation calls in main function, likedefaultTaskHandle = osThreadNew(StartDefaultTask, NULL, &defaultTask_attributes);Is it supposed to be the programmer who...

JCama.1 by Associate
  • 917 Views
  • 2 replies
  • 0 kudos

UART4 RX not working using Interrupt or DMA mode

I am using custom designed board having STM32H745BIT6 and 25MHz external crystal with LDO Only as Power Selection from RCC settings.I am trying to check UART4 with pins PC10 and PC11 and flow control disabled.So Transmission is working well using Pol...

NDham.11 by Associate II
  • 737 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H7 System Clock initialization error

STM32CubeIDEVersion: 1.9.0Build: 12015_20220302_0855 (UTC)Processor: STM32H7My issue is when i start debugging my project, it crashes while configuring my System Clock Config, but there is no real error. The debug just says "Target Lost" and tries to...

DFaul.2 by Associate
  • 3205 Views
  • 3 replies
  • 0 kudos

lwip tcp server implementation troubleshooting

void Tcp_Task(void const * argument)   {   /* USER CODE BEGIN Tcp_Task */   struct netconn *conn, *newconn;   err_t err, accept_err;   struct netbuf *buf;   void *data;   u16_t len;     LWIP_UNUSED_ARG(argument);   conn = netconn_new(...

0693W00000WKVIYQA5.png 0693W00000WKVIOQA5.png 0693W00000WKVHkQAP.png 0693W00000WKVHaQAP.png
ark2 by Associate III
  • 478 Views
  • 0 replies
  • 0 kudos

LWIP server recovery after cable unplug/replug

Hello!i am working with the STM32H747, i have a cubeMX generated project which uses LWIP for ETH connection and managment.I've encountered an issue - i have a LWIP tcp server, which connect clients and runs properly. when i disconnect the ethernet ca...

yuri CH by Senior
  • 1711 Views
  • 3 replies
  • 0 kudos

Report files generation (pdf and txt) from command line

Hello everyone.Is there a way to generate the report files (pdf and txt) from command line in CubeMX?I run STM32CubeMX in command-line mode getting commands from a script,but I didn't find any commands about report generation in the command line summ...

STomm.2 by Associate
  • 471 Views
  • 0 replies
  • 0 kudos

Bug in STM32CubeIDE/MX RCC clock config? Generated code trying to init LSE but I don't have an LSE nor is there one configured in the clock tree.

Using an STM32L562Q part: configured the clock tree to use LSI, MSI, and HSI48 internal clocks. Odd that RCC_OscInitStruct.OscillatorType = 0x3CCode generator is setting RCC_OSCILLATORTYPE_LSE as one of clocks to init but I don't have an external L...

Grizz by Associate III
  • 865 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeMX fails to generate a project for STM32CubeIDE.

Hello everyone. For some days I have been trying to solve a problem that occurs in CubeMX when generating the code for STM32CubeIDE. I state the following:1) The error occurs both when starting from a new project (from STM32CubeMX or STM32CubeIDE) an...

STomm.2 by Associate
  • 1015 Views
  • 1 replies
  • 0 kudos