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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/31/11 20:43
Read: times


 
#184493 - SPI analysis is made, results?
Responding to: ???'s previous message
Since all this analysis is made, the solution is just before your eyes.
The time spent for this kind of excelent depth show of how SPI works brings the solution up. It is obvious that some of current members have the strength to write and present the ASM routines for the SPI slave for AT89S52.
Since the OP mentioned that there are plenty of them available, the most possible is that SPI master will be also an AT89S52. This mcu does not have a hardware SPI either as master or slave. The only SPI interface available is for programming the internal code flash memory using a proprietary ISP prototol from Atmel. But it has INT0, INT1 and three timers with the most valuable T2 for this kind of operations.
A case as such the OP asked for soft SPI slave using AT89S52 is just another enigma,
can be solved for a particular case ?
can be leveraged to more general solution ?
Does anyone have spare time to scratch his head and solve another puzzle ?
The case is not to use another microcontroller with H/W SPI peripheral, but how to teach this old one to do new tricks.

List of 20 messages in thread
TopicAuthorDate
SPI Slave in 89S52            01/01/70 00:00      
   Get real processor            01/01/70 00:00      
      Topic Author Date            01/01/70 00:00      
         Big problem            01/01/70 00:00      
         Look for a different model            01/01/70 00:00      
         Try 8051 BASCOM            01/01/70 00:00      
            at what speed            01/01/70 00:00      
               Interpreters have an easier life.            01/01/70 00:00      
               Soft SPI speed            01/01/70 00:00      
                  But how to combine that loop with a real program?            01/01/70 00:00      
                     and more            01/01/70 00:00      
                        Software master trivial - slave is not            01/01/70 00:00      
                           SPI analysis is made, results?            01/01/70 00:00      
                              There _may_ be a solution - but maybe not acceptable            01/01/70 00:00      
                  sure, and so what?            01/01/70 00:00      
                     SPI at 100Kbps            01/01/70 00:00      
                        Still gives puny transfer rate with significant limitations            01/01/70 00:00      
                           the answer is            01/01/70 00:00      
   Fully Interlocked Handshaking.            01/01/70 00:00      
      Quite common            01/01/70 00:00      

Back to Subject List