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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 471 Views
  • 0 replies
  • 1 kudos

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

2 bugs with VREFBUF and STM32Cube on at least STM32G491

Hi ST,There are 2 bugs in Initialization of VREFBUF.in STM32CubeIDE V1.11.0.I use FreeRTOS, but it shouldn't have any inffluence on these bugs.1.) At function main, the firsr call is to Hal Init and when VREFBuF ist activated, in function HAL_MspInit...

Osto by Senior
  • 2729 Views
  • 5 replies
  • 1 kudos

Using SPI DMA at 16bit, dosent work on STM32H5

Hi. ST There is an error in the code that is generated by CubeMx when you use 16bit in SPI DMA transfer. Can be solved in the stm32h5xx_hal_msp.c file: /* USER CODE BEGIN SPI4_MspInit 1 */ memcpy(&handle_GPDMA1_Channel1.Init,&NodeConfig.Init, sizeof(...

spa23 by Associate III
  • 1103 Views
  • 3 replies
  • 1 kudos

Resolved! How to make STM32F103C8T6 (blue pill) USB CDC work properly

I have such dev board and try to run it as virtual com port. I created project cubemx, enable only usb as device in CDC mode. After generating and running project with next small fixes I run it on board.int main(void){//....skip while (1) {   /* USER...

RLu by Associate
  • 2074 Views
  • 2 replies
  • 1 kudos

Resolved! STM32 Blue Pill

HelloI came across with this board (STM32 Blue Pills) and instantly got many questions.1) I couldn't find it on CubeMX and could you please confirm that it is not present on CubeMX or it is just clumsy me?2) It seems that MPU is STM32F103xx which I b...

hashtala by Associate II
  • 6502 Views
  • 3 replies
  • 1 kudos

Resolved! Alternate pin for I2C1_SCL on STM32C011J6Mx SO8N

Hi ALLI'm playing with a STM32C011J6Mx on  a plane breakout board.Sorry if this a basic question, new to using the SMT32 , last time I played with MCUs was 6809 CPU :)I wanted to use I2C and SWD, to use both I need to move the I2C1_SCL to it's altern...

stevecimo_0-1745539731667.png stevecimo_1-1745539814793.png stevecimo_2-1745540364223.png
stevecimo by Associate III
  • 352 Views
  • 1 replies
  • 0 kudos