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

USART LL creation problem

HelloI m using STM32CubeMX 5.1.0 with STM32CubeF1 Firmware V1.7.0 09-October-2018I try to generate the LL for use USART1 and USART2 over STM32F103RCT6, when the Cube generated the code I have the follow problems LL_USART_InitTypeDef (undeclared ident...

Bug in STM32CubeMX v5.1.0 with STM32F103CBT6 + FreeRTOS

My project work fine with STM32CubeMX v5.0.1.I upgraded to v5.1.0, It generated code miss something.My project detail: stm32f103cbt6 + freertos,SYS -> Timebase Source: TIM1-----Generated code stm32f1xx_it.c missing a line: HAL_TIM_IRQHandler(&htim1);...

BD8NCF by Associate
  • 756 Views
  • 2 replies
  • 0 kudos

Bonjour, Comment puis-je établir une communication entre deux cartes stm32f411? je remerci tout aide. Merci beaucoup.

J'ai un projet qui consiste à comuniquer deux cartes stm32f411, j'ai essayé de le faire par connexion "usart", mais je ne suis pas arrivé encore à les communiquer, j'utilise les fonctions Hal, pour la transmission et la réception, elles fonctionnent ...

lmeli by Associate II
  • 1126 Views
  • 2 replies
  • 0 kudos

Setting up USB storage with HAL/CubeMX

Hello:I have used CubeMX to generate base code for a USB storage device in host mode. The last I see of it in the code is the call in main: "MX_USB_OTG_FS_HCD_Init();"Now I would like to take the next big step and try to connect, and write/read. Is t...

Resolved! STM32F730Z8 USB failure with generated code

I just designed a board with the new STM32F730Z8 value line with embedded USB high speed PHY. I'm using a 16MHz external crystal and I am using the default code generated with CubeMX. It fails in the USBD_Init function. Following it through at first ...

bobert by Associate III
  • 1032 Views
  • 3 replies
  • 0 kudos

How to configure USB host MSC with CubeMX?

Hello, I use the STM32F767ZI card and I want to use USB OTG host communication. For that I tested the program provided by STM32CubeMX, "FatFs_USBDisk". The program worked well. But when I tried to redo the program using CubeMX. The p...

flor.5506 by Associate II
  • 2825 Views
  • 3 replies
  • 0 kudos

Setting up timers and toggling pins using CubeMx

Dear AllI am trying to use one of the timers on F303RE to toggle a pin at every count-up overflow event (let us say I need a jitter-free pulse). From CubeMx I get the impression that a GPIO pin can be associated with a timer and toggled by the event ...

Amir1 by Associate II
  • 2819 Views
  • 10 replies
  • 0 kudos