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

RS485 Echo problem

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







RS485 Echo problem
PostPosted: Wed Jan 28, 2009 9:10 am     Reply with quote

Hi everyone,

I have to PIC communicating over RS485 everything was fine
between 18F2620 and 16F628 with SN75176

But i had to change one of the PIC so i changed 16F628 to 16F690

but now i am getting on 16F690 the same data which i am sending.

what can i do any suggestions.
bozzo
Guest







PostPosted: Wed Jan 28, 2009 9:18 am     Reply with quote

i tried with ADM1485 it is working fine

but how can i solve it with other rs485 chips.

Thanks.
n-squared



Joined: 03 Oct 2006
Posts: 99

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu Jan 29, 2009 8:39 am     Reply with quote

The question that comes to mind is why you did NOT get an echo for the previous devices. RS-485 always returns transmitted data to receiver, unless you disable RX.
Could you post your code and schematic diagram?
_________________
Every solution has a problem.
bozzo
Guest







PostPosted: Thu Jan 29, 2009 8:56 am     Reply with quote

I searched this problem a little while.

First thing i found was that the voltage levels could be different;

voltage levels from different pins or device can be different (CMOS TTL ST etc.)

And on first device when i was disabling RX the time for disabling was enough but it wasn't enough for other device.

So in conclusion the code was almost the same i just changed the time between disabling TX and enabling RX.

Thanks.
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