EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Begging for help on interfacing a RCM3700 with a PC Keyboard

Started by diegocembal March 30, 2004
Hi,

Im Diego Cembal ( Electronics Engineer from Argentina ).
I need to develop, in Dynamic C language using a RCM3700, a program
that read from a serial port D the scan codes of the PC Keyboard keys
and after that decode them and generate the corresponding ASCII chars.

P.D: I need to solve this using "exclusively" a RCM3700.

Thanks in advance,
Eng. Diego Cembal


Check out the PS2KB library in the files section of this group. There are
some basic scan-code to ASCII tables as part of this library. You may need
to extend these or modify them if your keyboard is different, but they will
be a good start.

Enjoy,
Bill.

> -----Original Message-----
> From: diegocembal [mailto:diegocembal@dieg...]
> Sent: Tuesday, March 30, 2004 2:17 PM
> To: rabbit-semi@rabb...
> Subject: [rabbit-semi] Begging for help on interfacing a RCM3700 with a PC
> Keyboard
>
> Hi,
>
> Im Diego Cembal ( Electronics Engineer from Argentina ).
> I need to develop, in Dynamic C language using a RCM3700, a program
> that read from a serial port D the scan codes of the PC Keyboard keys
> and after that decode them and generate the corresponding ASCII chars.
>
> P.D: I need to solve this using "exclusively" a RCM3700.
>
> Thanks in advance, >
> Eng. Diego Cembal > Yahoo! Groups Links >
>



Hi Diego,
 
Take a look at ps2k.zip on the files section of the page of rabbit-semi group.
There you will find what you want...
 
Guilherme Carneiro
----- Original Message -----
From: diegocembal
To: r...@yahoogroups.com
Sent: Tuesday, March 30, 2004 4:16 PM
Subject: [rabbit-semi] Begging for help on interfacing a RCM3700 with a PC Keyboard

Hi,

Im Diego Cembal ( Electronics Engineer from Argentina ).
I need to develop, in Dynamic C language using a RCM3700, a program
that read from a serial port D the scan codes of the PC Keyboard keys
and after that decode them and generate the corresponding ASCII chars.

P.D: I need to solve this using "exclusively" a RCM3700.

Thanks in advance,
Eng. Diego Cembal

As somebody said it yesterday, this question was already discussed here.
Check posting from William Landoline from January 21st, 2004 - it seems
ready libraries are posted on the Files section. Check for "PS/2" keyword.

Whether this will fit your 3700 or not, I am not sure. AFAIK, 3700 is quite
restricted on signals which get out of the core, so you could run into
troubles.

HTH, George

-----Original Message-----
From: diegocembal [mailto:diegocembal@dieg...]
Sent: Tuesday, March 30, 2004 10:17 PM
To: rabbit-semi@rabb...
Subject: [rabbit-semi] Begging for help on interfacing a RCM3700 with a PC
Keyboard Hi,

Im Diego Cembal ( Electronics Engineer from Argentina ).
I need to develop, in Dynamic C language using a RCM3700, a program
that read from a serial port D the scan codes of the PC Keyboard keys
and after that decode them and generate the corresponding ASCII chars.

P.D: I need to solve this using "exclusively" a RCM3700.

Thanks in advance,
Eng. Diego Cembal Yahoo! Groups Links


Sine he has a PS2-RS232 converter, all he needs are the tables and
supporting decoder code. The tables are pretty compact and the code is
downright tiny. Also, if a very restricted subset is required, the tables
will provide the insight required to build something simpler.

I just looked at the 3700 specs and even if he needs raw PS-2 keyboard
connections there are the necessary pins. Two pins are required - one
interrupt pin and general purpose I/O pin.

Enjoy,
Bill.

> -----Original Message-----
> From: George Georgiev [mailto:g...@g.ge...]
> Sent: Tuesday, March 30, 2004 2:42 PM
> To: rabbit-semi@rabb...
> Subject: RE: [rabbit-semi] Begging for help on interfacing a RCM3700 with
> a PC Keyboard
>
> As somebody said it yesterday, this question was already discussed here.
> Check posting from William Landoline from January 21st, 2004 - it seems
> ready libraries are posted on the Files section. Check for "PS/2" keyword.
>
> Whether this will fit your 3700 or not, I am not sure. AFAIK, 3700 is
> quite
> restricted on signals which get out of the core, so you could run into
> troubles.
>
> HTH, George




Memfault Beyond the Launch