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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 3944 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
  • 909 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
  • 609 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
  • 1131 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
  • 421 Views
  • 0 replies
  • 0 kudos