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

RS-485 // Collision detect // RS232_ERRORS

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



Joined: 09 Oct 2003
Posts: 39
Location: LA PLATA, ARGENTINA

View user's profile Send private message Visit poster's website MSN Messenger

RS-485 // Collision detect // RS232_ERRORS
PostPosted: Sat Aug 20, 2005 5:41 pm     Reply with quote

Hi everyone,

I�m trying to set up an RS485 network, in wich there are 16 nodes.
Every node may TX and RX. There is one PC and 15 nodes based on 18F4620.
The bus is correctly setup, with termination and resistors for idling it when not in use.
I want to use the ENABLE option (defining it on #use rs232) for "taking" the bus and send data.
Now, wich way could I detect that other node is doing TX at one time, for avoiding collission ?

Hope someone could help.
Gabriel.-
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

PostPosted: Mon Aug 22, 2005 8:46 am     Reply with quote

Using a master slave protocol on a half-duplex network works well because slaves only reply to request. In that way the master controls what device is talking on the network and collission are not normaly possiable.
Guest








PostPosted: Mon Aug 22, 2005 3:48 pm     Reply with quote

Neuntone,

It�s a multimaster "network".
But I�ve solved it passing a token between nodes.
Thank you.-
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