DMX baudrate is 250 000 Baud, 9600 will never ever work.
AND as you dont use any HSERIN/HSEROUT, the DEFINE HSER_xxx are useless. You need to write the right value directly to the SPBRG, RCSTA, TXSTA register
AND @4MHZ... good luck to have a reliable 250K baud serial comm. 12MHZ and up will work.
Bookmarks