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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

problem send byte via spi dma tx

hi I'm trying to send a byte to arduino with spi2 in circular dma tx in circular mode,at the beginning the dma starts then I don't understand why the cpucrashes in the while (1), here the code: MX_GPIO_Init(); MX_DMA_Init(); MX_SPI2_Init(); MX_USART2...

SDall by Associate II
  • 954 Views
  • 5 replies
  • 0 kudos

Suppressing repurposed SWD pins for debug

In my project the debug pins are used for the release version but naturally I would like to debug the code. Right now I have a debug macro and using #ifndef in the middle of MX_GPIO_Init function to avoid initializing debug pins. These conditions are...

MHoss.1 by Associate III
  • 510 Views
  • 2 replies
  • 0 kudos

I2C module is excessively generated by CubeIDE

OverviewWhile the I2C module is enabled by CubeIDE Device Configuration Tool, CubeIDE 1.3.0Nucleo H743ZIHAL FW 1.7.0Reproduce the problemFollow :  Create a new Nucleo H743ZI project Generate the code from the Device Configuration Tool as default cond...

Takemasa by Associate III
  • 721 Views
  • 1 replies
  • 0 kudos

Resolved! Board: NUCLEO F103RB I have this problem with UART, the serial monitor show: x⸮x⸮x⸮x⸮... Why i have this beaheviour? I use UART2 (PA2 - PA3 board pin) and I connect the board at the PC trought USB cable.

This is the code: /* USER CODE BEGIN WHILE */ while (1) { HAL_GPIO_WritePin(GPIOA , LED_Pin, GPIO_PIN_SET); HAL_Delay(10); HAL_GPIO_WritePin(GPIOA , LED_Pin, GPIO_PIN_RESET); HAL_Delay(10); char p[] = "128"; HAL_UART_Transmit(&huart2, (uint...

0693W000000TwCNQA0.png