Searching \ for '[PIC] Which USART mode is the one for the PC?' 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=usart
Search entire site for: 'Which USART mode is the one for the PC?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Which USART mode is the one for the PC?'
2005\05\05@095159 by Kerrisnow

flavicon
face
Dear all,

I want to send a character to the HyperTerminal app on win2000.
Which mode do I choose:

full duplex
half duplex

If someone has all the settings I would need for the pic18f2455 I
would be very pleased.

tnx,
tim

2005\05\05@101733 by Roberts II, Charles K.

picon face

You will need to use full duplex to talk to the PC.

Charles K Roberts II



-----Original Message-----
From: spam_OUTpiclist-bouncesTakeThisOuTspammit.edu [.....piclist-bouncesKILLspamspam@spam@mit.edu] On Behalf
Of kerrisnowspamKILLspambtinternet.com
Sent: Thursday, May 05, 2005 9:51 AM
To: Microcontroller discussion list - Public.
Subject: [PIC] Which USART mode is the one for the PC?

Dear all,

I want to send a character to the HyperTerminal app on win2000.
Which mode do I choose:

full duplex
half duplex

If someone has all the settings I would need for the pic18f2455 I
would be very pleased.

tnx,
tim

2005\05\05@103026 by Matthew Miller

flavicon
face
On Thu, May 05, 2005 at 02:51:28PM +0100, .....kerrisnowKILLspamspam.....btinternet.com wrote:
> Dear all,
>
> I want to send a character to the HyperTerminal app on win2000.
> Which mode do I choose:
>
> full duplex
> half duplex
>
> If someone has all the settings I would need for the pic18f2455 I
> would be very pleased.

Your serial link will most likely be full duplex. What other settings you
need depend on how you configure the PIC; things such as parity, number of
bits, etc. Basically, you need to decide what your serial parameters are
going to be then setup the PIC and hyperterm the same.

Fr. Tom McGahee's page at
www.drzyzgula.org/bob/electronics/frtom.shtml
has a file called Picuart.zip that is very good introduction to uart
setup. I have used it on the 16F series and I think it will also work with
the 18F series. Regardless, reading over it will be a big help to you. Make
sure you have the 18F2455 datasheet in hand too!

Matthew.

--
"The fight against drug traffickers is a wildfire that threatens to consume
those fundamental rights of the individual deliberately enshrined in our
Constitution." -- US District Judge Juan Burciaga September 4, 1991

2005\05\05@110603 by Alan B. Pearce

face picon face
>Fr. Tom McGahee's page at
>www.drzyzgula.org/bob/electronics/frtom.shtml
>has a file called Picuart.zip that is very good introduction to uart
>setup. I have used it on the 16F series and I think it will also work with
>the 18F series. Regardless, reading over it will be a big help to you. Make
>sure you have the 18F2455 datasheet in hand too!

I agree, and you have been pointed at this file in the previous series of
postings. There are reasons why beginners get pointed at there - they are
good tutorials to work through. That file tells you everything you need to
know about setting up the software, and all the possible gotchas. You will
learn from looking at it.

The only other thing you need to know is how to wire the MAX232 to the comm
connector and UART, but IIRC you are using a demo board where that is all
done for you.

2005\05\05@122538 by Kerrisnow

flavicon
face
> >Fr. Tom McGahee's page at
> >www.drzyzgula.org/bob/electronics/frtom.shtml
> >has a file called Picuart.zip that is very good introduction to uart
> >setup. I have used it on the 16F series and I think it will also work
with
> >the 18F series. Regardless, reading over it will be a big help to you.
Make
> >sure you have the 18F2455 datasheet in hand too!
>
> I agree, and you have been pointed at this file in the previous series of
> postings. There are reasons why beginners get pointed at there - they are
> good tutorials to work through. That file tells you everything you need to
> know about setting up the software, and all the possible gotchas. You will
> learn from looking at it.
>
> The only other thing you need to know is how to wire the MAX232 to the
comm

Does it not work, in general, without MAX232 ?

> connector and UART, but IIRC you are using a demo board where that is all
> done for you.

What's IIRC, is that an extended version of IRC chat chennels ?
Unfortunately I do not have a demo board (except for pickit1, of course,
which
only supports the 16f676 (etc), which do not have uart.)
Which board are you talking about, is it the PicDEM.NET? no I do not have
this one.

2005\05\05@131632 by Jan-Erik Soderholm

face picon face
kerrisnow@btinternet.com wrote :

> Does it not work, in general, without MAX232 ?

Enter "RS232 UART MAX232 serial" in Google and check
some of the first hits, such as this one :

http://en.wikibooks.org/wiki/Serial_Programming:MAX232_Driver_Receiver

> What's IIRC..

"If I Recall Correctly"

Jan-Erik.



2005\05\05@135855 by Mark Rages

face picon face
>
> > connector and UART, but IIRC you are using a demo board where that is all
> > done for you.
>
> What's IIRC, is that an extended version of IRC chat chennels ?
> Unfortunately I do not have a demo board (except for pickit1, of course,
> which
> only supports the 16f676 (etc), which do not have uart.)
> Which board are you talking about, is it the PicDEM.NET? no I do not have
> this one.
>

Don't slander the Pickit!  It supports several parts with UARTs.  Why
do you think it has a layout to add a MAX232 and DSUB-9 to the board?

Regards,
Mark
markrages@gmail
--
You think that it is a secret, but it never has been one.
 - fortune cookie

2005\05\06@024904 by ThePicMan

flavicon
face

>What's IIRC, is that an extended version of IRC chat chennels ?

IIRC = If I Recall Correctly

2005\05\06@093050 by alan smith

picon face
Well....yes it will work without the MAX232 if you are
talking to another TTL device.  Remember, the UART is
doing the job of serializing the data, adding in
start/stop bits, etc such that another device that has
a similar serial device set up in the same manner can
communicate with it.  Granted that to talk to a PC
serial port you will need to use RS232 levels, thus
the MAX232.  All it does is converts the TTL levels to
something else that is more robust than the digital
levels, and can withstand noise that might be induced
on it.  You could use RS422, RS485, or anything else
for that matter, because once you convert it back to
TTL its just serial data again, feeing into the rx
uart and then converted back to 8 bit (typical) data
sitting in a register.



>


               
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

2005\05\06@124006 by Dave Turner

picon face
I recall hearing somewhere that you can actually use the PIC usart
levels with the PC without a converter.  I haven't actually tryed
this, but it might be worth a go.

http://www.sparkfun.com/tutorial/serialio/serial-5-hardware.htm

Please check if this will actually work before you try it - I don't
want to fry anyones PICS/PCs

On 5/6/05, alan smith <EraseMEmicro_eng2spam_OUTspamTakeThisOuTyahoo.com> wrote:
{Quote hidden}

> -

2005\05\06@125424 by Dave VanHorn

flavicon
face
At 11:40 AM 5/6/2005, Dave Turner wrote:
>I recall hearing somewhere that you can actually use the PIC usart
>levels with the PC without a converter.  I haven't actually tryed
>this, but it might be worth a go.
>
>http://www.sparkfun.com/tutorial/serialio/serial-5-hardware.htm

I've seen it done, but it's not a good idea.

What's the ESD protection on a pic pin?
What happens when you connect to a device that drives +/- 12 or 24V,
and has a bit of current available?
What happens when you get a bit of a ring, overshoot or undershoot?
What happens on plugging in, if ground isn't the first pin that makes contact?
All legal under 232.


2005\05\06@131341 by Dave Turner

picon face
Ick

Yeah, I thought there would be something like that wrong with
connecting it directly, but I thought the site would have thought it
out a bit better.  Oh well.

On 5/6/05, Dave VanHorn <dvanhornspamspam_OUTdvanhorn.org> wrote:
{Quote hidden}

> -

2005\05\06@133511 by Wouter van Ooijen

face picon face
> I recall hearing somewhere that you can actually use the PIC usart
> levels with the PC without a converter.

That would be remarkable, because it's not just the voltage level but
also the *polarity* that is different.

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


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