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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Konstantinos L. Angelis
10/31/11 14:43
Read: 497 times
Lamia
Greece


 
#184493 - SPI analysis is made, results?
Responding to: Per Westermark'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      Alexandre Marques      10/30/11 13:35      
   Get real processor      Per Westermark      10/30/11 14:29      
      Topic Author Date      Alexandre Marques      10/30/11 14:46      
         Big problem      Per Westermark      10/30/11 16:01      
         Look for a different model      David Prentice      10/30/11 18:31      
         Try 8051 BASCOM      KONSTANTINOS L. ANGELIS      10/31/11 05:37      
            at what speed      Erik Malund      10/31/11 07:06      
               Interpreters have an easier life.      Per Westermark      10/31/11 08:54      
               Soft SPI speed      KONSTANTINOS L. ANGELIS      10/31/11 09:31      
                  But how to combine that loop with a real program?      Per Westermark      10/31/11 09:44      
                     and more      Erik Malund      10/31/11 09:51      
                        Software master trivial - slave is not      Per Westermark      10/31/11 10:52      
                           SPI analysis is made, results?      KONSTANTINOS L. ANGELIS      10/31/11 14:43      
                              There _may_ be a solution - but maybe not acceptable      Per Westermark      10/31/11 16:05      
                  sure, and so what?      Erik Malund      10/31/11 09:47      
                     SPI at 100Kbps      KONSTANTINOS L. ANGELIS      10/31/11 16:51      
                        Still gives puny transfer rate with significant limitations      Per Westermark      11/01/11 01:05      
                           the answer is      Erik Malund      11/01/11 06:37      
   Fully Interlocked Handshaking.      Michael Karas      11/01/11 08:01      
      Quite common      Per Westermark      11/01/11 08:52      

Back to Subject List