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

18fX52 --> 18FX520, 18FX58 --> 18Fx580

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







18fX52 --> 18FX520, 18FX58 --> 18Fx580
PostPosted: Sun Oct 09, 2005 8:09 am     Reply with quote

As many are aware, Microchip is recommending the use of the extra "0" suffix part for new designs. However, they do have some subtle erratas.

Does anyone know if the latest versions of PCH/PCWH handle the "workarounds" that are recommended in the errata notes? For example, the newer chips have erratas in ISR handling. At one time, even the legacy 18FX52 chips had erratas where you would need to insert a NOP as the first instruction of an ISR, which CCS promptly handled to avoid user problems.

-Mike
newguy



Joined: 24 Jun 2004
Posts: 1907

View user's profile Send private message

PostPosted: Sun Oct 09, 2005 9:58 am     Reply with quote

Mike,

I played with a 18LF4580 (either that, or it was the regular F part) to get familiar with the CAN bus. I wrote some pretty basic code that used the RTCC (timer 0) interrupt and the CANRX interrupts. No problems at all - it worked just fine.

At the time, I believe that 3.230 was the latest compiler version.

Hope this helps.
MikeValencia



Joined: 04 Aug 2004
Posts: 238
Location: Chicago

View user's profile Send private message Send e-mail Yahoo Messenger

PostPosted: Mon Oct 10, 2005 8:53 am     Reply with quote

Okay thanks. It does give me some assurance. Thing is, i'm about to set off a production run, and debating whether to use the more mature 458 than the 4580. After all, it does save money since i can utilize the internal oscillator on the 4580; thus a savings of a crystal, 2 18pF caps, and the $0.75 in savings of not populating them!
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Oct 10, 2005 9:04 am     Reply with quote

for my 2cents. Prototype that thing with the chip you want to use.
And test the hell out of it.

Don't waist a production run.
newguy



Joined: 24 Jun 2004
Posts: 1907

View user's profile Send private message

PostPosted: Mon Oct 10, 2005 9:44 am     Reply with quote

Ditto what treitmey said. Build one and test. Far less headaches that way.
JimBob



Joined: 12 Oct 2005
Posts: 1

View user's profile Send private message

18f452 -> 18f4520
PostPosted: Wed Oct 12, 2005 1:20 pm     Reply with quote

Hi Guys,

Working on a product at the moment. Started developing on 18F452. Having problems when moving to 18F4620. Wandering baud rate on comms. Exactly same settings as for 18F452 project, so my recommendation is as already mentioned here. Test your code on BOTH if you are migrating.
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