Re: PIC, Keyboard, and USART
- From: Jonathan Kirwan <jkirwan@xxxxxxxxxxxxxx>
- Date: Thu, 23 Mar 2006 22:00:27 GMT
On 23 Mar 2006 13:16:40 -0800, "David L. Jones" <altzone@xxxxxxxxx>
wrote:
Abstract Dissonance wrote:
I'm going to try to program a simple keyboard translator using the PIC2455
which has a built in EUSART. At this point I just want to get the keyboard
codes into the pic and I just want to run this by you guys to make sure I'm
on the right track.
1. Setup hardware. Basicaly just have to connect the Data and Clock lines to
the EUSART pins on the pic
2. Enable the USART on the pic for Asynchronous mode and enable auto baud
rate dection(to make it easy).
No. You will need *synchronous* slave mode which uses the external
clock from the keyboard.
<snip>
Actually, the clock line should also be able to be driven by the
non-keyboard end of things, as well. The other end is responsible for
it's own clock driving action. These are bi-directional lines
supporting bi-directional communication and there is a negotiating
protocol that should be supported.
Jon
.
- Follow-Ups:
- Re: PIC, Keyboard, and USART
- From: Abstract Dissonance
- Re: PIC, Keyboard, and USART
- References:
- PIC, Keyboard, and USART
- From: Abstract Dissonance
- Re: PIC, Keyboard, and USART
- From: David L. Jones
- PIC, Keyboard, and USART
- Prev by Date: Re: PIC, Keyboard, and USART
- Next by Date: Simple circuit to generate 12VDC from a 9v battery?
- Previous by thread: Re: PIC, Keyboard, and USART
- Next by thread: Re: PIC, Keyboard, and USART
- Index(es):
Relevant Pages
|
Loading