@anks - Not sure what you are pointing at here- I added a clock to the component - I can add only 12MHz. The lights are always white- they are not updating to the color I am commanding.
Please upload your project
As Of now I cannot upload the project. Is it possible to upload a video without hosting on youtube?
I continued to do some basic test on my project- I stripped out everything - periodically updating the LED pixels and triggering it. It works when I use a delay to implement this :
In USR_LED I have the StripLights_Pixel() and StripLights_Trigger() functions.
When I make my USR_LED as callback to systick 1ms timer, and I only call the StripLights_Pixel() and StripLights_Trigger() after a local counter increments to 100 (giving me 100ms), my leds get corrupted.
What is the approach to handle the StripLights_Pixel() and StripLights_Trigger() calls inside a systick callback?
I was able to solve this by modifying the striplights component code. The problem was arising because the component updates all the leds at once, which in my case takes a couple of milliseconds, and I have a systick interrupt interrupting every millisecond. The modification was to do only one channel at a time (less than 1 millisecond) and disable systick during this.