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

one node in the network if it is trying to send the data wha

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



Joined: 29 Jan 2015
Posts: 8
Location: india chennai

View user's profile Send private message

one node in the network if it is trying to send the data wha
PostPosted: Mon Feb 02, 2015 12:43 am     Reply with quote

one CAN node in the network if it is trying to send the data what happend to
that data? no recevier
Ttelmah



Joined: 11 Mar 2010
Posts: 19537

View user's profile Send private message

PostPosted: Mon Feb 02, 2015 1:40 am     Reply with quote

A transmitting node always looks at it's own data (this is how collision detection is done in CAN), so the transmitter also receives it.
If you ignore this self reception, you are getting into philosophy, not electronics (If a tree falls in a forest and no one is around to hear it, does it make a sound?).....
RF_Developer



Joined: 07 Feb 2011
Posts: 839

View user's profile Send private message

Re: one node in the network if it is trying to send the data
PostPosted: Mon Feb 02, 2015 3:04 am     Reply with quote

If there is only one node in a CAN network, if it tries to transmit a message it will continually retransmit it as there is no other node to acknowledge it. With PIC hardware and CCS driver, what happens is that the hardware transmit buffers fill up and the driver hangs waiting for a free buffer.

CAN does not have addressing (any addressing is done at a higher protocol level) and all nodes always acknowledge all messages so as soon as ANY other node is connected to the network at the right speed, even a CAN monitor, then the block is cleared and the packet is transmitted. It doesn't matter whether any node listens to and uses the message, all that matters is that the network has a node to acknowledge the message.

CAN is essentially "realtime". Messages do not have any "lifetime" on CAN as they do on some other networks. The message "exists" only while it is being transmitted.
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