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

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
  • 493 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
  • 534 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
  • 510 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
  • 6860 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
  • 1523 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
  • 987 Views
  • 2 replies
  • 0 kudos

How to trigger a function at an output compares ?

Hello,I try that when my OUTPUT compare is triggered, it triggers a function.As for the PeriodElapsedCallback method, when the timer is in overflow, it creates an interuption and the PeriodElapsedCallback function is called. Is there a function doing...

SGROU.1 by Associate III
  • 4283 Views
  • 8 replies
  • 0 kudos