cancel
Showing results for 
Search instead for 
Did you mean: 

Addressable LED Programming in STM8

PreethiT
Associate II

We are trying to program addressable LEDs through STM8 microcontroller. For the initial development, we use the NUCLEO-8S208RB. The architecture is as below image. Eight "IN-PI33QBTPRPGPBPW-60" LEDs connected to a data line in daisy chain.

PreethiT_0-1740717336412.png

We face some issues in turning ON the LEDs. The colors doesn't match the input code or few of the LEDs doesn't turn ON at all. We couldn't achieve the data transmission period of 1.20us with the controller. Is the controller not capable of achieving this? Or is that we need to fine tune our code to achieve the required data transmission time?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Tesla,

Yes, we use logic analyzer to debug the code and we are using TIM to modulate the signal. My question is whether the STM8 controller is capable for providing a 1.20us data?

View solution in original post

3 REPLIES 3
Billy OWEN
ST Employee

Hi @PreethiT 

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards,

Billy

Expect that you'll need to break out an oscilloscope or logic analyzer and debug YOUR code / implementation, and understand what the problem is, and what speed the signals are, and if your approach need to be refined.

Are you bit banging the GPIO or using TIM to modulate the signal?

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

Hi Tesla,

Yes, we use logic analyzer to debug the code and we are using TIM to modulate the signal. My question is whether the STM8 controller is capable for providing a 1.20us data?