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

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
  • 1903 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
  • 5010 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