PSOC 4 DMX Decoder/RGBW Lighting driver Help | Cypress Semiconductor
PSOC 4 DMX Decoder/RGBW Lighting driver Help
I am trying to create an RGBW lighting controller using a DMX UART input signal, and 4 PWM outputs to lighting drivers.
I am wondering if anyone has any experience implementing a DMX reciever/decoder into a PSOC 3/4/5 using the Creator software. I am fairly new to this, so pardon my ignorance. The DMX protocol receives 512 bytes of data after a 100us break and 12us MAB:
They are followed by an initial byte, and up to 512 data bytes afterward. I guess I have to detect that initial condition somehow, and then parse the bytes. I read somewhere in the forums that the UART unit I will use to receive the data only has a 4 byte buffer, so somehow I will have to transfer them out as they come in.
Any help with this is very much appreciated. I have figured out the rest of my application, but just need to know how to parse this data.
Thank you in advance,