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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Resolved! EXTI interrupt conflict

hey thereI have set a pin in CubeMX as EXTI, namely PA1. the thing is when I use HAL_GPIO_EXTI_Callback(),for performing interrupt actions, it does not enter to HAL_GPIO_EXTI_Callback() but if I use EXTI0_1_IRQHandler() which is in stm32g0xx_it.c, it...

Ala by Senior
  • 712 Views
  • 1 replies
  • 0 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
  • 3793 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
  • 876 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
  • 592 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
  • 1104 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
  • 408 Views
  • 0 replies
  • 0 kudos