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
  • 744 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
  • 1623 Views
  • 5 replies
  • 7 kudos

RTC wake up counter setting for STM32Cube LL library

We have set the RTC wakeup counter with STM32Cube.We can found the wakeup counter value is 1023 for HAL library.But we didn't found the wakeup value setting for LL library.How do we set the wakeup counter value with LL library?  /** Enable the Wake...

I am using stm32f476ZET6 controller. i am use external crystal and internal we use PLL divider but i facing issue regarding PLL clock is not work properly.

i set system clock 216 Mhz but it is not properly workalso i test same thing set as 54Mhz but same issue faced.kindly suggest us how to solve this issue/** * @brief System Clock Configuration * @retval None */void SystemClock_Config(void){ RCC_OscIni...

0693W000003QQGYQA4.png
Hiren by Associate III
  • 835 Views
  • 0 replies
  • 0 kudos

Resolved! SDIO on STM32F769i Discovery

Dear all,I am having a problem with SDIO (SDMMC2) interface on STM32F769i Discovery. I use the DMA-based SDIO, CubeMX (v5.6.1) to generate the codes. Also freeRTOS enabled. After I called "BSP_SD_WriteBlocks_DMA(aTxBuffer, BLOCK_START_ADDR, NUM_OF_BL...

0693W000002lEQFQA2.png
Sfu.1 by Associate II
  • 1072 Views
  • 2 replies
  • 0 kudos

Resolved! CubeMX Generating wrong GPIO configuration code for Input Capture

Hi,Beforehand, let me tell you my setup:Board selected on CubeMX: STM32L100C-DISCO.Input Capture with TIM2, Channel 2, Pin A1.​I've been working on a project where I have to measure frequency, so I setted up the Input Capture on Timer 2 as in the Pic...

0693W000002liQjQAI.png 0693W000002liQtQAI.png
VLe R.1 by Associate II
  • 1353 Views
  • 2 replies
  • 0 kudos

Hard fault in Reset_Handler()

We are seeing intermittent hard faults on our custom STM32F413 board when connected with ST-Link V2.The hard fault happens in Reset_Handler() when FLASH contents are copied to SRAM.Obviously this happens long before any of our code is executed.Reset_...

Acarr.1 by Associate
  • 770 Views
  • 1 replies
  • 0 kudos