STM32CubeMX (MCUs)

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

Resolved! How to override CubeMX I2C timing register calculations

I'm using CubeMX to configure the BSP for an STM32F767. My clock tree has 54MHz going to I2C2, and when I set up I2C2 with "I2C Speed Frequency" of 400KHz, CubeMX outputs a timing register (I2C_TIMINGR) value of 0x6000030D. With a prescaler of 7 and ...

JHugh.3 by Associate
  • 1563 Views
  • 2 replies
  • 0 kudos

Bug: CubeMX does no longer create Timer interrupt handle after chaning HAL Timebase and disabling Systick Interrupt code generation in NVIC

CubeMX does no longer create the TIM1_UP_TIM10_IRQHandler in the stm32f4xx_it.c file after the timebase source have been changed to any timer and System tick timer 'Generate IRQ handler' and 'Call HAL handler' code generation has been disabled in NVI...

makas005 by Associate II
  • 940 Views
  • 1 replies
  • 0 kudos

Resolved! How to setup internal regulator with CubeMX on STM32H755

I'm using CubeMX 6.3.0 with a STM32H755 micro. The cube mx generated code assumes a HAL_PWREx_ConfigSupply( ) setting that is not correct for my hardware. Is there a place to configure this setting? I notice PWR is setup under Power and Thermal bu...

GHolc.1 by Associate III
  • 903 Views
  • 2 replies
  • 1 kudos

G4 library bug

Stm32g4xx_hal_adc.c line 644 adc_multi_skave macro returns null if adc3 is a parameter to the macro, when it should return pointer to adc4.

TMark.14 by Associate III
  • 1176 Views
  • 8 replies
  • 0 kudos

Why does CAN reception in STM32F072 stop working when setting Pulse register for TIM2 or TIM3 to non-zero value?

I’m currently working on a project where I write software for an STM32F072 that will control a couple of stepper motor drivers via PWM with a bit of precision. I’m therefore using TIM2 and TIM3 to control two separate PWM outputs where I can regulate...

Piano man by Associate II
  • 1500 Views
  • 7 replies
  • 0 kudos

Reduce FMC consumption current

I am using stm32l496, I want to use external memory CY62157EV30L, so I enable FMC in the CubeMx, but when I compile and run the project, a lot of current is consumed, about 4 mA, only with MX_FMC_Init(). how can I reduce this current?HCLK is 2 MHz.I ...

alianvari by Associate III
  • 2911 Views
  • 10 replies
  • 0 kudos

What determines polarity of PWM?

I am finding the documentation to be very difficult to parse through and had a few questions: I have PWM set up using TIM2 and one on TIM1. There are no interrupts. I initialized it using CubeMX. Based on my understanding I expect that the output...

SWenn.1 by Senior III
  • 5293 Views
  • 5 replies
  • 0 kudos