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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 62 Views
  • 0 replies
  • 1 kudos

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
  • 1110 Views
  • 5 replies
  • 7 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
  • 825 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
  • 2810 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
  • 859 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
  • 1215 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
  • 1721 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CUBEMX can not be opened when connecting the network.

If I open cubemx using the terminal., I can find log messsge like: ThirdPartyUpdaterWithRetryManager:70 - Updater plugin not ready yet. [12/15]. Finally, cubemx reports IntegrityCheckThread:98 - exiting critical section [integrity check]. And It was ...

0693W00000WJzG1QAL.png 0693W00000WJzH9QAL.png
YZhao.4 by Associate II
  • 1637 Views
  • 2 replies
  • 0 kudos

How to use lwip + pppos with STM32F4 and CubeMx ?

Hi all,I'm currently working on a GPS tracker module with STM32F446RE. We have the whole GPS feature done but now we are trying to implement communication.When it comes to sending messages (SMS) or doing phone calls everything is fine. But now we wan...

YCARD by Associate
  • 5391 Views
  • 10 replies
  • 0 kudos

STM32F401 FT811-Q REG_ID 0x7C READING PROBLEM

I am trying to use STM32F401 and FT811. I still can't read REG_ID for about 1 month. I usually get values 0x42 and 0xFF when I try to read. As I do not have a Logic Analyzer, it is not possible for me to check the lines at the moment. I can't underst...

0693W00000WIvobQAD.png 0693W00000WIvoWQAT.png 0693W00000WIvoRQAT.png 0693W00000WIvoMQAT.png
MKoca.1 by Senior
  • 1161 Views
  • 3 replies
  • 0 kudos

Resolved! Separating Stack and Heap

I am using an STM32H7 (though this would apply to any other STM32 with different RAM sections) and want to put the Stack in the fast DTCMRAM section, while freeing up the D1RAM for the Heap.This did in fact work with the old toolchain of GPDSC, but n...

JRS by Associate III
  • 1927 Views
  • 5 replies
  • 1 kudos