Re: TI-H: TI-MOUSE
[Prev][Next][Index][Thread]
Re: TI-H: TI-MOUSE
>"All you would have to do"..? Okay, it's easy to convert the voltage
>levels with a MAX232 but the software part is a lot trickier. Most mice
>use 1200 bps and you would have to get the timing right from the TI's
>end. You can't use the clock interrupt because it's too slow, about 200
>Hz.
Maybe, but it would be possible. If one made his programs main
loop thight enough (well, it would probably be way too thight to
be of any use) he could use some sort of polling to read the
mouse, it wouldn't hurt if one missed a message now and then. But
I have to admit that you're right in that that it wouldn't be
practical.
>The only practical solution would be to connect a UART to the TI and use
>it to time the RS232C operations right. In fact, that's what I'm
>currently trying to build (as one of my projects...oh well.) I should
>get the SCC2691 UART tomorrow and connect it to the TI with two
>PCF8574's. Also, a MAX232 will be needed. With that design it is
>possible to connect a mouse, or any other RS232C device such as a modem,
>to the link port. But it costs about $30 (I'd guess, FIM 150 if you're
>interested) to build.
Well, the really practical way would be the microcontroller expander
which could do the serial i/o+buffering+link port multiplexing.
Follow-Ups:
References: