Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

USART usage with PS/2 Mouse

USART usage with PS/2 Mouse

2005-05-30 by mal_ibn

Hi,

does the synchronous section of USART work on the PS/2 mouse protocol. 
I expect some trouble with the ACK or with the Host Send-Request which 
might confuse the bitcounter within the USART. 

regards, Alexander

Re: USART usage with PS/2 Mouse

2005-05-30 by Karl Olsen

--- In lpc2000@yahoogroups.com, "mal_ibn" <mal_ibn@g...> wrote:

> does the synchronous section of USART work on the PS/2 mouse 
> protocol. 
> I expect some trouble with the ACK or with the Host Send-Request 
> which might confuse the bitcounter within the USART. 

The LPC2000 UARTs are 16C550 compatible, and they don't have a 
synchronous section.  They won't work with the PS/2 protocol.

Karl Olsen

Re: USART usage with PS/2 Mouse

2005-06-01 by mal_ibn

Oops, I mixed up USART from Atmel AT91SAM7 with UART from LPC. I have 
both here on my desk (SAM7 = 16K RAM + more IO-pins / LPC2106 = 64K 
RAM + a little faster). I looked at LPC and thought SAM7 USART.

Seems that I have to bit-bang the mouse-protocol.

Does a SW-solution exist? Do you know an application that uses plain 
I/O and interrupt?

regards, Alexander

--- In lpc2000@yahoogroups.com, "Karl Olsen" <kro@p...> wrote:
Show quoted textHide quoted text
> --- In lpc2000@yahoogroups.com, "mal_ibn" <mal_ibn@g...> wrote:
> 
> > does the synchronous section of USART work on the PS/2 mouse 
> > protocol. 
> > I expect some trouble with the ACK or with the Host Send-Request 
> > which might confuse the bitcounter within the USART. 
> 
> The LPC2000 UARTs are 16C550 compatible, and they don't have a 
> synchronous section.  They won't work with the PS/2 protocol.
> 
> Karl Olsen

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.