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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/20/10 22:24
Modified:
  02/20/10 22:25

Read: times


 
#173373 - capacitance, capacitance, capacitance
Responding to: ???'s previous message
My idea was to put a microcontroller in each module in I2C slave mode.
I have done that in several designs; however always on the same board

This micro reads / debounces the switches and sends the status to the main controller when asked.
This is about every 50ms

Good ides, just add an interrupt line (just a port pin resistive pulled up so the slaves can say "I have something for you"

When using a second UART the best thing to do would be to use RS485 with a simple protocol. Figuring out where to put the terminations is the next step. Since 1 or two modules can be connected to the main unit the terminations have to be switchable.
if the units are close enough, you can use just a wired or, no 485 drivers needed

I2C seems a lot easier.
that is what I would use if the capacitance is low enough, I would not go UART if sigle wire is feasible.

A sufficiently slow IIC or wire-ored UART could go 1000 miles were there no (stray, component, ...) capacitance on the bus

Erik

List of 31 messages in thread
TopicAuthorDate
Bus between modules            01/01/70 00:00      
   Questions            01/01/70 00:00      
      RS-485?            01/01/70 00:00      
         RS-485 or CAN would both work            01/01/70 00:00      
      Answers to questions            01/01/70 00:00      
         Check sum not good enough            01/01/70 00:00      
            Noise            01/01/70 00:00      
               has to work is on stage (music).            01/01/70 00:00      
                  MIDI/DMX            01/01/70 00:00      
                     capacitance, capacitance, capacitance            01/01/70 00:00      
                        I2C feasible ....            01/01/70 00:00      
         Replies to quesitons in answers!            01/01/70 00:00      
         UART            01/01/70 00:00      
            SPI-to-UART with Drivers!            01/01/70 00:00      
               A confession            01/01/70 00:00      
            Not necessarily            01/01/70 00:00      
               Controller type            01/01/70 00:00      
                  I just have [not] decided yet.            01/01/70 00:00      
                     Chips with two UARTS            01/01/70 00:00      
                         not true            01/01/70 00:00      
                           P89LPC952            01/01/70 00:00      
                              Let's assume I'm going to use a UART.            01/01/70 00:00      
                              did you try here?            01/01/70 00:00      
   I2C Could be made to work.            01/01/70 00:00      
      RE: SMBus            01/01/70 00:00      
         so does SMB            01/01/70 00:00      
            For the sake of completeness            01/01/70 00:00      
               not really            01/01/70 00:00      
                  I see            01/01/70 00:00      
                     Timeouts and Hold Times.            01/01/70 00:00      
                        Specifications!            01/01/70 00:00      

Back to Subject List