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! ADC Clock Setting in ST Cube MX for STM32H742VGT

Dear all, I used STM323H742VGT in one of my cards and I would like to configure it with ST Cube MX V6.5.0. According to the reference manual ADC clock source and pre-scaler can be set using ADCx_CCR register.I would like to use asynchronous clock sou...

TA1 by Associate III
  • 2065 Views
  • 4 replies
  • 0 kudos

Resolved! Bug in STM32CubeMX for H753 ADC and work-around.

I have problems porting a H743Zi2 code to a H753. When using the .ioc file editor with the ADC the option to set the ADC clock prescalar is not present for the H753. It is there for the H743. The coeersponding line in the main.c code is not present e...

HWhit.1 by Associate III
  • 828 Views
  • 2 replies
  • 0 kudos

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
  • 1204 Views
  • 3 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
  • 1209 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 II
  • 930 Views
  • 1 replies
  • 0 kudos