CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC181220/1320 40Mhz

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
NikkiC
Guest







PIC181220/1320 40Mhz
PostPosted: Thu Apr 08, 2004 10:42 am     Reply with quote

Hi,

I've have attempted to use the H4 mode to run PIC18F1220/1320 at 40 Mhz. The clock is totally unstable. I've tried a few chips. I've never had a problem with PIC18F252/452.

I'm using PCH 3.170. Does anyone know if this is a problem specific to earlier versions of the compiler? I'm trying to rule out a hardware issue.

Thanks,

Nikki
|Raph|
Guest







PostPosted: Thu Apr 08, 2004 10:48 am     Reply with quote

We are using CCS v3.188 here and we tried it on many 18LF1320 with no success.
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

PostPosted: Thu Apr 08, 2004 11:51 am     Reply with quote

To run at 40Mhz the supply voltage must be greater than 4.2V. Also to change from the HS to 4xHS you have to cycly power after programming. Nikki I assume that your 10Mhz crystle works without the 4xHS setting?
Guest








PostPosted: Thu Apr 08, 2004 12:37 pm     Reply with quote

Yes, it is definitely running at 5V.

The cycling off power goes without saying as I'm manually plugging the PIC into a Warp13 programmer and then back into my development board by hand.

All the PICs work with no problem at 10Mhz with
#use delay(clock=10000000)
#fuses HS, BORV20, MCLR,NOLVP,NOWDT,NOBROWNOUT

and then fail to run with any stability with
#use delay(clock=40000000)
#fuses H4, BORV20, MCLR,NOLVP,NOWDT,NOBROWNOUT

The clock fluctuates between 10Mhz and 40Mhz.


Nikki
C-H Wu
Guest







18F1320 at 40 MHz
PostPosted: Thu Apr 08, 2004 7:59 pm     Reply with quote

20 MHz ... ok.
40 MHz with 10 MHz X'tal and H4PLL, never success, with chip date code up to 0404 (4th week of 2004)

I believe it is a silicon bug.

Internal 8 MHz ... ok ... this is good, cheers.
Guest








PostPosted: Fri Apr 09, 2004 1:29 am     Reply with quote

Do you have a resistor series with crystal? Use 100-470 Ohm.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group