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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/25/08 14:41
Read: times


 
#159347 - Have you considered....
Responding to: ???'s previous message
Gonzague Colpaert said:

Per Westermark said:


8) What voltage to you have on your signals?


5 volts on the µC side - 3.3Volts on sd card side

I use discrete levels translators made from transistors and resistances.



Have you considered that often times when you use simple bipolar transistors as common emitter saturated switching level translators that the signal delay through a single stage can be 100 to 300 nanoseconds? Depending upon how you go about bit banging the SPI interface to the target device bits that you think you are changing at the same time on the MCU are not in fact going to change at the same time at the target. As a matter of fact the delay I mention generally shows up in the condition of the saturated switch going OFF and so only affects the "logic signal" in one direction. This delay difference could be eating up your setup or hold timing at the target device!! This of course is dependent on the types of components you are using, sizes of the resistors and method used to bitbang the signals.

Michael Karas



List of 12 messages in thread
TopicAuthorDate
bit banged spi on ds89C420 for sd card            01/01/70 00:00      
   Some notes about the code            01/01/70 00:00      
      some more details            01/01/70 00:00      
         Have you found the "real" specification?            01/01/70 00:00      
            Keil logic analyzer            01/01/70 00:00      
               GIGO - verify with the so-called standard            01/01/70 00:00      
                  I agree !            01/01/70 00:00      
         More comments            01/01/70 00:00      
            some answers            01/01/70 00:00      
               Have you considered....            01/01/70 00:00      
                  3V3 to 5V is easily accomplished ..            01/01/70 00:00      
               To Show My Point            01/01/70 00:00      

Back to Subject List