2025-02-27 8:42 PM
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.
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?
Solved! Go to Solution.
2025-03-02 6:58 PM
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?
2025-02-28 10:30 AM
Hi @PreethiT
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Billy
2025-02-28 10:42 AM
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?
2025-03-02 6:58 PM
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?