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
  • 351 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
  • 1372 Views
  • 5 replies
  • 7 kudos

如何调整CubeMX的默认引脚

如题,在我使用H743XIH6时,我想使用FMC外设,但是我不太想用默认的PF0,PF1作为地址线,我想使用PG0、PG1作为地址线,但是我在MX中无法修改满足上述需求,在最后的代码生成中,他们是叠加在一起初始化的。而我取消PG0、PG1的话,则FMC外设也一起被取消了 

ALO9611_1-1724597444878.png
ALO9611 by Associate II
  • 1137 Views
  • 4 replies
  • 0 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
  • 2914 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
  • 3529 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
  • 1326 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
  • 1053 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
  • 1613 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
  • 1127 Views
  • 3 replies
  • 0 kudos