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! STM32F372/STM32F373 as a USB host

When I was going through the setup process of USB in STMcubeMX, I suspected that it could not be used as USB host.I would like to know if STM32F372/STM32F373 can be used as USB host. Can STM32F372/373 be used as USB host?

FLast.5 by Associate II
  • 1085 Views
  • 3 replies
  • 0 kudos

STM32CubeIDE - want create new C++ executable (File > New > STM32 Project), takes me to STM32CubeMX, after configuration, next step?

Requirement: I need to create a basic C++ project (into which I'll insert files from an embedded C++ project built for another platform, then begin port testing.) The specifics are using a STM32F051R8 with "LL" low level support, but I don't think my...

wb0gaz by Senior
  • 1867 Views
  • 3 replies
  • 0 kudos

After programming going to execute not happening. I normally keep the controller in boot mode and load the code either through serial port or USB depending on the controller. In this case it is 103C8 controller. I use STM CUBE Programmer.

I tick the "Run after programming" option. Normally this works fine. User code gets going after programming. I create projects using Cube MX. With latest Cube MX (Version 6.4.0) code, after programming control is not going to user code. I have to now...

How to receive SPI in Half-duplex-Mode?

Hallo,i dont unterstand how i can receive data in Spi Half-Duplex-Mode.My used Controller is STM32F446RET.STM32CubeMX is configured as followThats my Code: HAL_GPIO_WritePin(CS_GPIOxLib, CS_GPIO_PinLib, GPIO_PIN_RESET);           status = HAL_SPI_T...

0690X000006DN9cQAG.png 0690X000006DN9mQAG.png 0690X000006DNA1QAO.png 0690X000006DNAfQAO.png
mfrank9 by Associate III
  • 4979 Views
  • 5 replies
  • 0 kudos

Resolved! UART DMA not work with STM32F767ZI and STM32F745VE

Hi Team​UART DMA not works with STM32F767ZI and STM32F745VE.It does not transmit or receive data.​Testing same code with STM32F405 and STM32G474, UART DMA works fine.​Does anyone know why UART DMA doesn't work on STM32F?Is there anything to be care o...

0693W00000KaLImQAN.png
Kenji1 by Senior
  • 4237 Views
  • 10 replies
  • 1 kudos

Resolved! How to: CubeMX + FreeRTOS + CrossStudio

I am trying to add FreeRTOS support in an STM32CubeMX project, and import into Rowley CrossStudio.In CubeMX, I have tried all toolchains, and then import them into CrossStudio.But none of them works, and I get a ton of compiler errors.When generating...

KKjel.1 by Senior
  • 2485 Views
  • 11 replies
  • 0 kudos

Resolved! Bug Report on Code Generation for STM32H745 using STM32CubeMX V6.4.0

The PB7 pin is set as GPIO_EXTI7 and TIM17 is enabled for PWM output. In the generated code, the IRQ routine is generated wrongly as follow:void EXTI9_5_IRQHandler(void) { /* USER CODE BEGIN EXTI9_5_IRQn 0 */   /* USER CODE END EXTI9_5_IRQn 0 */ ...

PX by Associate II
  • 928 Views
  • 2 replies
  • 0 kudos

Resolved! Dear all, I use Cube Mx to generate code for good start and I made a project with STM32F745VETx. PD8 is set as EXTI8 and interrupt is activated. PE8 is defined as normal input.

When I generate the code, Cube MX generates interrupt handler for EXTI9_5 and it is like that: /* USER CODE END EXTI9_5_IRQn 0 */ HAL_GPIO_EXTI_IRQHandler(DIN2_Pin); /* USER CODE BEGIN EXTI9_5_IRQn 1 */DIN2_Pin actually corresponds to PE8 and it is n...

TA1 by Associate III
  • 1239 Views
  • 6 replies
  • 0 kudos