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
  • 442 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
  • 1435 Views
  • 5 replies
  • 7 kudos

Resolved! Purpose of FSMC_NL pin and How to enable

HI,I am working on STM32F413zh and i am trying to enable FSMC_NL gpio pin. I dont't know what is the purpose and how to enable this pin in STM32cubeMX. Please give me the support.Thankyou.

AFaya.1 by Associate III
  • 1436 Views
  • 2 replies
  • 0 kudos

Resolved! Setting up ADC1 on STM32U585QII

Hello,I'm using StmCubeMX 6.5.0 with StmCubeIDE 1,9.0.I'm trying to set up ADC1 channel 7 (PA2 pin) in polling mode on STM32U585QII device.HAL_ADC_GetValue is always returning 0 while it should return something else.Below is a simple main function:in...

MApli.1 by Associate II
  • 3959 Views
  • 12 replies
  • 2 kudos

STMHAL STM32L152RETx - If you use TIM2 as the timebase source, it will assert in HAL_NVIC_SetPriority() due to uwTickPrio not being set in the TIM2 version of HAL_InitTick()

I set TIM2 as the timebase and then enabled full hal assertion via STM32cube. It asserted in ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:197Stack trace:Thread #1 (Suspended : Signal : SIGINT:Interrupt) assert_failed() at main.c:455 0...

Resolved! RCC is Partly disabled conflict with USART2

Sorry for my silly questions ,but i am having a hard time understanding the exclamation marks in cubeMX .if somebody could please guide me here .it will be much appreciated.Example:the RCC is shown as partically disabled.i have use LSE (crystal/ cera...

0693W00000NpgxKQAR.png 0693W00000Nph1uQAB.png
Douma.1 by Associate II
  • 5859 Views
  • 4 replies
  • 1 kudos

SERIOUS Problem with clock configuration STM32L051K6U6TR

Hi community,I have a serious problem with this microcontroller STM32L051K6U6TR. I have created a code using STM32CubeIDE and based on STM32CubMX wizard creator, however, the clock is set up to match the microcontroller & its peripherals (USART, I2C,...

0693W00000Lz4roQAB.png 0693W00000Lz4tBQAR.png
EBdhaifi by Associate II
  • 2872 Views
  • 9 replies
  • 0 kudos