Searching \ for '16F873 runs slower than 16F84' 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/devices.htm?key=16F
Search entire site for: '16F873 runs slower than 16F84'.

Truncated match.
PICList Thread
'16F873 runs slower than 16F84'
2000\05\17@103011 by JP.BROWN

flavicon
face
Greetings all!, I am trying out my old 16F84 programs on my new 16F873 set
up, everything seems to be working ok except the 16F873 is
running slightly slower than the 16F84 (using a very similar program).

The program is a simple led flash program that also sends out a test
message (bit banged 16F84 style) to the PC. If you watch the leds flashing
on the two circuits you can see after a few seconds that the 16F873 setup
is running just  a little slower than the 16F84 but the big difference is
in the test message to the PC, the 16F873 is printing garbage.

I have tried a different 16F873 but it does just the same thing, any
ideas?, is there some extra feature on the 16F873 that could be causing
this?  (I have turned off WDT and DEBUG).

------- John P.B.

         -----  John P. Brown      spam_OUTJ.P.BrownTakeThisOuTspambradford.ac.uk ----
          \            --- Witty remark goes here ---         /
           --------------------------------------------------

2000\05\18@103314 by JP.BROWN

flavicon
face
Puzzle solved!, the two programs below are identical at source level but
the 16F873 version compiles to a bigger .hex program. I am using cc5x so I
re-compiled using the -a option and on examination of the .asm listing I
could see that all the timing loops are longer due to some extra BCF
instructions in the compiled 16F873 version (for ram paging I think).
I recalculated my time loop constants and now the both run at the same
speed :-)

On Wed, 17 May 2000, JP.BROWN wrote:

{Quote hidden}

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