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

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
  • 651 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
  • 328 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
  • 484 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