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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/02/06 00:26
Read: times


 
#111019 - no work to do unitl bytes send
Responding to: ???'s previous message
well, the processor can wait till all bytes are send since no further work can be done unitl these data are send to the computer.
since the uC crystal to be used is 12MHz and the communication at 9600bps, a single byte tx would take about 1ms while an opcode will be executed within less than about a us. if i use interrupts, lots of opcodes will have been executed during a single byte transmission.normally, that is a good news.but anyway, there is nothing to be done until all the ten bytes are transmitted..so the send, fetch and wait is better for me,i think. Hey, and nobody has said anything about TL1 timer value to be set for serial communication....

List of 24 messages in thread
TopicAuthorDate
putchar C51 serial communication problem            01/01/70 00:00      
   Keil putchar source            01/01/70 00:00      
   putchar() reworded            01/01/70 00:00      
      TI            01/01/70 00:00      
         thanks and here is my C code of asm...            01/01/70 00:00      
            should be obvious            01/01/70 00:00      
               To be fair            01/01/70 00:00      
            C gives higher performance!            01/01/70 00:00      
               Initial conditions            01/01/70 00:00      
                  waiting better than uninten effcy            01/01/70 00:00      
                     Better?            01/01/70 00:00      
                     Math?            01/01/70 00:00      
                     What?????            01/01/70 00:00      
                        no work to do unitl bytes send            01/01/70 00:00      
   OK            01/01/70 00:00      
      or...            01/01/70 00:00      
         That is better            01/01/70 00:00      
            i read about putchar()            01/01/70 00:00      
               Try \Keil\C51\LIB\getkey.c            01/01/70 00:00      
               Keil Library Source Files            01/01/70 00:00      
                  ok            01/01/70 00:00      
                     No and Yes            01/01/70 00:00      
                        but what about AT cmd            01/01/70 00:00      
                           No            01/01/70 00:00      

Back to Subject List