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

CANBUS and c7 and c6 output

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







CANBUS and c7 and c6 output
PostPosted: Mon Mar 09, 2009 2:03 am     Reply with quote

Hello everybody

I have a strange problem!
When I enable the CANBUS function on my PIC18F4680, I have C6 and C7 output are always at High Level!!
I can't use these I/O as output port!

It's only when i init the CAN module.

CCS compiler 4.068

have a nice day!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 09, 2009 1:56 pm     Reply with quote

That shouldn't happen. Post a very short test program that shows the
problem. The test program could #include the CAN driver file, and
then call can_init(), and then attempt to transmit and receive characters
over the serial port. This could be done with just 5 statements above
main(), and 4-5 lines in main().

Do not post a lot of code.
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