[En-Nut-Discussion] problem using fflush() (Klaus Kloos)

Henrik Maier hmnews at proconx.com
Tue Oct 25 14:59:27 CEST 2011

On 25/10/2011 6:26 PM, Harald Kipp wrote:
> break signal will last for at least a full character length. DMX512
> requires a minimum time of 92us. If I understood it right, this have to
> be followed by 12us "inverted break". Hummmm! AFAIK, the UART can't to
> this. Thus we have to use GPIO.

One dirty trick to use the UART rather GPIO with DMX512 is switching the 
baudrate form 250kbit/s to 57600 and then to send a nul (0x00) character 
to simulate the break and then back to 250kbit/s. The 88 us length 
requirement is a minimum, so it can be longer.


More information about the En-Nut-Discussion mailing list