Searching \ for '[PIC:] RS232 UART speed, Does it support 115200 re' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=rs232
Search entire site for: 'RS232 UART speed, Does it support 115200 re'.

Exact match. Not showing close matches.
PICList Thread
'[PIC:] RS232 UART speed, Does it support 115200 re'
2004\06\25@120004 by Selcuk OCMEN

flavicon
face
Hi there!



PIC RS232 UART speed, Does it support 115200 and reliable?



Cheers,



Selcuk Ocmen


--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\06\25@120628 by D. Jay Newman

flavicon
face
> PIC RS232 UART speed, Does it support 115200 and reliable?

I haven't had any problems.

However, I would use resonators or crystals rather than an R/C oscillator
for accuarcy.
--
D. Jay Newman           ! DCX - it takes off and lands base first,
spam_OUTjayTakeThisOuTspamsprucegrove.com     !       as God and Robert Heinlein intended.
http://enerd.ws/robots/ !

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\06\25@121702 by Selcuk OCMEN

flavicon
face
Thanx a lot, any recommendation of PIC model 16Fxx?

I just need only 8 bit I/O port and UART?

Selcuk

{Original Message removed}

2004\06\25@122958 by D. Jay Newman

flavicon
face
> Thanx a lot, any recommendation of PIC model 16Fxx?
>
> I just need only 8 bit I/O port and UART?

I would look at the data sheets to find the one with the programming
space and RAM that you need.
--
D. Jay Newman           ! DCX - it takes off and lands base first,
.....jayKILLspamspam@spam@sprucegrove.com     !       as God and Robert Heinlein intended.
http://enerd.ws/robots/ !

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\06\25@130644 by Kyrre Aalerud

flavicon
face
Remember, the rx is synchronized to every start-bit so as long as error
don't exceed 20-30% or so pr byte with stop-bits, it should be reliable.
I have run the PIC's with internal oscillator on a very wide range of
bitrates with a very big percentage of error without a single
tranmission-error.

The wiring from the level converter and onward to remote host is actually
more important than the rate-error it theese cases.

Kyrre



----- Original Message -----
From: "Selcuk OCMEN" <selcukospamKILLspamISEMARKET.COM>
To: <.....PICLISTKILLspamspam.....MITVMA.MIT.EDU>
Sent: Friday, June 25, 2004 6:17 PM
Subject: Re: [PIC:] RS232 UART speed, Does it support 115200 reliable?


> Thanx a lot, any recommendation of PIC model 16Fxx?
>
> I just need only 8 bit I/O port and UART?
>
> Selcuk
>
> {Original Message removed}

2004\06\25@134005 by Byron A Jeff

face picon face
On Fri, Jun 25, 2004 at 06:49:30PM +0300, Selcuk OCMEN wrote:
> Hi there!
>
>
>
> PIC RS232 UART speed, Does it support 115200 and reliable?

Sure. Works fine. You need to use a crystal or resonator though. Also
the frequency of the crystal determines the error. For example there is
error for 115200 @ 20 Mhz. However at 18432000 the error is zero because
115200 divides evenly into it 160 times.

BAJ

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\06\25@134420 by Wouter van Ooijen

face picon face
> Thanx a lot, any recommendation of PIC model 16Fxx?
> I just need only 8 bit I/O port and UART?

16F628A

16F630 if you can afford to bit-bang the UART

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\06\25@141157 by Lindy Mayfield

flavicon
face
>
> > Thanx a lot, any recommendation of PIC model 16Fxx?
> > I just need only 8 bit I/O port and UART?
>
> 16F628A
>
> 16F630 if you can afford to bit-bang the UART
>
> Wouter van Ooijen
>
Would the 16F88 also fit the bill?  I was asking because I though I had seen the two compared before as being compatible somehow.

---
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

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\06\25@150517 by Mike Hord

picon face
> > PIC RS232 UART speed, Does it support 115200 and reliable?
>
>I haven't had any problems.
>
>However, I would use resonators or crystals rather than an R/C oscillator
>for accuarcy.

I think at that speed you may find it valuable to choose a "convenient"
oscillator frequency; for example, 3.6864 MHz, which gives you a "no-
error" BRG value.

Otherwise, I'm using it right now.  I'm actually finding it a little tougher
on the PIC side to deal with the data coming from the PC, but that
really only becomes an issue with large writes (tens or hundreds of
bytes), and then only rarely depending on what you want to do with
the data.

Mike H.

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page   FREE
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\06\25@175541 by Byron A Jeff

face picon face
On Fri, Jun 25, 2004 at 08:11:29PM +0200, Lindy Mayfield wrote:
> >
> > > Thanx a lot, any recommendation of PIC model 16Fxx?
> > > I just need only 8 bit I/O port and UART?
> >
> > 16F628A
> >
> > 16F630 if you can afford to bit-bang the UART
> >
> > Wouter van Ooijen
> >
>

> Would the 16F88 also fit the bill?  I was asking because I though I had
> seen the two compared before as being compatible somehow.

The 16F88 is a much more fully fetured part. Extr features include:

* nanowatt with precision internal oscillator, multi speed, and ultra low power
 modes.
* Self programmable.
* double the data and EEPROM memory and 64 percent more RAM.
* Analog to digital converter.

The extra memory, internal precision multispeed oscillator, and the self
programmbility makes it a winner for the hobbyist. Of course it's a bit more
pricey thn the 16F628. But Wouter is close to the mark with his choice. In
fact if memory isn't an issue than even a 16F627 or possible a 16F716 could
fit the bill at a cheaper price.

BAJ

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\06\28@042343 by Selcuk OCMEN

flavicon
face
Hi there!

Thnaqks for the answers,
I am planning to send 115200 continuously from RS232 port , WAV PCM file and

PIC will receive this Voice data and put to port for D/A  , just like a
simple sound card.. I worry about that if I miss the start bit , do I loose senkronization..?
Because data comes contiinoýsly from PC..

Thnx & rgrds

Selcuk



{Original Message removed}

2004\06\28@080548 by Byron A Jeff

face picon face
On Mon, Jun 28, 2004 at 11:23:36AM +0300, Selcuk OCMEN wrote:
> Hi there!
>
> Thnaqks for the answers,
> I am planning to send 115200 continuously from RS232 port , WAV PCM file and
>
> PIC will receive this Voice data and put to port for D/A  , just like a
> simple sound card..
> I worry about that if I miss the start bit , do I loose senkronization..?
> Because data comes contiino?sly from PC..

Did you ever specify the part? Does it have a hardware USART?

As outlined below, if you use a crystal that doesn't have too much error and
a hardware USART then you shouldn't have to worry about anything related to
the serial interface.

Fr. Thomas McGahee has an excellent PIC USART tutorial. A must read for this
type of application. He constructed it as working code with ultra extensive
comments. You can find Fr. McGahee's page here:

http://www.pic101.com/mcgahee/index.html

BAJ

>
> Thnx & rgrds
>
> Selcuk
>
>
>
> {Original Message removed}

2004\06\28@094845 by D. Jay Newman

flavicon
face
> > Thnaqks for the answers,
> > I am planning to send 115200 continuously from RS232 port , WAV PCM file and
> >
> > PIC will receive this Voice data and put to port for D/A  , just like a
> > simple sound card..
> > I worry about that if I miss the start bit , do I loose senkronization..?
> > Because data comes contiino?sly from PC..
>
> Did you ever specify the part? Does it have a hardware USART?
>
> As outlined below, if you use a crystal that doesn't have too much error and
> a hardware USART then you shouldn't have to worry about anything related to
> the serial interface.

I've used PICs with a hardware UART and a ceramic resonator and had no
trouble communicating at 115200 with a PC.
--
D. Jay Newman           ! DCX - it takes off and lands base first,
EraseMEjayspam_OUTspamTakeThisOuTsprucegrove.com     !       as God and Robert Heinlein intended.
http://enerd.ws/robots/ !

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservspamspam_OUTmitvma.mit.edu with SET PICList DIGEST in the body

2004\06\28@122713 by Byron A Jeff

face picon face
On Mon, Jun 28, 2004 at 09:47:15AM -0400, D. Jay Newman wrote:
> > > Thnaqks for the answers,
> > > I am planning to send 115200 continuously from RS232 port , WAV PCM file and
> > >
> > > PIC will receive this Voice data and put to port for D/A  , just like a
> > > simple sound card..
> > > I worry about that if I miss the start bit , do I loose senkronization..?
> > > Because data comes contiino?sly from PC..
> >
> > Did you ever specify the part? Does it have a hardware USART?
> >
> > As outlined below, if you use a crystal that doesn't have too much error and
> > a hardware USART then you shouldn't have to worry about anything related to
> > the serial interface.
>
> I've used PICs with a hardware UART and a ceramic resonator and had no
> trouble communicating at 115200 with a PC.

Jay,

Sorry. Ill specified. Resonators are included. It's RC that can cause trouble.

So maybe it should read "...if you don't use and RC oscillator..."

BAJ

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email @spam@listservKILLspamspammitvma.mit.edu with SET PICList DIGEST in the body

2004\06\28@123626 by David VanHorn

flavicon
face
>
>Sorry. Ill specified. Resonators are included. It's RC that can cause trouble.
>
>So maybe it should read "...if you don't use and RC oscillator..."

I'm sure you could go RC, you'd just have to be a little smarter about it.
Start out at a nominal baud rate, and make a rule that null bytes are not acceptable until communications have been established.

Measure the shortest bit time coming in.
Then adjust your uart speed to put it in the acceptable range.

It's kind of similar to what humans do when sending morse code, which has continuously variable bit rate. You call "CQ" at whatever speed you're comfortable at, and the other guy responds no faster than that, but he may respond significantly slower, indicating that he's not comfortable going that fast.
Then you adjust your speed downward, to his.

I'm sure this could be done in software, given a reasonable startup sequence.

You could also track thermal drift, by continuing to measure the shortest pulse width, and adjusting by no more than say 2% per byte.

It's a PITA, but you only have to write software once (we hope), but you have to buy parts millions of times.  If the job is large enough, then you spend the extra codespace and dollars on development time up front, and save the pennies in production.

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email KILLspamlistservKILLspamspammitvma.mit.edu with SET PICList DIGEST in the body

More... (looser matching)
- Last day of these posts
- In 2004 , 2005 only
- Today
- New search...