STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.12.0 released

We are pleased to announce you that the official release of STM32CubeMX V6.12.0 is available. What is new in STM32CubeMX V6.12.0?New MCUs/MPUs series : STM32WB0 ,STM32MP25XX and STM32C071XXAdd support new CPNs STM32G4: Add support STM32G4 'Z’ and STM...

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
  • 734 Views
  • 1 replies
  • 1 kudos

STM32CubeMX Crashing on Code Generation

Having a very difficult time figuring out what happened to STM32CubeMX. In middle of very timely development and suddenly I can't generate any code. It just hangs. I have to shut down Java to force the program to close.I have downloaded the latest ve...

Issues on creating a project using STM32CubeMX tool.

Following the instructions below, I create a new project.https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step2_Blink_LEDBut it seems that the led blinking thread fails to get started.I must comment some system initialization to get the default thre...

Jinyu Z by Associate II
  • 673 Views
  • 8 replies
  • 0 kudos

cubemx project

I use cubeMX version6.0.0,generate a simple serial port project, I need to click three times 'run' can run to the main function(break point) use jlink in debug mode , The serial port tool has output character,. But direct download and re power-on doe...

Syang.2 by Associate II
  • 453 Views
  • 4 replies
  • 0 kudos

Resolved! Not able to set the clock frequency to MAX (480 MHz)

Hello,I am trying to set the clock frequency to max of 480 MHz. I tried 120 MHz and there is not problem with that. The block code is very similar for both, so not sure what is going wrong.I feel the oscillator fails and goes into an error state. Bas...

0693W000005BQQWQA4.png
Kaveh by Associate III
  • 617 Views
  • 4 replies
  • 0 kudos

Resolved! C++ with STM32CubeMX and CubeIDE

Hi,I'd like to use C++, and I had a question.Currently my procedure is:(a) Configure the peripherals using CubeMX (since I wish to use MX HAL) and generate code .(b) In CubeIDE I rename the main.c file to main.cpp, and then from the project window I ...

shabaz by Associate
  • 433 Views
  • 2 replies
  • 0 kudos

HAL SPI cannot handle LSB data?

I setup SPI using CubeMX and set First Bit as LSB First as described in the datasheet.I thought setting this will handle LSB data by itself however it is not working as expected.Below code only work with _SPI_HARDWARE_LSB defined which means I have t...

0693W000005BOJEQA4.png
KYou.1 by Associate II
  • 361 Views
  • 1 replies
  • 0 kudos