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

About build error in STM32G4 using STM32-MAT

I am trying to STM32G4 with STM32-MAT.After setting the setting I want to use to STM32CubeMX, when I set HRTimer Config on Simulink and created the code, it stopped with the error "Undefined identifier hrtim_adc_trigger3_value_init".I don't know whic...

The STM32Cube IDE appears to generate misleading code (EXTI12) for what should be EXTI2 (pin is named PMOD-IRQ_EXTI2 according to the Users Manual) on the B-L4S5I-IOT01A board (probably a typo?)

EXTI12 implies that the ARM external interrupt that is triggered is EXTI15_10_IRQn, when actually this pin triggers the EXTI2 interrupt. I think the issue is with the STM32Cube IDE code generator for this particular family of boards. (I tried to us...

MNeed.1 by Associate
  • 632 Views
  • 2 replies
  • 1 kudos

Resolved! STM32H SAI setting for 8-PDM microphones

I would like to know how we can configure STM32H7's SAI(s) for 8-PDM microphone inputs (LR * 4 pairs). (16kHz sampling rate).It seems MX allows us 6 mic with SAI1 and 2 mics with SAI4 but I'm not sure how we can set SAI1/4 exactliy for 8 mics (synchr...

YKiku.2 by Associate
  • 1542 Views
  • 1 replies
  • 0 kudos

I am creating a codes from STM32CubeMx. Every code generated from the CubeMx (6.2.1) is going in hard fault when I open in CubeIde (Ver 1.6.1). I could not understand where is the problem?

Request cumunity member to guide on this topic. I am unable to download any single code which is generated from the CubeMx for Cubeide. Each generated code is going in hard fault.Please tell me the issue and suggest correct way if I am doing any mist...

DSaha.3 by Associate II
  • 2134 Views
  • 12 replies
  • 0 kudos

STM32F407G RTC & SD Card(SPI) Not working simultaneously

Hello,I am developing a board based on STM32F407G (Disc1) Where I am connecting an SD-Card over the SPI to store some data in the file on SD card. I am configuring internal RTC for the time tracking, On internal clock, a 16x2 LCD connected via 4-bit ...

DParm.1 by Associate II
  • 1160 Views
  • 4 replies
  • 0 kudos

Heap_x.c file not in GPDSC file generated by STM32CubeMX

Hi, I've generated a project using STM32CubeMX for the STM32G030C8Tx and I've included FREERTOS. The heap_x file is not listed in the GPDSC file. I think this is a bug, note someone else appears to have had the same issue here: Topic: Error undefined...