STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.14.1 released

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

STM32F302C8T6: CubeMX generated custom HID can only receive two packets if "USBD_CUSTOM_HID_SendReport" is used to send data back

I have a custom board with STM32F302C8T6. I generated a custom HID project by CubeMX(STM32Cube_FW_F3_V1.11.3), and found that only two packets could be received if "USBD_CUSTOM_HID_SendReport" is used to send data back to host.Here are some more deta...

14545714 by Associate II
  • 1002 Views
  • 2 replies
  • 1 kudos

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
  • 923 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
  • 1006 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
  • 7643 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
  • 2041 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
  • 1841 Views
  • 4 replies
  • 1 kudos