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! QSPI on the STM32G491KC

Does the STM32G491KC have Quad SPI capability? The documentation and product selector tools (on website and within Cube IDE) say that it does have QSPI, but when I try to configure it within the Cube IDE the options is grayed out with the message "Du...

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
  • 422 Views
  • 2 replies
  • 2 kudos

bug in FMC configuration of SDRAM in CubeMX 6.14

16bit SDRAM with 4 banks, 9bit column address, 13bit row should show as 32MB memory area,but it is shown as 16MB.You have to change column address bits to 10bit and back to 9 bits to set the value correctly (32MB).It is dangerous beacause code genera...

trzeci by Associate III
  • 328 Views
  • 3 replies
  • 1 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
  • 341 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
  • 3012 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
  • 272 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
  • 506 Views
  • 3 replies
  • 1 kudos