STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.12.0 released

We are pleased to announce you that the official release of STM32CubeMX V6.12.0 is available. What is new in STM32CubeMX V6.12.0?New MCUs/MPUs series : STM32WB0 ,STM32MP25XX and STM32C071XXAdd support new CPNs STM32G4: Add support STM32G4 'Z’ and STM...

Resolved! [Bug for MPU LL code generation for H755]

I am using CubeIDE Version: 1.6.0 Build: 9614_20210223_1703 (UTC) to initialise the MPU as it is done for the TCP_Echoserver, however the LL resulting code does not set the LL_MPU_TEX_LEVEL1 bit for the second regionGenerated code:/* MPU Configuratio...

0693W000008w0bjQAA.png
Marco.D by Associate II
  • 551 Views
  • 4 replies
  • 0 kudos

Resolved! STM32CubeL4 v1.17.1 OSPI Delay Block Bypass Problem

The latest versions of the STM32CubeL4 drivers (1.17.1) and CubeMX (6.5.0) introduce two bugs related to the OSPI and Delay Block Bypass.In stm32l4xx_hal_ospi.c line 383, the MODIFY_REG macro no long clears the DLYBYP bit. It also fails to set it acc...

ebray by Associate II
  • 648 Views
  • 3 replies
  • 0 kudos

Resolved! [STM32L151] STM32CUBEIDE 1.9.0, FW_L1 V1.10.3 SPI1 and SPI2 are missing options to set Clock Polarity (CPOL) and Clock Phase (CPHA)

 I was able to resolve by adding to SPI2_Init  /* USER CODE BEGIN SPI2_Init 1 */ hspi2.Init.CLKPolarity = SPI_POLARITY_HIGH; hspi2.Init.CLKPhase = SPI_PHASE_2EDGE;But STM32CubeIDE 1.8.0 with same version FW_L1 V1.10.3 does have the options as below ...

0693W00000NpjEqQAJ.png 0693W00000NpjhnQAB.png

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
  • 320 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
  • 400 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
  • 319 Views
  • 2 replies
  • 0 kudos