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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/26/07 05:58
Read: times


 
#147398 - page 40
Responding to: ???'s previous message
Page 40 figure 18-1 of ATMEL document 3547D-MICRO-4/06

"the MSTR bit in SPCR determines the direction of MISO and MOSI."

I am strapped for time on this project and was hoping MISO and MOSI would give me a simple code solution to allow a master controller to communicate with some slaves.

But at the most all I need is 8 bits of data from the slaves to accomplish all of the communications necessary.
And this data does not have to be at some high data rate.

How about some optoisolators and OC drivers to accomplish this communications link.

The master sends a low to the slave on one line. Then it sends 8 on / off "clock" bits on another line. On the clock line rise the data line from the slave is either a one or a zero giving me my 8 bit read.

I can't use the RS232 link because I am using that to communicate with a EZ-LCD display bolted to the back of my board.

List of 24 messages in thread
TopicAuthorDate
master slave 8052 configuration            01/01/70 00:00      
   Options            01/01/70 00:00      
   Wait a minute - Bidirectional...?            01/01/70 00:00      
      MOSI TO MOSI            01/01/70 00:00      
         Eh??            01/01/70 00:00      
            page 40            01/01/70 00:00      
               Out of date?            01/01/70 00:00      
               Not bidirectional            01/01/70 00:00      
   use RS485 transmitters and receivers            01/01/70 00:00      
   That is not how it works            01/01/70 00:00      
      just clearing it up            01/01/70 00:00      
         UART tied up - EZ-LCD rate question            01/01/70 00:00      
            crystal frequencies and timer 1 reload values            01/01/70 00:00      
               A common crystal            01/01/70 00:00      
                  what is confusing?            01/01/70 00:00      
                  Synonyms            01/01/70 00:00      
                     crystal chosen            01/01/70 00:00      
                        read, READ, read the thread            01/01/70 00:00      
                           read-ed            01/01/70 00:00      
                              Kiel calculator revisit            01/01/70 00:00      
                                 correct, but there is s small problem            01/01/70 00:00      
                                    yes device differs            01/01/70 00:00      
            unless you have a very fast micro ...            01/01/70 00:00      
   ATMEL Baud rate calculator            01/01/70 00:00      

Back to Subject List