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

Resolved! Why is the ADC w/DMA in STM32G4 not working?

I am initialising the ADC2 w/DMA via STM32CubeMX. Scan conv. = enabledcontinuous conv. = enabledDMA cont. requests = enabledoverrun behaviour = data preservednumber of conversions = 2 (channel 1 and channel 2)sequence of program (specific to DMA):1 -...

snjy1697 by Associate II
  • 1933 Views
  • 4 replies
  • 0 kudos

Hey everyone, for an IoT project I'm using an NUCLEO-L011K4. I need to use SPI to communicate with a RFM95 LoRa chip. For this I'm using Keil uvision, CubeMX and the HAL SPI library. I however can't manage to make it work. Can anyone help?

I think the issue lies within SPI not working correctly. I'm using the following function to transmit data using SPI.void RFM_Write(unsigned char RFM_Address, unsigned char RFM_Data) { uint8_t spiData[2]; spiData[0] = RFM_Address | 0x80; spiData[...

BKas.1 by Associate
  • 644 Views
  • 1 replies
  • 0 kudos

C++ main.cpp generation

Dear ST,Do we have a functionality to generate main.cpp from CubeMX? HAL supports C++ and it is possible to make project C++ by renaming main.c to main.cpp, but after regeneration you just get new main.c without your code, so again need to merge it m...

Code Generation in STM32CubeMX -- not hapening and gets stuck

Hi, I am new user to ARM Cortex world. I have purchased a new kit Nucleo having F411RE. I have installed STM32CubeMX  ver 5.4 and OpenSTM32 workbench ver 2.9 in my Windows 10 Laptop. Everything is installed successfully. I have tried to generate code...

0690X00000BudCvQAJ.png 0690X00000BudCbQAJ.png 0690X00000BudCgQAJ.png 0690X00000BudClQAJ.png
Akhok.1 by Associate
  • 492 Views
  • 0 replies
  • 0 kudos

NUCLEO-L412KB : USB-CDC Initial FAIL

I have try to use the USB-VCP (Virtual COM Port) on the STM32L412KB (32-pin) but I have an issue that the code which is generated from the CubeMX got stuck at MX_USB_DEVICE_Init() and I try to debug in the Atollic TrueStudio, it causes the hard fault...

ARats by Associate
  • 2927 Views
  • 12 replies
  • 1 kudos