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
  • 992 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
  • 1784 Views
  • 5 replies
  • 7 kudos

STM32F103 SMBus Communication via CubeMX

Hi there, I am a new at SMBus communication. I design a board. Board have STM32F103 MCU and BQ40Z80. I need to make a communication between STM32 MCU and BQ IC but I couldn't find parameter settings in CubeMX.  Software is STM32CubeMX Version 6.11.1 ...

BY by Associate II
  • 3113 Views
  • 7 replies
  • 2 kudos

I2C Custom Timing

Hi,Can anyone point me in the direction of some more information about the custom timing under the I2C parameter settings?Are we modifying a specific register? or something else? Do each of the 8 bits do something different?  

MEde1_0-1712248649852.png
MEde.1 by Associate III
  • 6056 Views
  • 15 replies
  • 5 kudos

Resolved! Why assert_failed in HAL_InitTick()?

After spending some time debugging my project, I was able to narrow my problem down to this and reproduce it as follows:File, New, STM32 ProjectSelect NUCLEO-L412KBIn Pinout & Configuration, SYS, choose Timebase Source TIM16In Project Manager, Code G...

CKugl.1 by Senior II
  • 7735 Views
  • 13 replies
  • 2 kudos

stm32 F407 Timer4 [TIM Input Capture Start DMA]

Dear experts,i used stm32F407 ve make  a project.Through GPIOE connected parallel 16 bit ADC,ADC_busy pin connected F407 Tim4_ch3, enable  Input Capture functions, and enable DMA (P to M mode).get a mounts of data one times.i Referenced st demo,its d...

OPAMP on STM32G431KB

Hi, Master:Hello, I want to use the opamp amplifier function of the g431kb board to connect an external gain circuit and use standlone mode. Can I use it after downloading my MXsoftware generate code?I set the OPAMP1_P (PA7) input to 2.5V (DC power s...

scope_12.png

Fixing code generation in CubeMX: Tickless functions

Hello, when using CubeMX + STM32WB + BLE, I noticed that if the BLE feature is enabled in CubeMX, a file called freertos_port.c is created in the project. This file includes the functions void vPortSuppressTicksAndSleep(TickType_t xExpectedIdleTime) ...

JJRR by Senior
  • 1497 Views
  • 4 replies
  • 0 kudos