Comments: Pulse Width Modulation


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #1415593 / about 6 years ago / 1

    Hi I'm working on a project with RGB light control using STM8L controller. Now I'm controlling the RGB via radio communication.

    One issue I'm having is if i connect the load (RGB) in the output after sometime I lose communication with the deivce, but yesterday I left my device on for 17hrs and it didn't lose communication.

    -Is the load causing the loss in communication? -I'm generating PWM using Timer 1 of STM8L and my fsource is 16MHz with counter period of 999. (is my frequencytoo high?)

If you've found an issue with this tutorial content, please send us your feedback!