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

STM32CubeMX bug? STM32G474 HRTIM Timer_F tab could not be set any DMA Request Sources, on the other hand Timer_E tab got an error.

I am working with a STM32G474RE and I want to use HRTIM Timer F as PWM with DMA transfer.I used STM32CubeMX Ver.5.6.1 and CubeG4 FW V1.2.0 for generate simplest init. code, which would work only for HRTIM function for HRTIM Timer F.​here's my setup a...

0693W000000W3kGQAS.jpg 0693W000000W3kLQAS.jpg 0693W000000W3kVQAS.jpg

Resolved! EXTI Triggering itself

Hi,I am working on a custom board using the STM32F479NI.I have been able to use EXTI on the PC7 without problems.Now I need to implement it on PE2.But this time, the EXTI2_IRQHandler is being called over and over without any electrical changes on tha...

0693W000000W74EQAS.png 0693W000000W7ChQAK.png 0693W000000W74tQAC.png 0693W000000W74sQAC.png
AMass.1 by Associate II
  • 2574 Views
  • 9 replies
  • 0 kudos

[BUG] SD Driver 4Bit Mode no DMA use

Hello,i switch from 1bit mode to 4bit mode in cubeMX (latest version on linux) an the reading only works in debug mode, when i connect my board to only power it doesn't work anymore.In CubeMX under SDIO the DMA2_RX and DMA2_TX is set to stream3 and s...

GIkar by Associate III
  • 1933 Views
  • 8 replies
  • 0 kudos

CubeMX: 0-Pointer access in generated MX_ETH_Init code

Hi!I've opened an issue on Github for the STM32H7 Cube HAL:https://github.com/STMicroelectronics/STM32CubeH7/issues/33Because the bug is in the CubeMX generated code, I hope this is the right Forum to report the bug.Best regards,Thomas

mail_st by Associate II
  • 789 Views
  • 2 replies
  • 1 kudos

Failed to use STM32CubeMX+H743+SDMMC+DMA+FATFS

Hello. I am using CubeMX to generate project and code. Without using DMA I can write SD card successfully, while I enable DMA f_open will wait for 30 seconds ( timeout) and fail with an Error 1 output.The CubeMX project is in the attachment.I need yo...

wjiac.1 by Associate II
  • 789 Views
  • 3 replies
  • 0 kudos

USB_OTG_HS Mass storage using internal DMA does not work

Hi all,I am implementing Mass Storage class device with USB_OTG_HS. The implementation is configured from CubeMX and works perfectly until I enable USB_OTG_HS internal DMA. As soon I do this everythig stops, and no functions from usbd_storage_if.c ar...

DmRozhd by Associate III
  • 543 Views
  • 2 replies
  • 0 kudos

I am new of the bluetooth argument. My application is based on STM32F411. I need to communicate with an external HCI bluetooth board via UART, but I do not find the correct stack for doing that.

I try to configure my project by Cube MX enabling additional software X-CUBE-BLE2 as start point. When I try to compile I get the error "hci.h not found". I think something is missing, but all the code is Cube generated,Is there a ready to use HCI st...

GGuer.1 by Associate II
  • 818 Views
  • 5 replies
  • 0 kudos