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

can bus spi_xfer problem

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



Joined: 20 Jul 2011
Posts: 375

View user's profile Send private message

can bus spi_xfer problem
PostPosted: Wed Aug 19, 2015 12:33 am     Reply with quote

Greetings! I'm experiencing problems with spi_xfer command. I'm using PIC18F66J60 and MCP2515 CAN bus interface. I have this problem. If there isn't a node on the line the command can_putd() returns 1. But after a few bites send it blocks on spi_xfer(). Can you tell how I can prevent that?
Do I have to look into the MCP registers after every send package?!
Thanks!
RF_Developer



Joined: 07 Feb 2011
Posts: 839

View user's profile Send private message

PostPosted: Wed Aug 19, 2015 3:08 am     Reply with quote

Please refer to your previous thread on this issue. The answers won't change. This is not an SPI issue, its a CAN engine thing.
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