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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/22/05 08:30
Modified:
  11/22/05 08:33

Read: times


 
#103975 - yes!
Responding to: ???'s previous message
Andy Neil said:
Sure, the UART hardware can run at 115200 - but is the rest of the processor fast enough to actually process the data at this speed...??


Of course, this is application dependent, but it is not so unlikely that the 16 instruction cycles is enough to feed the UART. For example, if you grab some data into an external memory somehow, then you connect a PC and want to dump them, a typical cycle is something like (omitting initialisations here):
Loop:                   ;cycles
   movx   @a,dptr       ;2
   inc    dptr          ;2
Wait_ti:
   jnb    ti,Wait_ti    ;2
   clr    ti            ;1
   mov    sbuf,a        ;1
   djnz   r3,Loop       ;2
   djnz   r2,Loop       ;      2, but mostly irrelevant
                      ;-----
                      ;  10
Similar process occurs in the opposite direction - e.g. it's quite common that bootloaders first receive a pageful of data into a RAM and then burn them at once into FLASH.

Jan Waclawek

List of 7 messages in thread
TopicAuthorDate
115200 Buad and 8051?            01/01/70 00:00      
   SILabs            01/01/70 00:00      
   115200 Baud and AT89S51            01/01/70 00:00      
   standard 52            01/01/70 00:00      
      throughput??            01/01/70 00:00      
         Thanks.            01/01/70 00:00      
         yes!            01/01/70 00:00      

Back to Subject List