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.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
  • 854 Views
  • 5 replies
  • 7 kudos

STM32L071 reading multiple ADC channels

Hello. We chose STM32L071 CPU without realising that it does not have Scan conversion mode for multiple ADC channels.Can someone confirm if it is possible to read multiple ADC channels using this CPU?Please suggest what is the most convenient way to ...

LPetr.1 by Senior II
  • 4505 Views
  • 13 replies
  • 0 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
  • 1061 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
  • 739 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
  • 1273 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
  • 488 Views
  • 0 replies
  • 0 kudos