I'm trying to run this library on STM32F030K6T6, but I have a trouble with it.
All configs are correctly set, but the frequency is 4 times slower than that supposed to.
Screens:
Of course I added the TIM_NUM 17 to ARGB.c and hard-coded frequency, which should not effect on performance:
`void ARGB_Init(void) {
u32_t APBfq = 48000000; // Clock freq
Hi!
I'm trying to run this library on STM32F030K6T6, but I have a trouble with it. All configs are correctly set, but the frequency is 4 times slower than that supposed to.
Screens:
![obraz](https://github.com/Crazy-Geeks/STM32-ARGB-DMA/assets/22656954/d611da81-5b41-411f-acf9-b105417c678c)
Of course I added the TIM_NUM 17 to ARGB.c and hard-coded frequency, which should not effect on performance: `void ARGB_Init(void) { u32_t APBfq = 48000000; // Clock freq
ifdef WS2811S`
ARGB.h: `#define WS2812 ///< Family: {WS2811S, WS2811F, WS2812, SK6812} // WS2811S — RGB, 400kHz; // WS2811F — RGB, 800kHz; // WS2812 — GRB, 800kHz; // SK6812 — RGBW, 800kHz
define NUM_PIXELS 100 ///< Pixel quantity
define USE_GAMMA_CORRECTION 1 ///< Gamma-correction should fix red&green, try for yourself
define TIM_NUM 17 ///< Timer number
define TIM_CH TIM_CHANNEL_1 ///< Timer's PWM channel
define DMA_HANDLE hdma_tim17_ch1_up ///< DMA Channel
define DMA_SIZE_WORD ///< DMA Memory Data Width: {.._BYTE, .._HWORD, .._WORD}`