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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Resolved! LwIP problems from code generated via STM32CubeMX (SMT32H7)

Hello,I seem to be having some problems with the code generated via STM32CubeMX on the NUCLEO-H743ZI development board. I want to configure it to run on LwIP/RAW API. I can create such a configuration for its close relative: the NUCLEO F767ZI develop...

0690X000006C7VhQAK.png
KR1 by Associate III
  • 9178 Views
  • 23 replies
  • 1 kudos

LPTIM4 init stuck at REPOK on NUCLEO-U575ZI-Q

Hello together,Aim:Learn how to use the LPTIM on STM32CubeU5 low level device drivers, such that it consumes least possible energy.Write a program that blinks the on board red LED every 1 s (forground loop) using the interrupt mechanism of the LPTIM,...

NNir by Associate II
  • 2311 Views
  • 9 replies
  • 0 kudos

SPI "Receive Only Master" doesn't work with DMA

In STM32CubeMX, version 6.3.0, using STM32CubeF4 v1.25.2, when a SPI port is set to mode "Receive Only Master", it sets `hspi#.Init.Direction = SPI_DIRECTION_2LINES_RXONLY;` in generated code, as (I think) it should. However, the generated code doesn...

BMcDo.3 by Associate III
  • 2363 Views
  • 4 replies
  • 1 kudos

STM32CubeMX v.5.4.0 appears to have bug related to configuration of peripheral DMA without IRQs. Configuration is not restored properly when project is loaded from .ioc file.

Steps to reproduce:1. Configure peripheral, i.g. UART or SPI to work with DMA2. Go to NVIC Settings Tab at peripheral. By default all interrupts are enabled. Interrupts generated by peripheral itself can be disabled by unchecking respective checkboxI...

Resolved! CubeMX: how to get data when callback is called?

Hi,I'm trying to read data from the SPDIF-input of the STM32F466 using the CubeMX-generated code. The idea is to get one interrupt/callback for every pair of audio samples which arrive. This looks good so far, there is a function HAL_SPDIFRX_RxCpltCa...

Resolved! Nucleo-L5 SDMMC peripheral unable to run with HAL, SDMMC, FATFS

Goal: Create a filesystem on SD-card with the SDMMC-interface.The guide here (which should not differ for this MCU) features DMA-settings, which the L5 does not have. It seems as if a bunch of functionality is missing. Why can't I enable DMA for the ...

0693W00000Npz5kQAB.png
JTedot by Associate II
  • 1560 Views
  • 4 replies
  • 0 kudos

STM32CubeMX support for EEPROM emulation

Posted on June 13, 2018 at 18:09https://community.st.com/tags♯/?tags=stm32cubemx.‌https://community.st.com/tags♯/?tags=eeprom%20emulationI'm adding emulated EEPROM support to a project that is being built with the STM32F429ZITx processor.   I am a...