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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Problem using 3 Output Compare Channels for Center Aligned PWM

Hello,i am using the STM32F103C6 MCU and i would like to produce 3 different Center Aligned PWM signals with 16KHz frequency and Duty Cycle 1 to 99%. I would like to change the duty cycle on fly using the CCR registers.I am configuring the 3 of TIM1'...

0693W000000W0o7QAC.png 0693W000000W0o8QAC.png 0693W000000W0phQAC.png 0693W000000W0sWQAS.png
SKokk.1 by Associate II
  • 1481 Views
  • 6 replies
  • 0 kudos

Resolved! How to use MCO at PG10/NREST Pin with STM32G474RE? Init. code from STM32CubeMX always works at PA8 Pin as MCO function.

I am working with a STM32G474RE and I want to use a MCO as an output of HSE(27MHz).I used STM32CubeMX Ver.5.6.1 for generate simplest init. code, which would work only for MCO function at PG10 Pin. ​here's my setup.I builded the init. code by SW4STM...

0693W000000VyoIQAS.jpg 0693W000000VyoXQAS.jpg

Bug? CubeMX 5.5.0 and SDMMC1

HiAlthough I configure in the cube that no external transceiver is used the define is set in the file (stm32h7xx_hal_conf.h).Any idea?Regards Jakob

USB OTG High-Speed data corruption in STM32F746-Disco Board

HiI'm very new to STM32. I create a project with STM32CubeMX for the STM32F746-Disco board and I need to use USB OTG HS for sending data to PC through VCP. The data size which I need to send to PC is 24576 Bytes. The USB connected properly but after ...

A_R by Associate II
  • 530 Views
  • 1 replies
  • 0 kudos

I would like to use an STM32F042F4 MCU with CAN communication. I saw the CAN bus in STM32CubeMx by Connectivty, but i can't select it ?

Dear ST,I would like to use an STM32F042F4 MCU with CAN communication. I saw the CAN bus in STM32CubeMx by Connectivty, but i can't select it (it is grey)? I read in the datasheet of the MCU that i have to remap CAN bus pin to PA10 and PA9.Can you he...

Simulating a VBUS_SENSING pin on STM32L052K6U6

I'm attempting to add a USB connector to my project, but my MCU lacks a "VBUS_SENSING" pin like another MCU I've been experimenting on has. Is there a way to simulate this pin? I'm using the MCU as a self-powered deviceMCU: STM32L052K6U6 (UFQHPN32)Pr...

SHaug.1 by Associate
  • 633 Views
  • 2 replies
  • 0 kudos