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

STM32G4 CubeMX SystemClock_Config() generation error ?

I generate a LL code with STM32CubeMx 6.4 for STM32G491.In SystemClock_Config() I get LL_RCC_SetSysClkSource (LL_RCC_SYS_CLKSOURCE_PLL) ; LL_RCC_SetAHBPrescaler (LL_RCC_SYSCLK_DIV_2) ; /* Wait till System clock is ready */ while (LL_RCC_GetSy...

timer with STM32L010c6tx (mikroseconds)

I am using STM32L010c6tx processor I need Microseconds function. How can I do it using a timer? https://www.youtube.com/watch?v=SqC0IhLKJ9o&ab_channel=ControllersTech I did as it shows in the video but the program didn't work. Most likely APB2, presc...

ZKURT.1 by Senior
  • 917 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F4 HAL I2C Driver Address Problem

I have a problem of the HAL Driver function HAL_I2C_Master_Transmit's parameter 'DevAddress'. It says that the device 7 bits address value in datasheet must be shifted to the left before calling the interface, that is, if I want to transmit to a devi...

Resolved! STM32L4R5ZI gets stuck after initializing I2C

Hello and Thank youI'm starting with I2C on STM32L4R5ZI and I can't get it to work.I'm generating a very simple project for the Nucleo board in CubeIDE.I have only initialize the parameters in CubeIDE, and when I try to run it the red LED ligths up a...

DMart.16 by Associate II
  • 2100 Views
  • 9 replies
  • 0 kudos

Resolved! Two different I2C bus do not work together

Hi!I use two I2C device on two different bus (I2C1 and I2C2) on a STM32G07B1 MCU.The two bus works very well, if I use only one in my code.But if I would like to use all of two, then it will go to HardFault from "__HAL_I2C_GET_FLAG".I use the polling...

0693W00000HohBeQAJ.png 0693W00000HohCIQAZ.png
TKota.3 by Associate
  • 1063 Views
  • 2 replies
  • 0 kudos

Unable to set up SPI between 2 stm32 devices

I am trying to get 2 stm32f411's to communicate via SPI. From my understanding, there should be 1 master device while the others should be its slaves. For my master device, I am using full-duplex master and I have disabled NSS and enabled the NSS pin...

0693W00000Hoa0tQAB.png 0693W00000Hoa1DQAR.png 0693W00000Hoa3nQAB.png
JTurn.2 by Senior
  • 967 Views
  • 4 replies
  • 0 kudos