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

Resolved! STM32L4 USB BCD Bug

Hello, I use SensorTile.box with Stm32L4R9 MCU, CubeMx 6.1.1, Cube FW L4 V1.16.0I want to configure USB like a Virtual Com Port and it work's nice.But, when I set USB_OTG_FS->Parameter Settings->Battery Charging to Enabled CubeMX generate's such code...

qqAnton by Senior
  • 1219 Views
  • 2 replies
  • 1 kudos

HAL �?��?�브러리 버전 최신버전�?서 �?�전 버전으로 변경하고 싶어요

HAL �?��?�브러리 LPTIM 소스 보는�?� �?�전�?는 없었는�?� 최신 HAL �?��?�브러리�? 소스가 새로 �?겨서 ENABLE 하는 부분�?서 TIME_OUT 걸려서 return �?�어서 빠져나가는�?� �?�전 버전�?서는 그 부분�?� 없어서 잘 �?�작했는�?� cubeMX�?서 Firmware Package Name and Version�?서 수정하려고 해�?� 강제로 막혀있어서 수정�?� 불가능 합니다. 해결 방법...

SPark.34 by Associate
  • 6589 Views
  • 2 replies
  • 0 kudos

Resolved! BUG: CubeMX/CubeIDE ignores changes in initialization order.

Using Project Manager -> Advanced Settings -> Generated Function Calls you can change the initialization order. However this setting is ignored when writing the code.You have to manually change the order in the .ioc file in this line:ProjectManager.f...

Herm by Associate III
  • 1081 Views
  • 2 replies
  • 0 kudos

Cant enable low power run mode at STM32L1

Hi,​my STM32L151RC-A running at 65,536 khz with the MSI.​I´ve created the basic code with STMCubeMX.​i´ve tried to use this command to use the low power run mode:HAL_PWREx_EnableLowPowerRunMode();But this does nothing :\Same power comsumption at 168µ...

GMeiy.1 by Associate
  • 624 Views
  • 1 replies
  • 0 kudos

Peripherals initialization issue in stm32cubemx

Hello,I am working on the stm32h745zitx controller. My requirement is as follows:1.USB_HS2.USB_FS 3.Booting USART ,I2c4.JTAG ,SWD5.Total 6 spi=SPI 1-2-3 configure as Receiver only master at 75MHz, SPI 4-5 as Receive only master 50 MHz and SPI 6 as re...

0693W00000D06FEQAZ.png 0693W00000D06EpQAJ.png
MDeva.1 by Associate II
  • 644 Views
  • 2 replies
  • 0 kudos

How to generate two stage carrier pwm for three level inverter

Working on three level t type inverter. We are using two timers to generate 12 pwm signals. Using stm32h743ift6, timer1 and ttimer8 in complementary mode. Requirement: 1)to generate two stage carrier pwm. ​2) timer 1 to run from 2400 to 4800, then 48...

VVija.1 by Associate II
  • 1907 Views
  • 5 replies
  • 2 kudos

Pin mapping error

Hello,I am working on STM32h745Zitx controller.If i enable the USB_HS peripherals then i select the I2C1 in that yellow icon is present and shows the message that partly disabled conflict with USB_OTG_HS :External Phy Device_only.Similarly all the p...

0693W00000D03nNQAR.png 0693W00000D03nIQAR.png 0693W00000D03nDQAR.png 0693W00000D03n8QAB.png
MDeva.1 by Associate II
  • 599 Views
  • 2 replies
  • 0 kudos