Hello,
I need to send DMX-512 protocol data with CC2530.
DMX-512 protocol requires 250kbps, 8bit data, 1 start bit, 2 stop bits, no parity, via RS485 - the intial condition before transmission of a packet is a space period of from 88 micro sec to 1 sec, followed by a mark period of 8 micro sec, plus max 513 bytes data.
Could some one advise a way to implement DMX-512 protocol?
Thanks in advance,
Yesok Yoon
Yesok,
you could use the UART module on CC2530 but the speed is up to 230.4 Kbps, not 250 Kbps.
You would have to modify the UxBAUD.BAUD_M bits, UxGCR.BAUD_E bits and UxUCR.PARITY, UxUCR.SPB bits with respect to a standard UxART config.
Please refer to the CC2530 user guide for the values that those bits can assume in case 230.4 kbps and 2 stop bits shall be used.
Thanks,
TheDarkSide