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

Need 3 cost effective USB ports

Currently, my custom PCB with STM32F105RCT6TR based on STM32CubeMX software has a single usb DEVICE port connecting to a display head that must play the role of USB Host. Note I'm also using dual CAN plus 5 analog inputs.Now I need to connect TWO usb...

HForr.1 by Associate II
  • 3372 Views
  • 15 replies
  • 0 kudos

Resolved! Servo not working with STM32F767Zi

I'm trying to control a Servo motor (MG90S) using the STM32F767Zi by leveraging the TIM2 Channel 1 (PA0). The Servo requires a 50Hz frequency (20ms) signal. The APB1 bus gives TIM2 timer port 108MHz frequency. The Servo is powered through a 5V port t...

0693W00000QMbXyQAL.png
VNaid.2 by Associate
  • 1466 Views
  • 1 replies
  • 0 kudos

CMSIS RTOS optional

Why in particular has the CMSIS freertos wrapper been chosen as the only option for the cubeMX ecosystem? Has there been any consideration to add a raw FreeRTOS API option to cubeMX?For an example of what seems iffy, see osThreadNew in cmsis_os2.c w...

_EFrie by Senior
  • 911 Views
  • 0 replies
  • 0 kudos

Project build fails after update to CubeMX 6.1.1

Probably related to gnu-tools-for-stm32.9-2020-q2-update 746 | _ptr = _REENT;   |     ^~~~~~c:\st\stm32cubeide_1.4.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-n...

Is Cubemx ethernet reworked?

Hello friends,I used to use stm32cubemx ethernet with previous versions of cubemx and cubeide. However, the new release wondered me in the way that it didn't generate any code for the ethernet peripheral initialization, by which I mean formerly there...

How to set USE_HAL_***_REGISTER_CALLBACKS from CubeMX

In order to use the HAL's register callback capability, various flags are set for each peripheral in the stm32***_hal_config.h generated by CubeMX such as USE_HAL_FDCAN_REGISTER_CALLBACKS.The issue is that these defines don't look for a prior define ...

ALowe by Associate II
  • 12241 Views
  • 14 replies
  • 15 kudos

Cube IDE 32F4 - who do ST provide a precompiled std C lib, no source, and no WEAK functions so one can't replace the empty mutex calls?

AFAICT this is a libc.a although there are quite a lot of these loaded under c:\st\...I have spent a huge amount of time with objcopy trying to weaken a long list of stupid (empty but not replaceable) mutex calls in printf and malloc etc. like this--...

PHolt.1 by Senior III
  • 773 Views
  • 2 replies
  • 1 kudos