STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

Resolved! BUG in CubeMX code generation for STM32G050K6Tx

Enable both USART1 and USART2.The code generated for initialization of the GPIO looks like this:void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle) {   GPIO_InitTypeDef GPIO_InitStruct = {0}; RCC_PeriphCLKInitTypeDef PeriphClkInit = {0}; if(u...

Resolved! X-CUBE-IRREMOTE for stm32g030f6p6

 Hey,I am trying to include X-CUBE-IRREMOTE for stm32g030f6p6 but it doesnt show up in software packs in cubeMXif i try to manually install it it gives an error of invalid packet

Ashja .S by Associate II
  • 717 Views
  • 3 replies
  • 0 kudos

Resolved! Can't configure USB FS on STM32F429ZI

When I set up the USB_OTG_FS peripheral in CubeMX I get the following error: Looking at CubeMX I can't see anything wrong. The only thing I noticed is that I can't enable VBUS Sensing. The only option is "disabled". It has a pin assigned for it, the ...

0693W00000NqZGUQA3.png 0693W00000NqZGZQA3.png
qua by Associate III
  • 751 Views
  • 5 replies
  • 0 kudos

Resolved! LwIP problems from code generated via STM32CubeMX (SMT32H7)

Hello,I seem to be having some problems with the code generated via STM32CubeMX on the NUCLEO-H743ZI development board. I want to configure it to run on LwIP/RAW API. I can create such a configuration for its close relative: the NUCLEO F767ZI develop...

0690X000006C7VhQAK.png
KR1 by Associate III
  • 6123 Views
  • 23 replies
  • 1 kudos

LPTIM4 init stuck at REPOK on NUCLEO-U575ZI-Q

Hello together,Aim:Learn how to use the LPTIM on STM32CubeU5 low level device drivers, such that it consumes least possible energy.Write a program that blinks the on board red LED every 1 s (forground loop) using the interrupt mechanism of the LPTIM,...

NNir by Associate II
  • 1583 Views
  • 9 replies
  • 0 kudos

SPI "Receive Only Master" doesn't work with DMA

In STM32CubeMX, version 6.3.0, using STM32CubeF4 v1.25.2, when a SPI port is set to mode "Receive Only Master", it sets `hspi#.Init.Direction = SPI_DIRECTION_2LINES_RXONLY;` in generated code, as (I think) it should. However, the generated code doesn...

BMcDo.3 by Associate III
  • 1237 Views
  • 4 replies
  • 1 kudos

STM32CubeMX v.5.4.0 appears to have bug related to configuration of peripheral DMA without IRQs. Configuration is not restored properly when project is loaded from .ioc file.

Steps to reproduce:1. Configure peripheral, i.g. UART or SPI to work with DMA2. Go to NVIC Settings Tab at peripheral. By default all interrupts are enabled. Interrupts generated by peripheral itself can be disabled by unchecking respective checkboxI...