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

Resolved! about enabling peripheral in STM32CubeMx

When enabling a peripheral in STM32CubeMx (switch from disable to enable) Does this mean that its clock wil be activated in the program after generating the initialization code for a given IDE and we don't need to insert the   __HAL_RCC_peripheral_CL...

I want to know why it stops with HardFault_Handler.

HelloIt may stop with the interrupt routine of HardFault_Handler.MCU: STM32F446VCTxTools: CubeMXIDE: IAR Embedded Workbench IDEThis routine is in stm32f4xx_it.c.void HardFault_Handler(void) { /* USER CODE BEGIN HardFault_IRQn 0 */   /* USER CODE ...

koeda by Associate
  • 937 Views
  • 2 replies
  • 0 kudos

Bug: STM32CubeMX code generation for TrueStudio

Posted on February 15, 2018 at 04:53STM32CubeMX Version: 4.24.0Target MCU: STM32F103RFTx LQFP64Target IDE: Atollic TrueStudioSteps to reproduce: Start with a valid, working .ioc fileSelect Save and Generate CodeThe first time, it successfully gener...

STM32CubeMX: Linker script for STM32L433CB

HiI used STM32CubeMX (4.27.0) to generate the files for the STM32L433CB and noticed that in the link script (STM32L433CB_FLASH.ld) the memories are incomplete (RAM2 "is" in RAM).I checked the examples of STM32Cube_FW_L4_V1.13.0 (NUCLEO-L433RC-P) and ...

CSant.17 by Associate
  • 843 Views
  • 3 replies
  • 0 kudos

[CUBEMX][BUG REPORT] RTC_init /*USER CODE*/

Hi,Since cubeMX 4.27, in the function of MX_RTC_Init() there are no more  /* USER CODE BEGIN RTC_Init X */ to add code.We need this to add test is there is an external battery to save the calendar.Regards,Sébastien

COSEBE by Senior
  • 999 Views
  • 7 replies
  • 0 kudos

Working with the STSPIN32F0

I'm starting a project working with hoverboard motors and came across this MCU+gate driver combination. How would I go about programming this? I cannot see this chip in CubeMX.

STM32 L476RG: DMA + SDMMC: SDMMC Timeout after Write

Posted on September 04, 2017 at 12:58I'm trying to get the DMA + SDMMC to write to an SD Card using the HAL_SD_WriteBlocks_DMA() function. After I call the function, the HAL_DMA_GetState() function never returns HAL_DMA_STATE_READY, and the same is ...

How to correctly synchronize timer with ADC

Hello everyone,I have problem with my univeristy project and I'm trying to find some help.I'm using Nucleo64 STM32F411RE.The most important setting in CubeMX:In ADC every rank have 3 cycles, and Rank 1-4 Channel 10, Rank 5-8 Channel 11, Rank 9-12 Cha...

0690X000006CL5mQAG.png 0690X000006CL5rQAG.png 0690X000006CL5wQAG.png