STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Use Timer DMA burst to update *another* timer

Hi all!I have a use case that seems like it's not supported. I have one timer (TIM3) running PWM with multiple channels, I would like to use a DMA burst to update the duty cycles of all channels and I have successfully done this by triggering on the ...

JNiel.1 by Associate II
  • 1027 Views
  • 3 replies
  • 0 kudos

Can i use GPIO pins in modbus.h and modbus.c?

Hi, i want to use GPIO pin in Modbus.h and Modbus.c file using stm32f103. But even if I mention header file in my Modbus.h the code is not working. it shows error.stm32f1xx_hal_gpio.h is the header file I included in Modbus.h. HAL _ GPIO _ Write Pi...

Lchal.1 by Associate III
  • 538 Views
  • 0 replies
  • 0 kudos

LPUART1 is not working in STM32L4R5ZI development kit?

Hi,I am new to ST controllers, I have an STM32L4R5ZI nucleo development board. By using STM32CubeMx I generated code for LPUART1 and in the main.c in the while loop I have added a "printf" statement, but I am not seeing anything on the UART terminal ...

Kpach.1 by Associate
  • 581 Views
  • 0 replies
  • 0 kudos

GDBserver and OpenOCD not getting installed

I want to try gdbserver and openOCD on CLI so as to compile and debug STM32 MCU Firmwares via CLI and to get an understanding of their work. But not able to get enough resources on the net for their installation as I am windows user and resources ava...

KGupt.1 by Associate III
  • 562 Views
  • 0 replies
  • 0 kudos

I2C slave receive unknown length message

General idea:I'm trying to write the I2C as slave on a L476. The master might need to change a bunch of registers at the same time, so instead of sending n separate commands I want to receive one long command and the prepare the response to be sent b...

MHoss.1 by Associate III
  • 7102 Views
  • 5 replies
  • 0 kudos

Resolved! Why do some misaligned operands require more memory cycles than expected to read from the memory of a Cortex-M4?

I wrote some software that reliably measures the number of memory cycles required to retrieve 16 and 32-bit operands from the Cortex-M4 memory. When a 16-bit operand fits within a 32-bit physical word, I would have expected that only a single memory ...

DLewi by Associate II
  • 1674 Views
  • 5 replies
  • 0 kudos

Resolved! UART even parity received WRONG

hey thereI try to receive some characters using UART and here is the confighuart1.Instance = USART1;   huart1.Init.BaudRate = 4800;   huart1.Init.WordLength = UART_WORDLENGTH_8B;   huart1.Init.StopBits = UART_STOPBITS_1;   huart1.Init.Parity = UA...

Ala by Senior
  • 1036 Views
  • 2 replies
  • 0 kudos