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

CAN on 18F4680 [Solved]
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Fredrik



Joined: 18 Apr 2006
Posts: 8

View user's profile Send private message

PostPosted: Thu Apr 20, 2006 8:25 am     Reply with quote

Problem solved!

So i finally found the error after I spent three days debugging. The fault was found on the development board from Basic Micro. The wire connector for B3 (canrx pin) had no connection to pin 36 (canrx) on the mcu. Instead of connecting canrx to the wire connector it had been connected to an analog multiplexer ic. Don't ask me why.

Of course I should have checked the development board in the first place. When it was delivered to me the analog multiplexer and rs-232 ic's had been swapped causing absolutely nothing to work. I had to swap them. But this isn't the first things you check when everything else seems to work.

So what happened was that canrx pin where driven low even though I measured a high signal. I just didn't measure directly at the pin of the mcu. Lesson learned.

And by the way: Don't buy products from BasicMicro, unless you want some extra work.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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