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

Resolved! Clock source for ADC of The STM32H7 CPU

In former CubeMX versions an Clock to ADC of 400MHz was possibleNow I am working on CubeMX V 6.3.0 with STM32Cube FW_H7 V1.9.0.The maximum Clock frequency I can adjust is now 79MHz (selected clock source is the PLL2) What is the meaning of the "79 to...

0693W00000DmOGpQAN.jpg 0693W00000DmOH4QAN.jpg 0693W00000DmODcQAN.jpg 0693W00000DmOMJQA3.jpg

STM32H745 EXTI with STM32CubeMX issue

Hello,I have a question regarding the external interrupt on a GPIO input pint which is triggered each falling edge (EXTI)According to the CubeMX autogenerated code, it looks straight forward. I am using a discovery board with pin PE3 which is config...

PButc.1 by Associate II
  • 1738 Views
  • 5 replies
  • 0 kudos

Interrupt not triggering on NUCLEO-F413ZH

Hi,I have a single PDM mic connected to DFSDM2, channel 0 on the NUCLEO. I have configured the peripheral for 16kHz and I have verified that the clock generated is 1MhZ and the mic sends PDM data when clocked.I have checked the signals going to the u...

0693W00000DmcFbQAJ.png 0693W00000DmcFRQAZ.png 0693W00000DmcFCQAZ.png 0693W00000DmcF7QAJ.png
NKara.3 by Associate II
  • 594 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeMX 6.0.1 with STM32Cube MCU Package for STM32H7 Series version 1.8.0 unchecks the MicroLIB checkbox

Hello,I have an IOC file, which was generated with help of STM32CubeMXMxCube.Version=5.6.1MxDb.Version=DB.5.0.60When I open this project to update the Keil project (which has Keil Compiler version 6 selected), with STM32CubeMX version 6.0.1 (with STM...

Resolved! ffconf.h is missing in stm32CubeMX generated code. STM32G0B0RE

I created new project using CubeMX and selected USB Host and FATFS. but ffconf.h is missing in the project it is giving error.I treid to copy from STM32F769 example project but function is missing. retFATFS = FATFS_LinkDriver(&FATFS_Driver, FATFSPath...

HPATH.1 by Associate II
  • 1399 Views
  • 2 replies
  • 0 kudos

wrong data on SPI data register

I am trying to send 16bits through spi3 of stm32f205rct6. The problem is that the data in my array differs from the data in SPI3->DR. uint8_t config_data[2]={0xD2,0x8B};  // 1 101 001 0 100 0 1 01 1uint8_t rx_data[2]={0}; while (1) { HAL_GPIO_WriteP...

0693W00000DmZabQAF.png
Kolab by Senior
  • 514 Views
  • 3 replies
  • 0 kudos

STM32-H743ZI2 and Dynamixel Servo interaction

Hello, I am looking for some help with operating a Dynamixel  XM540-W270-R servo actuator from a Nucleo-H743ZI2 Development board. I have used CubeMX to initialize all of my peripherals and am using CubeIDE for development. I have 2 basic objectives:...

MAgui.1 by Associate II
  • 1865 Views
  • 3 replies
  • 0 kudos

Resolved! ADC DMA_Handle is 0!

HiI'm using a NUCLEO-H7A3ZI-Q.I have created a project with CubeMX and I'm experiencing a strange behaviour on the ADC.The initialisation code is calling  MX_ADC1_Init() but this function returns with an error but the ADC DMA_Handle is 0, causing lat...

EGonc.3 by Associate II
  • 1103 Views
  • 3 replies
  • 0 kudos