Searching \ for '12c508 57600bps' 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/index.htm?key=12c508+57600bps
Search entire site for: '12c508 57600bps'.

Truncated match.
PICList Thread
'12c508 57600bps'
2000\03\27@081225 by BBRAIN

flavicon
face
part 0 1674 bytes content-type:application/octet-stream;<META content=text/html;charset=iso-8859-2 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>hi!</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>I like to send data with 12c508a on 57600
bps.</FONT></DIV>
<DIV><FONT color=#000000 size=2>I wrote the proggi, bot it isn'n works.(508.asm
for 12c508 and f8420m.asm for 16f84 20Mhz for test),</FONT></DIV>
<DIV><FONT color=#000000 size=2>I like to use RC oscillator.</FONT></DIV>
<DIV><FONT color=#000000 size=2>I dont know what is the problem.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Can somebody help to me???</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thanks.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

</x-html>
Content-Type: application/octet-stream;
       name="508.asm"
Content-Disposition: attachment;
       filename="508.asm"

Attachment converted: growth:508.asm (????/----) (000088AD)
Content-Type: application/octet-stream;
       name="f8420m.asm"
Content-Disposition: attachment;
       filename="f8420m.asm"

Attachment converted: growth:f8420m.asm (????/----) (000088AE)

2000\03\27@092948 by Andrew Kelley

picon face
I didn't look at the code but 4MHz maybe too sloww.Also overclocking the
f84 to 20 MHz probably isn't a good idea.

I tried 19200 tx/rx with a f84 @ 4Mhz and it didn;t work.

Andrew

On Mon, 27 Mar 2000 14:11:07 +0200 BBRAIN <spam_OUTbbrainTakeThisOuTspamFREEMAIL.HU> writes:
{Quote hidden}

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
dl.http://www.juno.com/get/tagj.

2000\03\27@093349 by Octavio Nogueira

flavicon
face
part 0 16 bytes
</x-html>

2000\03\27@094427 by David Covick

flavicon
face
9600 is near the limit for a 4 MHz oscillator.

Try a 12C671 and a 10 MHz resonator/crystal (not RC).


{Quote hidden}

2000\03\27@100350 by Alan B Pearce

face picon face
> I like to use RC oscillator.
> I dont know what is the problem.

Using the RC oscillator may well be part of the problem. I am not sure you will
be able to maintain sufficient accuracy of the clock frequency for this bit
rate.

2000\03\27@101406 by Dag Bakken

flavicon
face
This is a fragment of you code:

send      movwf  temp                   ;  save the character to send
         movlw  8                      ;  setup the 8 bits to send
         movwf  count
         bcf    GPIO, 1                ;  output the start bit

scloop    movlw  bit                    ;  delay the length of the bit
         movwf  count
         decfsz count

I guess you set up "count" for transmission of 8 bits.  The first thing
your bit-transmission routine does, is to kill that counter by using it as
a timer (constant "bit" = 1).  At this point, you decrement it to zero.  At
the end of the loop, you do this:

scloopend nop                           ;  to time everything out
         decfsz count
         goto  scloop
         nop                           ;  keep everything on track
         movlw  bit                    ;  delay for the bit

Here, the variable "count" will wrap around to 255 and you have made
yourself a perfect endless loop.

Dag S

B> I like to send data with 12c508a on 57600 bps.
B> I wrote the proggi, bot it isn'n works.(508.asm for 12c508 and f8420m.asm for 16f84 20Mhz for test),
B> I like to use RC oscillator.
B> I dont know what is the problem.

2000\03\27@102718 by Andrew Kunz

flavicon
face
Hogwash.

The Carmacon programmer uses a 4 MHz oscillator and is talking at 38400 bps.

Andy










David Covick <dacspamKILLspamWEST.NET> on 03/27/2000 09:41:28 AM

Please respond to pic microcontroller discussion list <.....PICLISTKILLspamspam.....MITVMA.MIT.EDU>








To:      EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU

cc:      (bcc: Andrew Kunz/TDI_NOTES)



Subject: Re: 12c508 57600bps








9600 is near the limit for a 4 MHz oscillator.

Try a 12C671 and a 10 MHz resonator/crystal (not RC).


{Quote hidden}

2000\03\27@102918 by Andrew Kunz

flavicon
face
Yes, the RC is the problem.  You need a resonator or xtal to make it fly.

Andy











Alan B Pearce <@spam@A.B.PearceKILLspamspamRL.AC.UK> on 03/27/2000 10:02:01 AM

Please respond to pic microcontroller discussion list <KILLspamPICLISTKILLspamspamMITVMA.MIT.EDU>








To:      RemoveMEPICLISTTakeThisOuTspamMITVMA.MIT.EDU

cc:      (bcc: Andrew Kunz/TDI_NOTES)



Subject: Re: 12c508 57600bps








> I like to use RC oscillator.
> I dont know what is the problem.

Using the RC oscillator may well be part of the problem. I am not sure you will
be able to maintain sufficient accuracy of the clock frequency for this bit
rate.

2000\03\27@113605 by mike

flavicon
face
On Mon, 27 Mar 2000 06:41:28 -0800, you wrote:

>9600 is near the limit for a 4 MHz oscillator.
Not True.
The question refers to sending only, and 57600, with a bit period of
17.3 uS. Using 17uS gives an error of 2.1%, which is within normal
limits. You can improve this by adding a couple of extra cycles to
reduce the cumulative error if you want it closer.

An RC oscillator however is not going to work reliably, unless you
have some way of measuring an external reference for calibration (e.g.
measuring baudrate of a known incoming serial byte.

{Quote hidden}

2000\03\27@113808 by mike

flavicon
face
On Mon, 27 Mar 2000 09:25:16 -0500, you wrote:

>I didn't look at the code but 4MHz maybe too sloww.Also overclocking the
>f84 to 20 MHz probably isn't a good idea.
>
>I tried 19200 tx/rx with a f84 @ 4Mhz and it didn;t work.
Half-duplex 57600 can be done at 4MHz, (actually 115.2K is just
possible at the limit of baud error, but you need a PIC with interrupt
capability for receive).
An RC oscillator, even the internal calibrated one, is probably not
accurate enough though. A ceramic resonator should be OK.
{Quote hidden}

2000\03\27@142319 by William Chops Westfield

face picon face
   > > I like to send data with 12c508a on 57600 bps.

   9600 is near the limit for a 4 MHz oscillator.

Not for SENDING only, certainly (and I think not for receiving, either.
This was primarilly the limit of the Microchip uart appnote (full duplex?))

BillW

2000\03\27@193945 by BBRAIN

flavicon
face
part 0 4973 bytes
<META content=text/html;charset=iso-8859-2 http-equiv=Content-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
<STYLE></STYLE>

</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Hi!</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Can you found some error in the code?</FONT></DIV>
<DIV><FONT size=2>I cannot but it isn't send anything. I tryed with a MAX 232
serial interface 1uF condensators. I wrote a test program but it isn't answer
anything.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
   <DIV><FONT face=Arial size=2><B>----Eredeti
   &uuml;zenet----</B><BR><B>Felad&oacute;: </B>Octavio Nogueira &lt;<A
   href="RemoveMEnogueiraspamTakeThisOuTAJATO.COM.BR">nogueiraEraseMEspam.....AJATO.COM.BR</A>&gt;<BR><B>C&iacute;mzett:
   </B><A href="EraseMEPICLISTspamMITVMA.MIT.EDU">RemoveMEPICLISTEraseMEspamEraseMEMITVMA.MIT.EDU</A>
   &lt;<A
   href="RemoveMEPICLISTspam_OUTspamKILLspamMITVMA.MIT.EDU">RemoveMEPICLISTTakeThisOuTspamspamMITVMA.MIT.EDU</A>&gt;<BR><B>D&aacute;tum:
   </B>2000. m&aacute;rcius 27. 16:34<BR><B>T&aacute;rgy: </B>Re: 12c508
   57600bps<BR><BR></DIV></FONT>
   <DIV><FONT size=2>I think the RC oscillator is not precise enough for 57600
   communication.</FONT></DIV>
   <DIV><FONT size=2>Use a crystal instead.</FONT></DIV>
   <DIV><BR>Friendly Regards</DIV>
   <DIV>&nbsp;</DIV>
   <DIV>Octavio
   Nogueira<BR>===================================================<BR><A
   href="EraseMEnogueiraspamspamspamBeGonepropic2.com">RemoveMEnogueiraKILLspamspampropic2.com</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   ICQ# 19841898<BR>ProPic tools - low cost PIC programmer and emulator<BR><A
   href="http://www.propic2.com">http://www.propic2.com</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   <BR>===================================================</DIV>
   <BLOCKQUOTE
   style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
       <DIV style="FONT: 10pt arial">-----Mensagem Original----- </DIV>
       <DIV
       style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>De:</B>
       <A href="bbrainSTOPspamspamspam_OUTFREEMAIL.HU" title=spamBeGonebbrainSTOPspamspamEraseMEFREEMAIL.HU>BBRAIN</A>
       </DIV>
       <DIV style="FONT: 10pt arial"><B>Para:</B> <A
       href="KILLspamPICLISTspamBeGonespamMITVMA.MIT.EDU"
       title=EraseMEPICLISTspamEraseMEMITVMA.MIT.EDU>@spam@PICLIST@spam@spamspam_OUTMITVMA.MIT.EDU</A> </DIV>
       <DIV style="FONT: 10pt arial"><B>Enviada em:</B> Segunda-feira,
       Mar&ccedil;o 27, 2000 09:11</DIV>
       <DIV style="FONT: 10pt arial"><B>Assunto:</B> 12c508 57600bps</DIV>
       <DIV><BR></DIV>
       <DIV><FONT color=#000000 size=2>hi!</FONT></DIV>
       <DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
       <DIV><FONT color=#000000 size=2>I like to send data with 12c508a on
       57600 bps.</FONT></DIV>
       <DIV><FONT color=#000000 size=2>I wrote the proggi, bot it isn'n
       works.(508.asm for 12c508 and f8420m.asm for 16f84 20Mhz for
       test),</FONT></DIV>
       <DIV><FONT color=#000000 size=2>I like to use RC
oscillator.</FONT></DIV>
       <DIV><FONT color=#000000 size=2>I dont know what is the
       problem.</FONT></DIV>
       <DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
       <DIV><FONT color=#000000 size=2>Can somebody help to me???</FONT></DIV>
       <DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
       <DIV><FONT size=2>Thanks.</FONT></DIV>
       <DIV>&nbsp;</DIV>
       <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

</x-html>

2000\03\27@193950 by BBRAIN

flavicon
face
Hi!

I think my pic is 20Mhz fast. (PIC16F84A-20/P)


----Eredeti |zenet----
Felads: Andrew Kelley <spamBeGonekelleyatspamKILLspamJUNO.COM>
Cmmzett: .....PICLISTspam_OUTspamMITVMA.MIT.EDU <TakeThisOuTPICLIST.....spamTakeThisOuTMITVMA.MIT.EDU>
Datum: 2000. marcius 27. 16:32
Targy: Re: 12c508 57600bps


{Quote hidden}

2000\03\27@194015 by BBRAIN

flavicon
face
Hi!

What is carmacon programmer?

----Eredeti |zenet----
Felads: Andrew Kunz <.....akunzspamRemoveMETDIPOWER.COM>
Cmmzett: RemoveMEPICLISTspamspamBeGoneMITVMA.MIT.EDU <spamBeGonePICLIST@spam@spamspam_OUTMITVMA.MIT.EDU>
Datum: 2000. marcius 27. 18:06
Targy: Re: 12c508 57600bps


>Hogwash.
>
>The Carmacon programmer uses a 4 MHz oscillator and is talking at 38400
bps.
{Quote hidden}

<PICLISTEraseMEspamMITVMA.MIT.EDU>
{Quote hidden}

2000\03\28@105636 by Andrew Kunz

flavicon
face
It's an upgrade to the Parallax/Tech-Tools hobbyist programmer.  Right now they
only have it as an upgrade, but an all-new programmer is about to come out!

http://www.carmacon.com

Andy










BBRAIN <EraseMEbbrainspam@spam@FREEMAIL.HU> on 03/27/2000 04:10:27 PM

Please respond to pic microcontroller discussion list <@spam@PICLISTspam_OUTspam.....MITVMA.MIT.EDU>








To:      spamBeGonePICLISTEraseMEspamMITVMA.MIT.EDU

cc:      (bcc: Andrew Kunz/TDI_NOTES)



Subject: Re: 12c508 57600bps








Hi!

What is carmacon programmer?

----Eredeti |zenet----
Felads: Andrew Kunz <akunzspamBeGonespamTDIPOWER.COM>
Cmmzett: RemoveMEPICLIST@spam@spamspamBeGoneMITVMA.MIT.EDU <.....PICLIST@spam@spamEraseMEMITVMA.MIT.EDU>
Datum: 2000. marcius 27. 18:06
Targy: Re: 12c508 57600bps


>Hogwash.
>
>The Carmacon programmer uses a 4 MHz oscillator and is talking at 38400
bps.
{Quote hidden}

<.....PICLISTSTOPspamspam@spam@MITVMA.MIT.EDU>
{Quote hidden}

2000\03\31@145133 by Marc

flavicon
face
> 9600 is near the limit for a 4 MHz oscillator.

Why?

You can easily send a bit each 16 XTAL cycles. At 4MHz that is 250kbps:

       movlw   0               ; start
       nop
       nop
       movwf   PORTB

       movlw   0               ; lsb
       btfsc   tmp,0
       movlw   1
       movwf   PORTB

       movlw   0
       btfsc   tmp,1
       movlw   1
       movwf   PORTB

       movlw   0
       btfsc   tmp,2
       movlw   1
       movwf   PORTB

       etc


'12c508 57600bps'
2000\04\01@104443 by J Nagy
flavicon
face
Marc wrote:

>
>> 9600 is near the limit for a 4 MHz oscillator.
>
>Why?
>
>You can easily send a bit each 16 XTAL cycles. At 4MHz that is 250kbps:
>

       In practical terms though, it just doesn't seem to ever work out.
You must set up each loop, retrieve and store data, etc. so that you really
have to be creative to keep a sustained rate of 57600. Don't forget that
you have to get the data to send from somewhere.

       Jim Nagy
       Elm Electronics
 ICs for Experimenters
http://www.elmelectronics.com/

2000\04\03@072407 by Andrew Kunz

flavicon
face
So you have long stop bits.  Perfectly legal.  Also very common.

Andy









J Nagy <spamBeGonejnagyKILLspamspam@spam@ELMELECTRONICS.COM> on 04/01/2000 10:23:55 AM

Please respond to pic microcontroller discussion list <PICLISTspam_OUTspam@spam@MITVMA.MIT.EDU>








To:      spamBeGonePICLIST@spam@spamMITVMA.MIT.EDU

cc:      (bcc: Andrew Kunz/TDI_NOTES)



Subject: Re: 12c508 57600bps








Marc wrote:

>
>> 9600 is near the limit for a 4 MHz oscillator.
>
>Why?
>
>You can easily send a bit each 16 XTAL cycles. At 4MHz that is 250kbps:
>

       In practical terms though, it just doesn't seem to ever work out.
You must set up each loop, retrieve and store data, etc. so that you really
have to be creative to keep a sustained rate of 57600. Don't forget that
you have to get the data to send from somewhere.

       Jim Nagy
       Elm Electronics
 ICs for Experimenters
http://www.elmelectronics.com/

2000\04\03@072955 by Alan B Pearce

face picon face
>So you have long stop bits.  Perfectly legal.  Also very common.

Correct, but you cannot rely on this being the case when receiving. If you
cannot do the necessary housekeeping in one stop bit time, expect trouble.

You may be able to do some of the housekeeping during the next start bit with
some clever programming, depending how much time is spent in the interrupt
routine.

2000\04\03@075656 by Andrew Kunz

flavicon
face
I was assuming from original posts that this was a special case situation of
_generating_ the data, not receiving it.

Andy








Alan B Pearce <RemoveMEA.B.PearceEraseMEspamKILLspamRL.AC.UK> on 04/03/2000 07:28:30 AM

Please respond to pic microcontroller discussion list <spamBeGonePICLISTspam_OUTspamRemoveMEMITVMA.MIT.EDU>








To:      .....PICLISTspamRemoveMEMITVMA.MIT.EDU

cc:      (bcc: Andrew Kunz/TDI_NOTES)



Subject: Re: 12c508 57600bps








>So you have long stop bits.  Perfectly legal.  Also very common.

Correct, but you cannot rely on this being the case when receiving. If you
cannot do the necessary housekeeping in one stop bit time, expect trouble.

You may be able to do some of the housekeeping during the next start bit with
some clever programming, depending how much time is spent in the interrupt
routine.


'12c508 57600bps'
2000\05\02@014922 by Regulus Berdin
picon face
this is 2x faster (500kbps @ 4MHz) :

; serial tx
; assumes PORTB1 initially on high state

       rrf     data,w
       xorwf   data,f

       movlw   1
       xorwf   PORTB,f         ;start bit

       skpnc
        xorwf  PORTB,f         ;b0

       btfsc   data,0
        xorwf  PORTB,f         ;b1

       btfsc   data,1
        xorwf  PORTB,f         ;b2

       btfsc   data,2
        xorwf  PORTB,f         ;b3

       .
       .
       .

       nop
       bsf     PORTB,0         ;

regards,
Reggie


Marc wrote:
{Quote hidden}

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