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

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
  • 6507 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
  • 1343 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
  • 891 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
  • 3887 Views
  • 8 replies
  • 0 kudos

What to change when changing from TIM2 to TIM5?

Hello, I would like to change TIM2 to TIM5 but my code didn't work after I changed that. Could someone help me please? Thanks a lot Here is the code #include "stm32f4xx.h" /* PA0 - TIM2_CH1_ETR/ TIM5_CH1/ TIM8_ETR/ USER BUTTON PA1 - TIM5_CH2/ TIMM2_C...

TrixCZE by Associate II
  • 980 Views
  • 4 replies
  • 0 kudos