3 Replies Latest reply on Jul 15, 2020 3:57 AM by HemanthR_06

    How to drive RGB LED controller with high frequency PMW?


      I have an LED controller where the RGB value is programmed with 24 bits of input data (attached to a GPIO pin)


      The timings are 1.2 uS per bit. A high bit would be 0.9 uS high and 0.3 uS low - and a low bit is the opposite with 0.3uS High and 0.9uS Low.


      So my question is how would I set up a GPIO pin on the FX3 to send a sequence of 24 bits at that speed? I was trying to use the example from:

      Pulse on FX3 Complex GPIO – KBA228439


      but wasn't able to get anything working since it seems like the calls between PulseNow would mess up the timing between bits. Thanks for the help!