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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1756 Views
  • 0 replies
  • 2 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
  • 847 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
  • 3641 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
  • 2545 Views
  • 3 replies
  • 0 kudos

Resolved! CubeIDE 1.7.0 programming Nucleo-H723ZG to respond to UART input using DMA receive. Code generated by MX results in received data ec as all zeros. Is this a known MX-generated code error?

The MX generated C code issues the USART initiation call before the DMA initiation call. My code simply echoes back any text received by the USART. Unfortunately the echoed data (correct length) is all zeros. The UART read buffer is initialised with ...

MKidd.1 by Associate II
  • 7510 Views
  • 16 replies
  • 0 kudos

STM32H747XI Timer Input Capture Not Working

Hello,I'm trying to use a timer to measure the frequency of an input signal using the callback function:HAL_TIM_IC_CaptureCallBack(TIM_HandleTypeDef*htim)The function never seems to be called when a voltage is applied to the input pin. Here is the ti...

AWats.4 by Associate II
  • 2864 Views
  • 3 replies
  • 0 kudos

Possible CubeMX I2C timing config bug (STM32L0x and other)

I try to complete standard I2C 100kHz setup for STM32L041 with 16MHz clock (I2C1CLK). Here are CubeMX setting:Timing registry value is 0x00A03D53 which, according to RM0377, 23.7.5 Timing register (I2C_TIMINGR), translates to:PRESC=0SCLDEL=10SDADEL=0...

0693W00000Dq1KcQAJ.png 0693W00000Dq1LpQAJ.png
TDJ by Lead
  • 2156 Views
  • 2 replies
  • 0 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.