Re: Keypad data reception

From: CBarn24050 (cbarn24050_at_aol.com)
Date: 11/06/04


Date: 06 Nov 2004 00:17:46 GMT


>Subject: Keypad data reception
>From: leonlai2k@yahoo.com (terry)
>Date: 05/11/2004 02:01 GMT Standard Time
>Message-id: <9904d48.0411041801.7d28af63@posting.google.com>
>
>Hi,
>
>I am doing a project which needs to interface a AT compatible keypad.
>I find somethimes the keys returned is wrong. I used external
>interrupt to obtain serial data from the PS2 interface. I suspect that
>during reception timer interrupt or other interruptes make the data
>conrrupted as some edges are missed.

>
>What could I do? What is the usual method to do PS2-interface data
>reception? Use another delicated MCU to do the PS2 data reception?

Hi, your method should work ok, you are useing the clock edge as the interrupt
souce? If you have other higher priority interrups running that coould cause a
problem if they are long routines, try to shorten them.