Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/03/08 20:19
Modified:
  11/03/08 20:25

Read: times


 
#159589 - use the \"industrial strangth\" LT1785 instead
Responding to: ???'s previous message
Now , there are 2 possibilities of working with this part,
ie 1.The master "polls" every slave device to see ,checks TI, if there is anything that needs to be xfered, and if the polled device wished to xfer info it will do so immediately.... that means the master is active at all times, ...

or 2. i could use interrupts .. raise INT0/1 on slave, send it on bus to master µc, which when received by the master , sends an acknowledgement and asks to send data, and is ready to receive the data and process it.

assuming you do not have a whole bunch of slaves...
I really don't know what's the best solution here....

rename bit 9 from "address bit' to 'control bit'
then poll by address +0x80 and let a reply of CONTROL 0x40 be 'no thanks.
now you have the polling done with 2 bytes.

option 2 would require additional wires (non-differential = noise prone) how would you have the master determine which slave interrupted?

USING SN75176b
I'd recommend against it unless you have VERY good 'ground control'. The '176 will blow if you tickle it. Use the "industrial strangth" LT1785 instead (same footprint)

Lets say i wish to send some bits from the slave to the master .
ie . µc needs to make pin 4 (d) high and pin 3(DE) high as well. the truth table provided by the manufacturer indicates o/p A would be high and o/p B would be low ......
on the master side vid>.2 v to be able to recive ... ahem .. well i really really don't know how that translates to any communication ... !!!!

it does not "translate to any communication" it ENABLES communication in a given direction.

Erik

List of 24 messages in thread
TopicAuthorDate
Interfacing RS485 (SN75176) with AT89c51            01/01/70 00:00      
   Select your components with care            01/01/70 00:00      
   Compnents are irreplacable !!            01/01/70 00:00      
      What do you miss in the datasheet            01/01/70 00:00      
      It is a simple chip            01/01/70 00:00      
   do not do rs485 without ...            01/01/70 00:00      
   Here's the info for starting            01/01/70 00:00      
   Controlling the sn75176!!            01/01/70 00:00      
      use the \"industrial strangth\" LT1785 instead            01/01/70 00:00      
         Easy to control the RS-485 transeciever            01/01/70 00:00      
            this is one of the biggest mistakes in RS485            01/01/70 00:00      
               Not so much specific for RS-485            01/01/70 00:00      
               might be???            01/01/70 00:00      
                  These are NOT RS485            01/01/70 00:00      
                     Lack of dominant bit state            01/01/70 00:00      
                        that's exactly why on RS485...            01/01/70 00:00      
                           Token-passing requires explicit or arbitrated mast            01/01/70 00:00      
                        the amazing thing is ...            01/01/70 00:00      
                           ... that it matter            01/01/70 00:00      
                              I am NOT talking about multiple masters, ...            01/01/70 00:00      
      follow the link            01/01/70 00:00      
         the two REAL 485 sources            01/01/70 00:00      
            Preview?            01/01/70 00:00      
               I do not know why            01/01/70 00:00      

Back to Subject List