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

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 558 Views
  • 5 replies
  • 6 kudos

Resolved! Why can't I get the SPI clock to idle low

I'm working on a STM32H755ZIQ.  I am setting up a SPI master, with CPol= 0, CPha = 1, accordingly I need the clock to be low when inactive.  Additionally I want the clock to be low when idling, even when the SPI is not active. To achieve this, I have...

TomC1_0-1742391694539.png TomC1_1-1742391813142.png TomC1_2-1742391925483.png
TomC1 by Associate III
  • 774 Views
  • 2 replies
  • 2 kudos

CubeMX 6.14 migration bug

CubeMX upgrade 6.13 -> 6.14left in linker script following configuration:_estack = ORIGIN(RAM_D1) + LENGTH(RAM_D1); /* end of RAM */MEMORY{/* Start MX regions */DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128KFLASH (rx) : ORIGIN = 0x08000000, LENGT...

trzeci by Associate III
  • 464 Views
  • 2 replies
  • 0 kudos

Why HAL DMA functions are not working?

Hello Guys,I am trying to read data via I2C bus using HAL_I2C_Master_Receive_DMA and HAL_I2C_Mem_Read_DMA, but both are not workingIf I use HAL_I2C_Master_Receive it is workingI tried to manually disable and then re-enable DMA channel used by setting...

TurboSlow by Associate II
  • 3431 Views
  • 12 replies
  • 2 kudos

4-wire JTAG and EXTI4 on the F405RG

Hi,I am designing a custom board with a STM32F405RGTv being flashed by a FT2232 over the 4-wire JTAG protocol, where the FT2232 chip triggers the STM RESET line as needed.  This circuit has been verified in my previous designs.  However this new boar...

Jack1221 by Associate II
  • 378 Views
  • 1 replies
  • 0 kudos

Resolved! USB_OTG_FS and USART1 Async on same board

Hi! I'm using an STM32F401RET6 and was planning on using both USART1 in Asynchronous mode and USB_OTG_FS peripherals.In STM32CubeIDE when they are configured at the same time there is an error. I've tried PA9/10 and PB6/7 for TX/RX for USART1 but the...

jlaufer_0-1742146271064.png
jlaufer by Associate III
  • 689 Views
  • 3 replies
  • 1 kudos

Resolved! STM32G0B1 NRST not pinned?

Hi, Not sure if this is an issue or if I'm missing something.Shouldn't the processors reset-pin be pinned by default even though it allows for alternative functions?Maybe this is a non issue, but I feel like the reset pin is somewhat critical. 

XD_0-1742131303016.png
XD by Associate III
  • 401 Views
  • 1 replies
  • 1 kudos

STM32N657-DK

I just started working with the STM32N6570-DK and tried a simple blink the LED example based on the "How to create an STM32N6 FSBL load and run" article.  I selected the Initialize with default parameters option and without touching any configuration...

john-6 by Associate II
  • 469 Views
  • 0 replies
  • 0 kudos

Resolved! Freertos semaphore not initialised correctly by CubeMX

By setting up a new project in STM32CubeMX 6.10.0, when adding a Semaphore in FREERTOS, the generated code is not correct, and the binary semaphores are initialised in a Taken state ( initial_count=0 of osSemaphoreNew() )  - resulting in the fact tha...

An error occured while generate NetXDuo Code

 I make a new product with NetXDuo for STM32H743.But, it is included error code in RTE_Components.h RTE_Components.h (A project)/* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __R...