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 support@ccsinfo.com

20 MIPS PIC18F8680

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







20 MIPS PIC18F8680
PostPosted: Sat Sep 04, 2004 9:09 am     Reply with quote

I just built up a PCB for a new revision of PCB for a project using the 18F8680. Got the board all running except my serial interface was not working. Scoped the lines and they were triggering, but it was like the BAUD rate was wrong. It hit me like a ton of bricks, I had put a 20Mhz crystal on the board with the 4x PLL!

The part appear to operate perfectly, no heat problems or anything else.

Trampas
dyeatman



Joined: 06 Sep 2003
Posts: 1912
Location: Norman, OK

View user's profile Send private message

4xPLL
PostPosted: Sat Sep 04, 2004 9:19 am     Reply with quote

Trampas,
I had this problem earlier with the 18F452 running at 36.864 with the 4xPLL. My baud rates were off as well because the PLL had not kicked in. Microchip told me that the PLL will not kick in after a code load until you power the chip off and back on. That solved my problem.

To ensure the is code running at the right speed I added a 1 sec heartbeat LED that I check to make sure it blinks at the right rate.

dave
bdavis



Joined: 31 May 2004
Posts: 86
Location: Colorado Springs, CO

View user's profile Send private message

PostPosted: Sat Sep 04, 2004 9:27 am     Reply with quote

What do you mean by a "codeload"? IE: bootloader loading new firmware, or maybe ICD downloading new firmware? What if the configuration fuses are already set for 4x PLL - do you still have to do a reset to get the PLL to lock?
dyeatman



Joined: 06 Sep 2003
Posts: 1912
Location: Norman, OK

View user's profile Send private message

4xPLL
PostPosted: Sat Sep 04, 2004 9:56 am     Reply with quote

I have used a both 9.216MHZ oscillator and 18.432 in 4xPLL mode with the ICDU-40. Yes, even with the PLL fuse already set from the previous load sometimes it would not kick in and I have to cycle power but it worked... Amazing bit of overclocking! As interesting as it is I don't begin to trust it for production though.

BTW, this was info I got directly from Microchip tech support when I couldn't get consistant speeds.

In my test setup now I have a normally closed PB in series with 5V to momentarily remove power after a load when the speed isn't right and it has worked every time so far....
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