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
  • 950 Views
  • 5 replies
  • 7 kudos

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
  • 1211 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
  • 1120 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
  • 937 Views
  • 1 replies
  • 0 kudos