Your right! I didn't think of that. The fact that the chip may be = cheaper, and also that fact that you may want to do something outside = the USART protocol, like for instance auto-baud recognition. Good = point. > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of D. Jay Newman > Sent: Sunday, June 06, 2004 2:16 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC:] Beginner looking for suggestions >=20 > > If this is correct, I rack my brain trying to think of any > advantages bit-banging on a PIC would have over an on-chip > USART. What am I missing? >=20 > Generally you're right. However, there are a few cases where > bit-banging > can be necessary: >=20 > 1. You need one more than provided. Perhaps you're using a > 10Fxxx PIC > which have no USART. > 2. Perhaps you want something other than standard serial, such > as SPI > or I2C on a chip that doesn't support it or again, you want > one more > than are provided. > 3. You want a protocol which isn't provided on the chip. >=20 > Basically all of these go to one general rule: >=20 > You want one more of something than the chip provides. >=20 > Other than that I don't see any reason to bit-bang. >=20 > However, this is for my personal use. If I wanted to sell > something in > large quantites, it might be more economical for me to spend the > programming > time to bit-bang something on a less expensive chip. > -- > D. Jay Newman ! > jay@sprucegrove.com ! Xander: Giles, don't make cave-slayer > unhappy. > http://enerd.ws/robots/ ! >=20 > -- > http://www.piclist.com hint: PICList Posts must start with ONE > topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: > ->Ads >=20 > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.699 / Virus Database: 456 - Release Date: 6/4/2004 >=20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 6/4/2004 =20 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads