STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

Resolved! Hi I am concerned about the following microcontroller : STM32H753XIH6TR When using cube Mx to configure the timers on pin PA1_C the options specified in the data sheet are not avaliable. How do I access these functions?

I have downloaded the new H7 package as previously suggested and the issue still remains.Please see attatched image of functions specified in datasheet.Please see image attatched of functions avalailable on cube MXThanks for your help !

LMyle.1 by Associate III
  • 1257 Views
  • 5 replies
  • 0 kudos

Resolved! Problem on SCB_InvalidateDCache_by_Addr

First time try ADC Dual Interleaved on STM32H750VB.The problem is when I try to split the 32bit result from DMABuff into 16bit master and slave, some of the reading is zero and it's random. Can anyone show me anything wrong on my code?If disable DCac...

0693W00000D2FMwQAN.jpg 0693W00000D2FNLQA3.jpg 0693W00000D2FNuQAN.jpg
SEng.1 by Associate II
  • 975 Views
  • 3 replies
  • 0 kudos

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
  • 1013 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
  • 330 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
  • 1300 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
  • 971 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
  • 1188 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...