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
  • 240 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
  • 1239 Views
  • 5 replies
  • 7 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
  • 1081 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
  • 1957 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
  • 6296 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
  • 326 Views
  • 1 replies
  • 0 kudos

Going from cubeide to makefile in toolchain

I'm trying to get the BLE_p2pServer example working using a Makefile setup on an STM32WBA55CG board. I copied the .ioc file and opened it in CubeMX, changed the toolchain setting, but now I'm stuck at the "copying libraries files" stage. Not sure if ...

joarwar by Associate
  • 353 Views
  • 0 replies
  • 0 kudos

Resolved! Nucleo-N657X0-Q and CubeMX

Hi,I am using the Nucleo-N657X0-Q board and here is what I have done so far:Generated a CubeMX projectEnabled FSBL, Secure Application, Non-secure Application and ExtMemLoader projectsEnabled XSPIM, XSPI2, EXTMEM_LOADER, EXTMEM_MANAGERGenerated codeO...

fa31 by Associate III
  • 620 Views
  • 2 replies
  • 1 kudos

STM32CubeIDE doesn't generate UART init function call

I am using NUCLEO-H743ZI which has STM32H743ZI on it. In the 'Device Configuration Tool' under the 'Project Manager'->'Advance Settings' there are options to set how I want to generate HAL calls. I basically want to set all of them 'Visibility(Static...

0693W000001qixjQAA.png
AErde.1 by Associate
  • 2673 Views
  • 6 replies
  • 0 kudos

Resolved! PLL1 HSI/HSE Bug with USB

Hi,I think I have found a bug in CubeMX v6.12.0.I have an STM32U595 with USB OTG HS.My USB peripheral is set to use the HSE as it's clock (not PLL1):However, when I try to set the oscillator source for PLL1 to the HSI, CubeMX gives an error declaring...

BCowp1_0-1745404381602.png BCowp1_1-1745404494645.png
BCowp.1 by Associate II
  • 354 Views
  • 1 replies
  • 0 kudos