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

MX_FMC_Init() Causes a Hard Fault on NUCLEO-L552ZE-Q

Hello everyone,I was wondering what might be the reason for the MX_FMC_Init() function to cause a Hard Fault on the NUCLEO-L552ZE-Q. The code was generated for MDK-ARM IDE by CubeMX 6.4.0 and latest firmware package for that series. Right now, the NU...

Zaher by Senior II
  • 1097 Views
  • 3 replies
  • 0 kudos

stm32f413 Clock configuration problem

After setting RCC and Clock configuration as below, if you run the program, it moves to Error_Handler.​ECS-250-10-33B and ECS-327-34B ​​What is the problem?​​​

0693W00000LyOn6QAF.png 0693W00000LyOnBQAV.png
superK by Associate II
  • 762 Views
  • 1 replies
  • 0 kudos

Using STM32F072B-Disco as keyboard

I am trying to us my STM32F072B-Disco board as an HID keyboard. I've followed tutorials like this one, (https://www.instructables.com/STM32-As-HID-USB-Keyboard-STM32-Tutorials/) that have gotten the transmission of characters to work, but only partia...

0693W00000LxVfSQAV.jpg
rosschm by Associate
  • 1302 Views
  • 1 replies
  • 0 kudos

trying to interface stm32g4 with adxl345 . my connection with i2c is established(led on). but not getting values when debugged and checked

 if(HAL_I2C_IsDeviceReady(&hi2c1,0xA6,3,100)==HAL_OK)   {      HAL_GPIO_WritePin(GPIOA,GPIO_PIN_5,GPIO_PIN_SET);      HAL_Delay(500);      HAL_GPIO_WritePin(GPIOA,GPIO_PIN_5,GPIO_PIN_RESET);      HAL_Delay(500);   }   DATA_BUFF[0]=0x2D; //addr of POW...

ssib9 by Associate II
  • 508 Views
  • 0 replies
  • 0 kudos