[En-Nut-Discussion] Serial commnunication break signal

Fernando Me Ga ferradi at gmail.com
Tue Oct 26 18:27:50 CEST 2010


Hello Rob,

Thanks for your help, this is I were looking for, but, do you know how
to enable / disable the UART functions on Ethernut 1?

Thank you.

Regards,
Fernando

> Hello Rob,
>
> Not sure which platform you are using, but in my Mega128/256 designs I need
> a break signal and a mark after break signal (DMX) with precise timing. You
> can't use the UART control for that as far as I know, but you can simply use
> the Tx pin  of the UART, just by defining it as an (temporary) output and
> use a timer to set or clear the pin. After completion (break or mark after
> break), enable the UART function again for that pin and start sending.
>
> Make sure you keep track of the level you left the Tx pin at, if not, an
> unwanted extra break (or startbit) could be the result when starting the
> first byte.
>
> This one works fine for me, but there might be other ways to do it though.
>
> Regards,
>
> Rob van Lieshout
>
>
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>



More information about the En-Nut-Discussion mailing list