STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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 configuration problem

I use STM32H750XB microcontroller for my project. I am able to configure clock for 480Mhz without using "Resolve Clock Issues" help. But if I use "Resolve Clock Issues" even once, then I get problem like the attached image. There is a calculation err...

0693W00000D27nLQAR.png 0693W00000D27qeQAB.png
OERCA.1 by Associate II
  • 1336 Views
  • 4 replies
  • 0 kudos

STM32F103VG Use Cubemx to generate TIM1 CH1 PWM output, and use firmware version stm32cube FW_ F1 v1.8.1 has normal PWM output. Use firmware version stm32cube FW_ F1 v1.8.1 ~ v1.8.4 cannot output PWM.

 void user_pwm_setvalue(uint16_t value){ TIM_OC_InitTypeDef sConfigOC; sConfigOC.OCMode = TIM_OCMODE_PWM1; sConfigOC.Pulse = value; sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH; sConfigOC.OCFastMode = TIM_OCFAST_DISABLE; HAL_TIM_PWM_ConfigChannel(&htim...

0693W00000D26CsQAJ.png 0693W00000D26D2QAJ.png
李强.1 by Associate
  • 389 Views
  • 0 replies
  • 0 kudos

O_NONBLOCK is defined twice and does not work with lwIP

The define O_NONBLOCK exists twice. Once in:...\ST\STM32CubeIDE_1.6.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\include\sys\_default_fcntl.h:#define _...

PChri.2 by Associate II
  • 1646 Views
  • 7 replies
  • 0 kudos

Resolved! [SOLVED] STM32L0 possible bug with DMA

Hey!I'm trying sending message over UART with DMA with following code and CubeMX configuration (attached pictures)char welcome[] = "hi!\r\n"; HAL_UART_Transmit_DMA(&huart2, (uint8_t*) welcome, strlen(welcome));Nothing else is changed. MCU doesn't s...

VLau by Associate III
  • 1257 Views
  • 2 replies
  • 0 kudos

SPI - slave response is on MOSI

Hi,I am currently using the STM32L4 SPI generated from the CubeMX.I am receiving the slave data on MOSI line (instead MISO) everytime the read function is called.I selected the direction to 2 lines.hspi2.Init.Direction = SPI_DIRECTION_2LINESAll 0x00 ...

MKhel.1 by Associate II
  • 1537 Views
  • 6 replies
  • 0 kudos

Resolved! H7/CubeMX critical bugs with LL and ADC3

ADC3 is broken when using the LL interface.1) This is because it gets initialized with invalid resolution bits:CubeMX currently generates:   ADC_InitStruct.Resolution  = LL_ADC_RESOLUTION_12B;   ADC_InitStruct.LowPowerMode = LL_ADC_LP_MODE_NONE;   LL...

Resolved! STM32L071KZT6 can't select HSE in cubemx

hi i am using STM32L071KZT6 chip in my board and using Cube ide for initialization and code development. in the datasheet it says KZT6 chip has 1 clock input and is configurable as HSE/LSE/HSI/MSI/LSI but in the Cubeide clock config page or System ...

CZorg.1 by Associate II
  • 1081 Views
  • 1 replies
  • 0 kudos