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

Custom board with STM32G431 behaves weird

I've done a simple board with a STM32G431, the idea is to be a remote control that drives an infrared led. It has 8 buttons and the MCU should sleep until a button is pressed, then transmit the code and sleep again.Right now I'm just trying to make t...

0693W00000NsneZQAR.png
BRapo.1 by Associate II
  • 935 Views
  • 1 replies
  • 0 kudos

What fastest way to change the size of the DMA addressed by a peripheral. In particular the DAC? Stopping and starting the DAC using HAL_DAC_Stop_DMA and HAL_DAC_Start_DMA with a new Data Length takes up a lot of cycles if I use the CubeMX functions. I

I tried DMA_SetConfig after __HAL_DMA_DISABLE and clearly it is not enough.Incidentally my intention is not change the size of the DMA allocated area - rather the size of this region accessed by a peripheral

Documentation for ST scheduler

HelloFor a project that I am working on I need a simple scheduler, a full RTOS is more complex than I need. My first idea was to build one myself but I noticed that when using STM32Cube to generate code to for example run bluetooth a scheduler is inc...

OTern.1 by Associate
  • 907 Views
  • 1 replies
  • 0 kudos

I can't generate code from stm32cubemx

The first time I generate code, it works.But by the second time I clicked the GENERATE CODE, the progress bar is not moving anymore after 'generating user source code'.I have tried to remove the file '.mxproject' , but it didn't work. The Application...

0693W00000NsliKQAR.png
Lkid by Associate
  • 704 Views
  • 2 replies
  • 0 kudos

how to stop output compare channel at only 8 pulses?

I have used output compare to send data at two pins simultaneously. the data is variable. however, I need only 8 clk pulses and on each rising and falling pulse edge data transfer to the output pin.I am unable to stop pulses and data at only 8 edges ...

0693W00000NsrrhQAB.png 0693W00000NsrpbQAB.png 0693W00000NsrpgQAB.png 0693W00000NsrwXQAR.png
SAMIN.1 by Associate III
  • 413 Views
  • 0 replies
  • 0 kudos

Resolved! Is the STM32H747 code directly portable to the STM32H757?

I'm using the STM32H757i Eval board. In STMCube repository for H7 v1.10.0, there is not a project folder for the STM32H757i eval board. I'd like to use the BSP LED/Touch drivers from the STM32H747i-EVAL project found in the cubeMX repository and pote...

jmorganj by Associate III
  • 635 Views
  • 1 replies
  • 0 kudos

Resolved! The instructions in UM1718 Rev 37 Chapter 15, page 292 compatible processors is running for 4 hours and is only 50% done.

I have STM32CubeIDE 1.9.0 and I am editing the .ioc. In the Pinout & Configuration Tab I right click and select List Pinout Compatible MCUsIt starts runningand running and running. Last night I let it run all night and it said it was 8% and there was...