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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/29/09 16:37
Read: times


 
#170209 - It's not complete
Responding to: ???'s previous message
Andy Neil said:
Richard said:
I'm not sure how this thread got to be about communication between two PHYTEC boards.

If you look at the very first post, he was talking about communication between two 8051s - talking about a "master" and a "slave", and saying "...master ... should say to the slave..."
See: http://www.8052.com/forum/read/168316


If he needs the two boards to "talk" to one another, he hasn't said that

Yes, he did - see above.


what that says is

Walter Wenz said:
I want to connect two 80512er by serial port to PC. First 8051er is the master (COM1) and the other one the slave(COM2).
The master is making something and after that he should say to the slave "Do something" and stops. And the slave must get a signal from master and does his work. After that he stops, too. And so on.
Note: There aren't any free A/D and D/A ports.

Now the good question: How to connect the master with the slave. And how to realize that by c-programming?

THX
Walter

I'm really not sure what he intended to say by this,

However, it was then suggested - by both you and me - that he reconsider and, instead, have each board talk only to the PC, and have the PC coordinate the activities:
http://www.8052.com/forum/read/168338
http://www.8052.com/forum/read/168366

He seems now to have taken that on board, but is trying to bodge it with just one COM port on the PC.

One thing I don't understand is his initial reference to COM1 and COM2, if he has only one COM port on his PC. If he has two com ports, it would seem quite trivial to hook the two of them to the PC with those two ports, and be done with it. If he wants to relay comm's between PHYTEC0 and PHYTEC1 via the PC, he can do that. Further, he's made it clear that he has IIC, and other comm schemes on the boards, any one of which will work in both directions. That should solve his problem too. It looks to me as though he may be trying to get someone to generate the code for him, as he hasn't the most basic notion of how this should be done. I suspect there are plenty of examples of SPI, IIC, etc, on 8052.COM for him to search out and examine. The www is full of SPI examples, and, since PHYTEC boards generally don't do things in a terrible hurry, he can probably do what he needs by bit-banging if that suits him.

What really puzzles me is that he's so stingy with information.

RE


List of 71 messages in thread
TopicAuthorDate
Communication between two 8051            01/01/70 00:00      
   I'm going to recommend            01/01/70 00:00      
      I'm going to recommend            01/01/70 00:00      
   I'd recommend ...            01/01/70 00:00      
      irrelevant, however            01/01/70 00:00      
      chip            01/01/70 00:00      
         multiple chips ....            01/01/70 00:00      
            Perhaps you don't need two UARTs            01/01/70 00:00      
   Side note, multiple COM ports            01/01/70 00:00      
      FTDI Multi-UART to USB            01/01/70 00:00      
   Clarify?            01/01/70 00:00      
   Parallel 8051 TXs and RXs            01/01/70 00:00      
      Two transmitters            01/01/70 00:00      
         Which lesson to give?            01/01/70 00:00      
            and ..            01/01/70 00:00      
            Like good little children            01/01/70 00:00      
            Jimmy Neutron/Phineas & Ferb            01/01/70 00:00      
            Tony Gelonese's method should work...            01/01/70 00:00      
               no, and yes            01/01/70 00:00      
         some more thought...Per Westermark            01/01/70 00:00      
            It is all in the subpressed details            01/01/70 00:00      
               SIlabs chips would burn            01/01/70 00:00      
      No, That won't "just work"            01/01/70 00:00      
         I think there's more to this than meets the eye            01/01/70 00:00      
            Not always interrupt response instantly            01/01/70 00:00      
               Since the O/P hasn't been back ...            01/01/70 00:00      
                  serial communication            01/01/70 00:00      
                     you are aware?            01/01/70 00:00      
                        You are also aware?            01/01/70 00:00      
                     Synchronize transfers            01/01/70 00:00      
                        Connecting two TX outputs            01/01/70 00:00      
                     Unnecessary complication!            01/01/70 00:00      
                        Different name            01/01/70 00:00      
                        Walter and Walter            01/01/70 00:00      
                           Name            01/01/70 00:00      
                              what are you ashamed/afraid/... of            01/01/70 00:00      
                              Walter, Please eschew obfuscation and equivocation            01/01/70 00:00      
                     That Phytec Board has RS485 and I2C and SPI            01/01/70 00:00      
                        summarizing            01/01/70 00:00      
                           to a nail everything looks like a hammer            01/01/70 00:00      
                        actually ... he hasn't said he needs that ...            01/01/70 00:00      
                           Often important information arrives quite late            01/01/70 00:00      
                           Actually, he did!            01/01/70 00:00      
                              It's not complete            01/01/70 00:00      
                                 he's so stingy with information            01/01/70 00:00      
   Some more Thought....            01/01/70 00:00      
      This assumes perfect synchronization            01/01/70 00:00      
      the longest reply ever            01/01/70 00:00      
         Schematic is Incomplete            01/01/70 00:00      
      Missing boundary limits            01/01/70 00:00      
         Use p3.0 and p3.1            01/01/70 00:00      
            huh?            01/01/70 00:00      
            You need to clarify your requirement!            01/01/70 00:00      
            This contradicts an earlier post from you            01/01/70 00:00      
               agree with most, but???            01/01/70 00:00      
                  clock-for-clock send            01/01/70 00:00      
                     Still not clear!            01/01/70 00:00      
                        I think you lost the thread            01/01/70 00:00      
                           If they're to remain in precise synchronization ...            01/01/70 00:00      
                              Ridiculous            01/01/70 00:00      
                                 Come on, Walter!            01/01/70 00:00      
                                 It's routinely done ...            01/01/70 00:00      
                                    Don't relive your past again and again            01/01/70 00:00      
                                       MCU is a component, not a computer system.            01/01/70 00:00      
                                          Tell me more about femtosecond precision            01/01/70 00:00      
                                             not even then            01/01/70 00:00      
                                                Watch out            01/01/70 00:00      
                                                   Some suggestions for low-jitter processor activation            01/01/70 00:00      
                                                That's exactly what it is            01/01/70 00:00      
                  The two slaves must be in the same state            01/01/70 00:00      
            Is this yet another problem?            01/01/70 00:00      

Back to Subject List