STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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

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
  • 864 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
  • 1983 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
  • 991 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
  • 895 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
  • 3166 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
  • 632 Views
  • 1 replies
  • 0 kudos