Low level serial access for sending DMX?
Posted: Thu Jan 14, 2016 8:51 pm
I'm currently on my last step of porting my artnet library from the ti connected launchpad to the ESP8266 arduino IDE, getting DMX output working. (currently it correctly reports it's status to poll replies and controls a single LED on channel 1 universe 0)
I use this code: https://github.com/solexious/Artnetnode ... #L229-L240
on the energia IDE to correctly send out the first frame flag of the DMX packet, then switch it to the correct mode and dump out the frame of DMX into the UART buffer to be sent while the MCU is free to do other things.
Is there a way for me to have the same low level control of the UART in this arduino IDE board for the esp8266? I need to be able to set the serial speed, then control the parity and number of stop bits of the UART port chosen.
Best,
Sol
I use this code: https://github.com/solexious/Artnetnode ... #L229-L240
on the energia IDE to correctly send out the first frame flag of the DMX packet, then switch it to the correct mode and dump out the frame of DMX into the UART buffer to be sent while the MCU is free to do other things.
Is there a way for me to have the same low level control of the UART in this arduino IDE board for the esp8266? I need to be able to set the serial speed, then control the parity and number of stop bits of the UART port chosen.
Code: Select all
ROM_UARTConfigSetExpClk(UART0_BASE, F_CPU, 125000,
(UART_CONFIG_PAR_NONE | UART_CONFIG_STOP_TWO |
UART_CONFIG_WLEN_8));
Best,
Sol