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

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
  • 712 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

Resolved! STM32L0 PWM TIM with prescaler set to zero, gives no output

I am new to using PWM, so not sure if this is a bug, invalid default settings or wrong documentation.I configured my project using STM32CubeMX.I'm using the internal clock, and the default setting for PRESCALER is 0. I can see in Keil using the debug...

SSkje.1 by Associate II
  • 2049 Views
  • 4 replies
  • 0 kudos

Not reading SPI WHO_AM_I register correctly

Hi everybody,I hope someone there could help me. I am trying to read the WHO_I_AM register of the LIS3MDL magnetic sensor (reg 0x0F). I have a custom pcb with a STM32L151VET6 . I got largley inspired by the STEVAL-WESU-1. I am using STMCubeMx for the...

JMart.5 by Associate II
  • 5340 Views
  • 12 replies
  • 0 kudos