Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

stm32f1xx how to use DMA to write to TIMx CCR

I am trying to control WS2812b digital LEDs with stm32f103. I have a buffer of color values for the LED strip and to transfer them I need to write the next value to the timer's CCR every time the ...
George's user avatar
  • 245
0 votes
3 answers
5k views

How to invert PWM signal on STM32

I am trying to control a WS2812 LED with STM32F103. The LED is a digital RGB LED also known as Neopixel. They are controlled by sending 24 bits of color data per LED to the first LED's data pin. The ...
George's user avatar
  • 245
3 votes
1 answer
2k views

STM32 cant get DMA on PWM

I wish to drive a set of NEOPIXELS (ws2812b) using the STM32F4 discovery board, so far i managed to get a 800 kHz PWM signal using the CubeMX. And And the following code: ...
Bart Admiraal's user avatar
0 votes
1 answer
627 views

STM32f103 DMA with PWM repeating values

I have a Blue Pill (STM32F103) and connected to it a ws2812b led strip. I am trying to send data to the led strip via PWM over the TIM2 peripheral (Pin A0). To change the duty cycle of the TIM2 PWM I ...
user9162088's user avatar