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

STM32N6 CubeMX incorrect timer clock derivation

Hello, While I was developing code for STM32N6, which uses FreeRTOS that uses SysTick as tick source, I changed the HAL timebase to utilize Timer 6 (TIM6). I've noticed that the generated CubeMX code will incorrectly calculate the input clock frequen...

Self-assignment warning bug

This warning is occurring in the STM32U5xx HAL driver's low-level ADC header file (stm32u5xx_ll_adc.h). The warning indicates there's a self-assignment of a variable analog_wd_monit_channels where a variable is being assigned to itself. STM32CubeMX/T...

Jiajin by Associate II
  • 438 Views
  • 3 replies
  • 0 kudos

How to use the USER_PHY

In a recent release (not sure which one) the option to select USER_PHY was added to the platform settings under LWIP.I need to implement a different PHY for a LAN9374. It is basically identical to the LAN8742. The only issue is that the LAN8742 init ...

theRat_0-1754960624856.png
theRat by Associate II
  • 632 Views
  • 4 replies
  • 0 kudos

STM32H7RS XSPI Req2AckTime assert failure

Using STM32H7R3L8HxH with external Flash and PSRAM. STM32CubeIDE version is 1.19.0 MxCube version is 6.15.0.MX XSPI1 and XSPI2 initialization functions do not set sXspiManagerCfg.Req2AckTime value. Here is XSPI1 code:static void MX_XSPI1_Init(void) {...

mkrk_0-1755072749414.png mkrk_1-1755072764856.png
mkrk by Associate III
  • 325 Views
  • 1 replies
  • 0 kudos

use AZRTOS or USB VCP, you can only use one

hello, I usually design borad with stm32g474vet6, i use USB VCP as serial debug port, juse insert to usb port of PC, then can use printf to print debug information. this time, i want to use threadX OS, that is, AZRTOS, when i config AZRTOS with stm32...

dqsh06_0-1754986529261.png
dqsh06 by Senior
  • 279 Views
  • 2 replies
  • 1 kudos

I cannot enable DCMIPP interface pins

Hi,I am implementing DCMIPP configuration in that I am enabling the CSI but when I trying to enable the pin I cannot enable the the camera pins those pins are showing red. And I am unable locate .ioc file  for DCMIPP interface is there any .ioc file ...