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

Stm32 + bare-metal + lwip + interrupt

Has anyone managed to use the lwIP Stack without an RTOS but still using it in an interrupt manner?As it is not allowed to choose interrupt mode while not configuring freeRTOS in CubeMX I assume that it is not possible using it that way.Thanks a lot ...

SoFa by Associate II
  • 2374 Views
  • 5 replies
  • 0 kudos

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
  • 922 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
  • 831 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
  • 969 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 ...