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

Resolved! STM32F303VB: ADC HAL.. not implemented?

Posted on June 01, 2017 at 13:47Hi,I'm using STM32CubeMX (STM32Cube_FW_F3_V1.8.0) to generate ADC HAL code for my custom board based on STM32F303VB.I see that ADC HAL is not implemented. Only API is givenIs it available in new releases (if any) ?Is ...

Prasant J by Associate III
  • 846 Views
  • 4 replies
  • 0 kudos

Bug: CDC_Control_FS() in usbd_cdc_if.c is empty

Posted on May 25, 2017 at 22:17I've experienced random and unexplainable problems with CDC communication over USB, while using CubeMX-generated code.The PC was always able to enumerate the COM port, but sometimes it was unable to open it, (Windows r...

0690X00000606zFQAQ.png
infor by Associate III
  • 1452 Views
  • 2 replies
  • 0 kudos

STM32F4 works twice as fast

Posted on May 25, 2017 at 13:10I use SW4STM32. I noticed that when I generate a project with SW4STM32, the speed of my STM32F401VBT6 is twice faster. For example, HAL_Delay(1000) actually awaits 500ms. USART1 transmits data on the speed 230400, alth...

Resolved! Can stm32F446 TIM2 run at 180Mhz

Posted on May 24, 2017 at 11:49Hi, I've got this from the F446 data sheet.I hope that I can run TIM2 at 180MhzHowever, it seems that APB1 peripheral CLK can only run at 90Mhz as the cubeMX indicates as followed:So can I really make TIM2 run at 180MH...

0690X00000602SQQAY.bmp 0690X00000602OjQAI.bmp
Zt Liu by Senior III
  • 1255 Views
  • 4 replies
  • 0 kudos

stm32f4CubeMx IAR ethernet + lwip project, eth receive problem

Posted on October 11, 2016 at 13:52Hi, I'm creating new project for CubeMx and using freeRtos and lwip. i was able to get eth tx workin(verified in tcpdump) dhcp request with correct mac. I was unable to get ethernet to react on receive -> there is...

teijo by Associate II
  • 799 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeMX 4.19.0 LWIP problem

Posted on February 02, 2017 at 11:28New version of STM32CubeMX 4.19.0 is giving the following error. what is the problem with LWIP version 2.0.0?#stm32cubemx-4.19.0-lwip-problem

0690X00000603XIQAY.jpg

STM32CubeMX disables SWD by default for F1

Posted on November 12, 2016 at 23:43I use STM32CubeMX 4.17.0. I create a new project and select any F1. Then, I generate a source code. In function HAL_MspInit() I see following lines:    /**DISABLE: JTAG-DP Disabled and SW-DP Disabled     */  __HAL...

CubeMX bug report: non-portable paths in .GPDSC files

Posted on August 02, 2016 at 18:11I'm using 4.16 on macOS, and noticed the .pdsc file is generated with non-portable, backslash windows path:      <files>        <file category=''header'' name=''\Users\ilg\STM32\STM32Cube\Repository\\STM32Cube_FW_F4...

CubeMX's UART can not receive and transmit at the same time

Posted on May 04, 2017 at 08:47CubeMX V1.12.0I write below code to receive one bye and one bye:HAL_UART_Receive_IT(&huart1, (T_U8*)&g_uart_receive_byte, 1);void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart){ if(huart == &huart1) { //get the byt...

hgyxbll by Associate II
  • 1033 Views
  • 2 replies
  • 0 kudos