cancel
Showing results for 
Search instead for 
Did you mean: 

How to interface WS2813 LED strip to STM32F413ZH development board

Smedi
Associate II

I have an STM32F413 disco board and now I have to interface WS2813 LED strip to the controller board.I found a sample code for nucleo board but I didn't understand how they interfaced to the board.I ported their code to our controller board but I am not clear with the connections they are using.Can anyone help me out from this.

Regards

Srikanth.

3 REPLIES 3

Is there a web page or git hub for the code you found?

What pins does that code configure? What NUCLEO board did it target?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Smedi
Associate II

Did you end up getting this working? From quick glance it seems the data pin for the WS2813 is PB10.

I'm trying to run this on STM32CubeIDE for a nucleo-L476RG. It converted successfully but I just get stuck in an infinite loop when debugging through osKernelStart();

Edit: turns out that github you linked has non functioning code. He has posted a working version on gitlab: https://gitlab.com/wolvi-lataniere/STM32-WS2813-Driver/tree/88a48d8ae3c61e293ee2529f3dd7f71d8aab2bcf

Code outputs on PA6 and confirmed to work with STM32CubeIDE with Nucleo-L476RG board.