Article View: sci.electronics
Article #5272serial routines for 8051
From: Doug Mcintyre
Date: Wed, 25 Jul 1990 22:06
Date: Wed, 25 Jul 1990 22:06
19 lines
1370 bytes
1370 bytes
First off, can anyone tell me why the 8048 is used so much in serial
keyboards? I have three extremely different ones around here, and all use some
variant of that line..
I'm looking for some routines for an 8051/8031 that does serial..
I have an extremely weird word size (21 bits) that the usual UART can't
handle, and the normal serial port on the 8051 can't handle..
So has anybody done any serial stuff using the timers on the 8051?
I have an idea of what needs to be done, hook up the data to INT0, and set up
a timer to timeout at the end of one bit cell, so that software could look at
the data line and see if there is a one or a zero there.. But timing is nasty
business..
I'd appreciate any info/routines people could suggest..
UUCP: {rosevax, crash}!orbit!pnet51!dougm Compuserve: 70611,2215
ARPA: crash!orbit!pnet51!dougm@nosc.mil ALPE: DougMac
INET: dougm@pnet51.cts.com GENIE: D.MCINTYRE1
Technical Details
Message-ID:
<2921@orbit.cts.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!nosc!crash!orbit!pnet51!dougmShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!nosc!crash!orbit!pnet51!dougm From: dougm@pnet51.orb.mn.org (Doug Mcintyre) Newsgroups: sci.electronics Subject: serial routines for 8051 Message-ID: <2921@orbit.cts.com> Date: 25 Jul 90 22:06:13 GMT Sender: news@orbit.cts.com Organization: People-Net [pnet51], Minneapolis, MN. Lines: 19