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

STM32CubeMx warning when using 4 UARTs

Dear allI'm using STM32G070KBT in my product, as it has 4 UARTs.I want to use the 4 UARTs in asynchronous mode, no HW control, UARTs 1 and 2 use RX/TX, while UARTs 3 and 4 use only RX.When defining all those UARTs in STM32CubeMx, I've some warnings t...

jerome2 by Associate II
  • 2102 Views
  • 6 replies
  • 0 kudos

Resolved! CubeMX Generated Code: Build Option Greyed Out

Hello,I am using the NUCLEO-F401RE with the NUCLEO-IDB05A2 bluetooth low energy expansion board. I am trying to run the sample demo code that is part of the X-CUBE-BLE1 software package (SensorDemoBLE). I followed the instructions in this video below...

0693W00000Y7P7WQAV.png
KMew by Senior III
  • 2753 Views
  • 2 replies
  • 0 kudos

Resolved! RTC losing fractions of second on uP reset - how to solve?

My code initialises the RTC using the standard CubeMX code but before setting the clock it tests for a valid year > 2018. This works perfectly and the time and date are preserved through resets of the uP. However, it appear that either the reset or t...

STM32L073- multiple USB device interfaces

Hello,We are currently evaluating the STM32L073 series in terms of the possibility to configure the USB device as either:3x interfaces, all serial (COM) ports.3x interfaces, 2x serial (COM) port and 1x mass storage device.In the STM32 studio I have n...

0693W00000WL5f5QAD.png

Resolved! How to speed up STM32G474 float number calculation?

Hello,I am new to STM32 MCU and right now using a 170MHz STM32G474 MCU for my project. I did a test today and found out the float number calculation speed of the MCU is quite slow.It takes 6.3us to finish the calculation in Fig.1. (I set a GPIO pin h...

0693W00000Y7RFXQA3.png 0693W00000Y7RFmQAN.png 0693W00000Y7RG1QAN.png
QMa.1 by Associate
  • 3286 Views
  • 6 replies
  • 0 kudos

Resolved! MODBUS communication using STM32F730

I'm trying to use STM32F730 for MODBUS communication. The datasheet and reference manual both shows support for MODBUS. However the problem is :when i use cubemx for configuration purpose it generated following message "This peripheral has no paramet...

NSing.5 by Senior
  • 4986 Views
  • 8 replies
  • 0 kudos