Mizar32: Pull floating UART RX pin high in software

classic Classic list List threaded Threaded
2 messages Options
Martin Guy Martin Guy
Reply | Threaded
Open this post in threaded view
|

Mizar32: Pull floating UART RX pin high in software

This patch fixes a problem with Mizar32 that manifests when the serial
console board is not plugged in.
Without it, when UART input buffer is enabled, the RX pin goes up and
down according to surrounding electrical noise and causes an infinite
number of interrupts.
This patch enables the internal pull-up resistor on that pin, allowing
the UART input buffer to be enabled in generic firmware. This, in
turn, makes copy and paste of multiple lines into the serial console
terminal emulator possible (without the input buffer it loses
characters or blocks the interpreter).

   M

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev

elua-mizar32-fix-floating-serial-pin.patch (1K) Download Attachment
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Mizar32: Pull floating UART RX pin high in software

Merged to trunk (r884).

Best,
Bogdan

On Sun, Jan 16, 2011 at 12:13 AM, Martin Guy <[hidden email]> wrote:

> This patch fixes a problem with Mizar32 that manifests when the serial
> console board is not plugged in.
> Without it, when UART input buffer is enabled, the RX pin goes up and
> down according to surrounding electrical noise and causes an infinite
> number of interrupts.
> This patch enables the internal pull-up resistor on that pin, allowing
> the UART input buffer to be enabled in generic firmware. This, in
> turn, makes copy and paste of multiple lines into the serial console
> terminal emulator possible (without the input buffer it loses
> characters or blocks the interpreter).
>
>   M
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev