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.14.1 released

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

[BUG] CAN init code using CUBEMX

Hi, Im using stm32f1 serise and today updated my cube mx so now version is 5.0.1I just found that can init code is several changed,but it's some kind simple missing errorin main, static void MX_CAN_Init(void) {   /* USER CODE BEGIN CAN_Init 0 */  ...

jd kim by Associate II
  • 625 Views
  • 2 replies
  • 0 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
  • 532 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
  • 869 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
  • 796 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
  • 1969 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
  • 2152 Views
  • 10 replies
  • 0 kudos