I have connected logic analyzer to check how the DATA line looks like and this is the result:
The above waveform is sent every 1 second which does not make any sense to me. I have even put the breakpoint before the HAL_TIM_PWM_Start_DMA to check how does my wr_buf looks like:
Hello. I am trying to port the library to the STM32F407 MCU. I use WS2812B neopixel LED's.
See my full source code:
As you can see in my main.c I am just trying to set LED0 to red and LED1 to green:
My clock setup:
My TIM2 setup:
My TIM2 DMA setup:
I have connected logic analyzer to check how the DATA line looks like and this is the result:
The above waveform is sent every 1 second which does not make any sense to me. I have even put the breakpoint before the
HAL_TIM_PWM_Start_DMA
to check how does my wr_buf looks like:But it does not seem to match whatever is being sent as you can see from the waveforms..