EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

PS/2 to Serial\SPI converter?

Started by Mayank Kaushik February 12, 2005
Hi,

Im working on building a dev board based on the AT91rm9200. I have
based this design on the AT91rm9200-DK for reference. Im trying to add
a keyboard to this board, but this has been hampered by the
non-availability of the chip thats used to convert the PS/2 data to
serial or SPI on the AT91rm9200-DK, the UR6HCPS2-SP40.

Does anyone know any alternative to this particular chip? If yes, plz
do tell me..do Maxim or National have models for these? I live in New
Delhi, India, so getting parts made by small companies in the US or
China is nearly impossible...Maxim, TI etc are still viable.

Plz advise.

Thanx in anticipation

Mayank


Mayank Kaushik wrote:

> Hi, > > Im working on building a dev board based on the AT91rm9200. I have > based this design on the AT91rm9200-DK for reference. Im trying to add > a keyboard to this board, but this has been hampered by the > non-availability of the chip thats used to convert the PS/2 data to > serial or SPI on the AT91rm9200-DK, the UR6HCPS2-SP40. > > Does anyone know any alternative to this particular chip? If yes, plz > do tell me..do Maxim or National have models for these? I live in New > Delhi, India, so getting parts made by small companies in the US or > China is nearly impossible...Maxim, TI etc are still viable. > > Plz advise. > > Thanx in anticipation > > Mayank
PS/2 is no secret. You could talk to it from you uP, or use a smaller uP to do the conversion (8051,PIC,AVR)
> > Does anyone know any alternative to this particular chip? If yes, plz > > do tell me..do Maxim or National have models for these? I live in New > > Delhi, India, so getting parts made by small companies in the US or > > China is nearly impossible...Maxim, TI etc are still viable. > > > > Plz advise. > > > > Thanx in anticipation > > > > Mayank > > PS/2 is no secret. You could talk to it from you uP, or use a smaller uP > to do the conversion (8051,PIC,AVR) >
I think there are AVR application notes how to do this.... -- Best Regards, Ulf Samuelsson ulf@a-t-m-e-l.com This message is intended to be my own personal view and it may or may not be shared by my employer Atmel Nordic AB
Ulf Samuelsson wrote:

>> > Does anyone know any alternative to this particular chip? If yes, plz >> > do tell me..do Maxim or National have models for these? I live in New >> > Delhi, India, so getting parts made by small companies in the US or >> > China is nearly impossible...Maxim, TI etc are still viable. >> > >> > Plz advise. >> > >> > Thanx in anticipation >> > >> > Mayank >> >> PS/2 is no secret. You could talk to it from you uP, or use a smaller uP >> to do the conversion (8051,PIC,AVR) >> > > I think there are AVR application notes how to do this....
or you can use the RX of one uart of the AT91RM9200 configured on its external clock provided by the keyboard and 2 GPIO (for host -> keyboard) to design a PS/2 interface. Eric
On 12 Feb 2005 04:36:34 -0800, "Mayank Kaushik"
<prehistorictoad2k@yahoo.com> wrote in comp.arch.embedded:

> Hi, > > Im working on building a dev board based on the AT91rm9200. I have > based this design on the AT91rm9200-DK for reference. Im trying to add > a keyboard to this board, but this has been hampered by the > non-availability of the chip thats used to convert the PS/2 data to > serial or SPI on the AT91rm9200-DK, the UR6HCPS2-SP40. > > Does anyone know any alternative to this particular chip? If yes, plz > do tell me..do Maxim or National have models for these? I live in New > Delhi, India, so getting parts made by small companies in the US or > China is nearly impossible...Maxim, TI etc are still viable. > > Plz advise. > > Thanx in anticipation > > Mayank
The AT91RM9200 has a USB 1.1 host built in. Have you considered looking at a USB keyboard? It suddenly occurs to me that while there are plenty of USB mice, I don't know that I've ever seen a USB keyboard. Of course you'd need USB host driver software, but no electronics to interface it, just the connector. -- Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/ alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
On Saturday, in article
     <6r8t01hhh00pn81qa7elfspkhsd5contmb@4ax.com>
     jackklein@spamcop.net "Jack Klein" wrote:
>On 12 Feb 2005 04:36:34 -0800, "Mayank Kaushik" ><prehistorictoad2k@yahoo.com> wrote in comp.arch.embedded: >> Hi, >> >> Im working on building a dev board based on the AT91rm9200. I have >> based this design on the AT91rm9200-DK for reference. Im trying to add >> a keyboard to this board, but this has been hampered by the >> non-availability of the chip thats used to convert the PS/2 data to >> serial or SPI on the AT91rm9200-DK, the UR6HCPS2-SP40.
...
> >The AT91RM9200 has a USB 1.1 host built in. Have you considered >looking at a USB keyboard? > >It suddenly occurs to me that while there are plenty of USB mice, I >don't know that I've ever seen a USB keyboard. Of course you'd need >USB host driver software, but no electronics to interface it, just the >connector.
Plenty of USB keyboards just sorted one out for a friend today, first place I looked ahd a choice of over 40 in their online catalogue! -- Paul Carpenter | paul@pcserviceselectronics.co.uk <http://www.pcserviceselectronics.co.uk/> PC Services <http://www.gnuh8.org.uk/> GNU H8 & mailing list info <http://www.badweb.org.uk/> For those web sites you hate
Hi everyone,

A USB keyboard is an option i dont want to consider, since i dont have
hardware to debug it (not JTAG etc), im relying on the DBGU. Thats why
i wanted a PS/2 inteface, since its so simple.

regards
Mayank


The 2024 Embedded Online Conference