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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/13/07 18:28
Modified:
  03/13/07 18:32

Read: times


 
#134894 - That may be your problem
Responding to: ???'s previous message
How do I go about this ? Is I2C slave difficult to implement on software ? what are the other alternatives ?
there are IIC slave routines all over the web (probably one or more in the code library right here), so it can not be 'difficult'. However it would be much more efficient and easier to use chips with hardware IIC. If your devices are close (you say nothing about this) I see no better alternative than IIC.

The data needs to be broad casted to all slaves.
That may be your problem, IIC is not very good for broadcasting. I would 'talk to' the slaves one by one.

Also, if all devices are not within, say, a foot of each other, IIC is a bad choice, unless you really dive into things like lowering line capacitance, noise free environment, repeaters and such.

Erik





List of 29 messages in thread
TopicAuthorDate
Master ->Slave communication            01/01/70 00:00      
   That may be your problem            01/01/70 00:00      
   i2c is a bad plan for inter-processor communicatio            01/01/70 00:00      
      I disagree            01/01/70 00:00      
   Broadcast            01/01/70 00:00      
      Some Hardware details            01/01/70 00:00      
         The slave is harder            01/01/70 00:00      
            bitbanging            01/01/70 00:00      
               bit-banging a master-slavbe IIC            01/01/70 00:00      
                  HW I2C            01/01/70 00:00      
                     There are oodles and bunches of other derivatives            01/01/70 00:00      
   RS-485?            01/01/70 00:00      
      as it is local            01/01/70 00:00      
         agree            01/01/70 00:00      
            there are such, but I doubt - that is not somethin            01/01/70 00:00      
            Hence "Broadcast only"            01/01/70 00:00      
               Strong Pullup            01/01/70 00:00      
                  true and untrue            01/01/70 00:00      
   Can we use UART            01/01/70 00:00      
      yes, you have stated \"in the same enclosure\"            01/01/70 00:00      
      Time to review previous replies            01/01/70 00:00      
         Progress            01/01/70 00:00      
            I know it is Atmel, but ...            01/01/70 00:00      
   No mention of SADDR            01/01/70 00:00      
      no secret, it just isn't there            01/01/70 00:00      
      Here            01/01/70 00:00      
         general info that may not apply to all            01/01/70 00:00      
            Results            01/01/70 00:00      
   How we got it for the records            01/01/70 00:00      

Back to Subject List