STM32CubeMX (MCUs)

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! 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
  • 2033 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
  • 1017 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
  • 936 Views
  • 4 replies
  • 0 kudos

SAI I2S Mono Mode Not An Option

When using SAI for I2S, STM32CubeIDE does not give you the option to choose Mono mode. It's only option is Stereo Mode. However, STM32 SAI HAL supports both SAI_STEREOMODE as well as SAI_MONOMODE, so I think this should be an option.

SHamm.18 by Associate II
  • 3256 Views
  • 14 replies
  • 0 kudos

How to add core features of FreeRTOS

Hi everyone,Is there a preferred way of adding "core features" of FreeRTOS in a FreeRTOS application created by CubeMX? Do i have to add the respective files manually by copying them into my project?Unfortunately I found no built-in option in CubeMX....

CA_SUS by Associate II
  • 660 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX 6.4.0 STM32H750 Clock Issue

There seems to be a bug in the clock configuration for STM32H750XBHx. D1CPRE clock should be able to go up to 480MHz, but Cube won't take anything higher than 200MHz. HCLK is affected as well, can't set it to anything higher than 100MHzAndy

svcguy by Associate III
  • 1026 Views
  • 2 replies
  • 0 kudos

STM32 General Purpose Timer: Interrupt-Enable

Hello,on a STM32G474 I use "Basic timers" (TIM6, TIM7), as well as a "General Purpose Timer"(TIM4). For the "Basic Timers" I setup I2C devices an then enable the "Basic Timer"-Interrupt by calling HAL_TIM_Base_Start_IT . That works and the HAL_TIM_Pe...

0693W00000HoTzVQAV.png 0693W00000HoTzaQAF.png