STM32CubeMX (MCUs)

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.11.1 released

STM32CubeMX 6.11.1 was released on as well as an in-tool update patch. Main issues fixed in this patch: Ticket 176645 : STM32CubeMX V6.11.0 has lost the "JTAG (5 pins)" debug mode for all the STM32H7 series but the STM32H7Rx/7Sx microcontrolle...

STM32CubeMX 6.11.0 released

We are pleased to announce you that the official release of STM32CubeMX V6.11.0 is available. What is new in STM32CubeMX V6.11.0? New MCUs series : STM32U0 (STM32U083xx/73xx/31xx), STM32H7RS (STM32H7R7xx/H7R3xx/H7S3xx/H7S7xx) and STM32H5 (STM32H533/H...

Simulink error for programming ST Nucleo board

Hi,I want to program my STM32H753ZI Nucleo board with Simulink. I successfully programmed it to blink an LED. However, I get the following error when I try to enable a timer (for PWM, or Encoder). C:/ProgramData/MATLAB/SupportPackages/R2023b/toolbox/...

Inconsistancies in U5 device headers

Hello,most devices define helper definitions, like selecting the system clock source. E.g. L412:#define RCC_CFGR_SWS_MSI (0x00000000UL) /*!< MSI oscillator used as system clock */#define RCC_CFGR_SWS_HSI (0x00000004UL) /*!< HSI16 oscillator used as s...

Not executing while condition

 float init_sensor(void){ uint32_t numTicks; float distance; RCC->AHB1ENR |= (1U<<1); GPIOB->MODER &=~ (1U<<19); // pin 9 as output GPIOB->MODER |= (1U<<18); // pin 9 as output GPIOB->MODER &=~ (1U<<16); // pin 8 as input GPIOB->M...

Avisr by Associate II
  • 8 replies
  • 1 kudos

Resolved! Errore "-u_printf_float"

Hi, i get this error, can someone please help me, thanks. I use Cube MX(STM32-cube-ide).I tried to follow the steps but it didn't work. 

Giuseppe1 by Associate III
  • 2 replies
  • 1 kudos

Resolved! How to define LwIP DHCP hostname in CubeMX?

Hello,I am wondering how to set the DHCP hostname for LwIP when using STMCubeMX. The CubeMX tool creates a definition for the hostname in ethernetif.c: #if LWIP_NETIF_HOSTNAME /* Initialize interface hostname */ netif->hostname = "lwip";#endif /* LWI...

ZdenekK by Associate
  • 4 replies
  • 0 kudos

USB_Host_Library / FreeRTOS Problem

Hello All,We've been struggling with getting hard faults originating in FreeRTOS generated code, but triggered by initialization of a USB optical mouse.  The symptoms and stack trace are nearly identical to a previous unreproduced / unresolved post:h...

Resolved! cpp project using STM32CubeMX and Keil

Hi,I have created a project using STM32CubeMX and Keil uVision.The generated CubeMX comes with its own main.c and main function.What I want to do is disable that main.c build in the project and create my main.cpp file,where I can put my main function...

AVerm.4 by Associate II
  • 2 replies
  • 0 kudos