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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/20/10 19:39
Read: times


 
#175192 - Your times seem quite long
Responding to: ???'s previous message
To fill a 256 byte page buffer via TWI interrupts will take ~ 256 x 9 x 2.5us on a 400kHz bus. i.e. 6ms.
A page-write on most 24Cxxx eeproms takes a maximum 5ms.

So you are a lot slower than DataFlash or SD cards. But IMHO the 11ms total time is not unreasonable.

Bear in mind that the ISR() will take a few cycles, as will filling an IRQ buffer that feeds the ISR().

However if your 8051 is sharing the work with other peripherals and foreground code the peripherals are all quietly working with occasional service from the cpu.

David.

List of 17 messages in thread
TopicAuthorDate
I2C page write and interrupts            01/01/70 00:00      
   Some Important Things to Consider            01/01/70 00:00      
      Re: Some Important Things to Consider            01/01/70 00:00      
         You just buffer things            01/01/70 00:00      
            ISR + superloop normally enough            01/01/70 00:00      
         A Quick Reply            01/01/70 00:00      
            Re: A Quick Reply            01/01/70 00:00      
            Confirmation            01/01/70 00:00      
               The Atmel Scheduler            01/01/70 00:00      
                  Re: The Atmel Scheduler            01/01/70 00:00      
                     Your times seem quite long            01/01/70 00:00      
                        Re: Your times seem quite long            01/01/70 00:00      
   The problem seems to be different            01/01/70 00:00      
      Time to closely read data sheet.            01/01/70 00:00      
         Re: Time to closely read data sheet.            01/01/70 00:00      
            Write a generic function.            01/01/70 00:00      
         Paged operation very common            01/01/70 00:00      

Back to Subject List