EmbeddedRelated.com
Forums

PIC migration timing problem

Started by PigPOg June 20, 2006
On Tue, 20 Jun 2006 22:40:42 -0400, Roman Ziak <news12@ziak.com>
wrote:

> >Just curious, hos did you determine it was 2x speed ? It is exactly >twice or approximate ? > >Btw. check errata for this chip, it seems it has several problems with >internal RC oscillator. > >http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2057&ty=&dty=Data+Sheets&section=Data+Sheets&ssUserText=PIC18F1320 > > Roman
Roman, thanks for the reply. I double checked with a small delay routine on the 16c54 and 18f1320 and it is exactly 2x speed. Thanks for the errata link, I'll investigate further. Regards, Simon
On Tue, 20 Jun 2006 11:25:07 +0100, PigPOg <simon@capella.co.uk>
wrote:

>Hi, can anyone advise please? > >I've migrated code running on a PIC16C54 to a PIC18F1320. Both use an >external RC network. On the OSC2 pin both processors show a nice clock >at 25 KHz (which is correct). However, the 18F1320 seems to be >executing code at twice the speed! Have I overlooked something? > >Thanks in advance for any help? > >Simon
Gulp! How embarrassing. There's an error in code migration. Fixed now, sorry to bother everyone - must re-check thoroughly next time before posting. Thanks all, Simon