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
  • 566 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
  • 1512 Views
  • 5 replies
  • 7 kudos

''C'' STM32 ADC Project to ''Cpp'' (CubeMX)

Posted on September 12, 2017 at 10:32 Hi everyone, I'm trying to convert a 'C' generated project with CubeMX in 'Cpp' but I have some problems with that. Indeed with CubeMX I have generate a project to read ADC values. This one work fine. The sam...

CubeMX does not provide SD configuration parameters

Posted on September 08, 2017 at 16:11 Whether using SDIO or SDMMC, CubeMX does not provide necessary configuration parameters available for these units. It also does not configure Bus Width, only generates 1Bit Bus configuration. Also setting Bus...

0690X00000608BGQAY.png

STM32CubeMX 4.22 SystemClock_Config Bug

Posted on September 07, 2017 at 21:43I am using STM32CubeMX 4.22.0I am using STM32F103C8T6 chip with Keil v5 under Windows 10.I configured only RCC to HSE  for Crystal\Ceramic Resonator and in Clock Configuration input frequency to 8 MHz and HCLK to...

HAL_RCC STM32L4 bug in definition

Posted on September 07, 2017 at 17:47Hi,I found a bug in the last version of stm32l4xx_hal_rcc.h from stm32L4 uC.file: stm32l4xx_hal_rcc.h/.cversion 1.7.2&sharpdefine __HAL_RCC_GPIOB_IS_CLK_ENABLED()it should refer to RCC_AHB2ENR_GPIOBEN instead of ...

possible cubemx or library bug?

Posted on July 14, 2016 at 01:05Hi,    I generated a project that included ADC2.  Multimode is set to independent.  When I run my project I get an error in MX_ADC2_Init.  When I trace it, the problem is in HAL_ADCEx_MultiModeConfigChannel().  At lin...

STM32CubeMX / C++ - Linkage Error in generated Code

Posted on June 26, 2017 at 11:49Hi,I want to use STM32CubeMX and I would like to program my new project in C++. I am using the latest version of STM32CubeMX (4.21.0) and the latest version of Keil uVision (5.32.0.0).After code generation I have adde...

smrtkai by Senior
  • 1625 Views
  • 3 replies
  • 0 kudos

I setup USB Host using STM32CubeMx. How can I receive data using USB Host and the USBH_CDC_Receive function and the CDC_ProcessReception(phost) ?

Posted on August 21, 2017 at 15:17I have setup the USB Host using the STM32CubeMx and I can transmit data in bulk and it has a state machine.  The USB is attached to the host which is a CDC USB Modem.  The CDC_ProcessReception(phost) does not receiv...