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

How to generate an arbitrary signal using DMA? (F446RE)

Hi everyone,In my project, I try to create a TTL signal generator, and I found a useful function that uses DMA on PWM signal (HAL_TIM_DMABurst_MultiWriteStart), so that I can create arbitrary rectangle signal that I want. I am using a timer frequency...

0693W00000NsnFeQAJ.png
YSall.1 by Senior
  • 931 Views
  • 5 replies
  • 0 kudos

[SOLVED] STM32G070 TIM Encoder mode

Dear,I currently trying to used the timer in encoder mode.It seems to working fine whatever the mode configured.I useing the timer interrupt (Capture Compare) to read the number of step (Counter (CNT)).In mode 1 and mode 2, the CNT is decrement by 2 ...

YDann.7 by Associate III
  • 2572 Views
  • 5 replies
  • 1 kudos

Resolved! What is written to the USART_BRR register?

What is this value that is written to the USART_BRR register?What is it for?I don’t understand why the calculation is done using the formula: fclock / (the divisor, in my formula it is 5 * baudrate)For example, here is an example calculation:I made t...

0693W00000NskeHQAR.png
MMust.5 by Senior II
  • 8227 Views
  • 18 replies
  • 0 kudos

STM32F405 SD DMA only works once, no matter what

Hello,I am currently trying to get an Adafruit Feather STM32F405 board to write to files on an SD card using DMA. I'm using CubeIDE, not STM32duino, and I have tried DMA configurations with both a single stream and two streams (one RX and one TX). No...

0693W00000NsdEHQAZ.png
liamur by Associate II
  • 1113 Views
  • 3 replies
  • 0 kudos

STM32H743 PWM

hello friends)))) I bought a new stm32H743 for familiarization and got confused how to implement PWM on HRTIM. I'm trying to do PWM on timer B. configured GPIO_PC8 to AF1 in GPIOx_AFRH. everything is fine there.HRTIM_B_PERxR==2000 HRTIM_B_CMP1xR==200...

MTS by Associate II
  • 1492 Views
  • 6 replies
  • 0 kudos