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

How to use STM32F401 mcu to driver color sensor.

Hi, all.I hope anyone who can help me ~​I now use STM32F401 & CubeMx to driver color sensor, the color sensor's timing requirements like this:I use master/slave Time to do this:master Tim1' CH1 to seed PWM(cycle is 500ns, high 200ns, low 300ns), and ...

0693W00000GXKblQAH.png 0693W00000GXKmeQAH.jpg
Hfeix.1 by Associate
  • 673 Views
  • 2 replies
  • 0 kudos

IDE do not generate Drivers correctly (core_cm3.h missing)

Hi, first of all i had a problem downloading the firmware package for my STM32F107VC. The IDE downloaded by itself two package v1.8.0 and v1.8.4, unzipping the first one worked, but the second failed. I found out that the name of the folder inside th...

__HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__)

I am using STM32F427ZIT6 with both USART1 and USART3. Both USART ports are DMA enable. I use STM32CubeMX version 6.2.1 to generate the code.My problem is when USART3 is not transmitted, USART1 communication works as expected. When USART3 is transmit...

DNguy.11 by Associate II
  • 3053 Views
  • 9 replies
  • 0 kudos

H7/CubeMX CANFD configuration bug

CubeMX prevents the user from selecting certain (valid) CANFD bit timing configurations."Nominal Time Seg1" and "Nominal Time Seg2" are affected: These should have a minimum value of 1, but instead CubeMX only allows "2" as minimum value.This is prob...

Problems with STM32G431K8Tx

Good day, I'm developing a remote control using a STM32G and I encounter some problems.For my code i need two timers:Timer1: it has a 1us overflow time and is not handled by any interruption, I just use it to count micro seconds for my delay_us funct...

0693W00000GXHqJQAX.png 0693W00000GXHqxQAH.png 0693W00000GXHrCQAX.png 0693W00000GXHpmQAH.png
BBori.1 by Associate II
  • 733 Views
  • 2 replies
  • 0 kudos

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
  • 1612 Views
  • 2 replies
  • 0 kudos