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

Search found 8 matches
CCS Forum Index
Author Message
  Topic: CAN on 18F4680 [Solved]
Fredrik

Replies: 15
Views: 26056

PostForum: General CCS C Discussion   Posted: Thu Apr 20, 2006 8:25 am   Subject: CAN on 18F4680 [Solved]
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 connecti ...
  Topic: CAN on 18F4680 [Solved]
Fredrik

Replies: 15
Views: 26056

PostForum: General CCS C Discussion   Posted: Thu Apr 20, 2006 12:37 am   Subject: CAN on 18F4680 [Solved]
Why don't you think the compiler is the problem? Several people have said thhis works with 3.236, but not with the version you have. This is the reason I am still using 3.236 even though I have newer ...
  Topic: CAN on 18F4680 [Solved]
Fredrik

Replies: 15
Views: 26056

PostForum: General CCS C Discussion   Posted: Wed Apr 19, 2006 12:21 pm   Subject: CAN on 18F4680 [Solved]

If 'everyone' is telling you to use the ccs drivers, thats because we have all been in the same position as you and have learnt how not to do it !! and what you do need to do in order to make it wor ...
  Topic: CAN on 18F4680 [Solved]
Fredrik

Replies: 15
Views: 26056

PostForum: General CCS C Discussion   Posted: Wed Apr 19, 2006 9:05 am   Subject: CAN on 18F4680 [Solved]
Okay this is getting really annoying. I still can�t get any output from the CANTX pin. Everyone keeps telling me to use the CCS driver supplied. I�ve explained several times that I have tried this app ...
  Topic: CAN on 18F4680 [Solved]
Fredrik

Replies: 15
Views: 26056

PostForum: General CCS C Discussion   Posted: Wed Apr 19, 2006 1:51 am   Subject: CAN on 18F4680 [Solved]
Actually I started out with the CCS drivers supplied with the compiler. But since that did not work I narrowed it down to have a better view on the functions. My low-level driver does basicaly the sam ...
  Topic: CAN on 18F4680 [Solved]
Fredrik

Replies: 15
Views: 26056

PostForum: General CCS C Discussion   Posted: Wed Apr 19, 2006 12:29 am   Subject: CAN on 18F4680 [Solved]
Thanks for the link PCM Programmer, that made me understand the bit timing better. Unfortunatley this was not the problem, even thoug it made me change the values a bit.

I will insert one of the ma ...
  Topic: CAN on 18F4680 [Solved]
Fredrik

Replies: 15
Views: 26056

PostForum: General CCS C Discussion   Posted: Tue Apr 18, 2006 12:17 pm   Subject: CAN on 18F4680 [Solved]
I have scaled the timing parameters from the ones given in EX_CAN.C (for the 20Mhz crystal) to make them approx. equal:

-----------------------------------
TQ = 2x(BRP+1)/Fosc. BRP = 1, Fosc = 10M ...
  Topic: CAN on 18F4680 [Solved]
Fredrik

Replies: 15
Views: 26056

PostForum: General CCS C Discussion   Posted: Tue Apr 18, 2006 6:46 am   Subject: CAN on 18F4680 [Solved]
Without any luck I am trying to get the CAN-bus up and running on a 18F4680. At this point I think I've tried everything...

I am using the example file EX_CAN.C with some minor modifications (I am ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group