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

How to swap pins in STM32CubeMX v5?

Hi,I have a STM32F042F4Px. I would like to swap PA9/10 to PA11/12, but I'm having a hard time finding the option to do that in STM32CubeMX v5. This option still exists? Regards,Helder

Resolved! STM32CubeMX 5.1.0 RS485 Issue

Hiwith STM32CubeMX 5.1.0 on STM32F746BGTx there is an issue when I enable RS485.Cube doesn't genrate all funtions related to RS485, for example the main inizialization function HAL_RS485Ex_Init is not present in the code generated by Cuce.Attached th...

Resolved! Bug STMF1x CubeMX I2C Slave Address

When setting the primary slave address for I2C in cubeMX for the STM32F1xxThe generated code will be the address * 2. This created address is incorrect. The address should not be multiplied by 2.for example: Set I2c Slave address to 0x50Generated cod...

neovius by Associate
  • 1165 Views
  • 3 replies
  • 0 kudos

STM32CubeMX USB Mass Storage template

Hi all, I'm trying to set-up a simple USB read/write on our STM32F746G-Disco board using the FullSpeed OTG... but so far it seems that the code generated by CubeMX does not really work...If I'm not wrong, CubeMX in case of USB MSD enable the DMA te...

iw2lsi by Associate III
  • 1076 Views
  • 3 replies
  • 0 kudos

SDMMC: auto card detect?

In CubeMX when choosing fatfs middleware it seems to require a gpio pin. Is that just a limitation in CubeMX? Basically is there a reliable software card detect mechanism using the existing SDMMC lines (4 pin SD card) or must an extra gpio pin be use...

fredferd by Associate II
  • 888 Views
  • 1 replies
  • 0 kudos