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

STM32Cube Linked List generation issue

Hi all,I'm using STM32Cube IDE (version 1.13.1, build 17479_20230728_0839 ) to manage my company project based on a STM32U5 MCU.More specifically, I'm using linked list feature (for playing audio with SAI + DMA transfer) and I have noticed what appea...

fsorin by Associate II
  • 4674 Views
  • 10 replies
  • 9 kudos

Resolved! External Clock Configuration

Hi,I am using the STM32L031F6 MCU and have configured the internal clock, which is working properly. However, I need to configure the external clock. We observed a pin conflict when changing to the external clock configuration because we are using th...

Screenshot 2024-08-21 153259.png Anusree_k_0-1724255752629.png
Anusree_k by Associate II
  • 2172 Views
  • 5 replies
  • 3 kudos

Resolved! Bug found in CubeMX 6.12.0

Hi Testing CubeMX 6.12.0 and found a bug.  This may exist in other editions.   The code generator improperly places the user code comments in the final while(1) loop.  This causes MX (and its integration into IDE) to delete all user code.  While test...

ADC Clock and Conversion Time question

Hi, I'm giwon KIM in South Korea. I'm using NUCLEO-401RE board. In STM32F401RE datasheet and reference manual, It is said to be capable of operating at up to 30 MHz.So its conversion time was set by calculating (12+3) / 30 MHz = 500 nsec.I generated ...

giwonKIM_0-1724206009978.png
giwonKIM by Associate III
  • 2976 Views
  • 6 replies
  • 2 kudos

Resolved! I2C management STM32F407 + LSM6DSV16XTR + LIS2MDLTR

Hello,     I have a custom board with STM32F407 CPU,  LSM6DSV16XTR accelerometer+gyroscope and LIS2MDLTR magnetometer.I aim to get board inclination and the position of the north using the magnetometer for a telescope. Using CubeMX, I have enabled th...

MRaff.1 by Associate III
  • 1127 Views
  • 3 replies
  • 1 kudos

Resolved! Re: Help installing STM32CubeMX IDE

I am looking at the STM32G431K6T6 and on the web page:STM32G431K6 - Mainstream Arm Cortex-M4 MCU 170 MHz with 32 Kbytes of Flash memory, Math Accelerator, Medium Analog level integration - STMicroelectronicsIt has which package to download: STM32Cube...

JLIND.1 by Associate III
  • 873 Views
  • 2 replies
  • 1 kudos

Resolved! Wrong code generated on dual-core stm32h747, M4 side

I want to generate an interrupt on the rising edge of PI0 on the M4 CPU.Unfortunately, when I program the GPIO With ARM Cortex-M4 pin context assignment, the code generated is as follows in gpio.c: EXTI_InitStruct.Line_0_31 = LL_EXTI_LINE_0; EXTI_...

cberg.1 by Associate II
  • 1373 Views
  • 3 replies
  • 0 kudos

STM32U5A9J-DK / en.x-cube-gnss1

Hello dear community,I'm interested in the en.x-cube-gnss1 middleware package as I'm developping a solution based on a custom GPS module.For me, this ST package is a good starting point to write my own package. More over, I would want to use it with ...

image.png
PascalP by Associate II
  • 879 Views
  • 3 replies
  • 0 kudos