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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 900 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1742 Views
  • 5 replies
  • 7 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
  • 3709 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
  • 1391 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
  • 1111 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
  • 1699 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
  • 1219 Views
  • 3 replies
  • 0 kudos