STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

[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
  • 1922 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
  • 5881 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
  • 793 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
  • 1051 Views
  • 6 replies
  • 0 kudos

Firmware Behaviour change after files clean up

I am working on a state machine to control a stm32f334 mcu, first state would be general initialization, the wifi initialization, waiting for stable input and some other states that are not relevant here. It was working smoothly and I wanted to commi...

ISust.1 by Associate
  • 287 Views
  • 0 replies
  • 0 kudos