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

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 976 Views
  • 5 replies
  • 7 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
  • 2256 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
  • 5764 Views
  • 12 replies
  • 0 kudos

TIM1 OPM mode waveform generation.

i want to generate above signal with variable Toff and Ton fix.i generate code but i don't get my desired out put signal./** ****************************************************************************** * File Name : TIM.c * Descript...

0693W000000UNcIQAW.jpg 0693W000000UNboQAG.jpg