??? 02/28/06 00:28 Read: times |
#110893 - putchar() reworded Responding to: ???'s previous message |
Andy, thanks but anyway my problem is not with the putchar() function but the confusion on TI flag. Rewording my problem, I guess these are:
1) Is TI flag to be set by software after end of tx.? or set by hardware automatically? While writing in asm, we have to clear TI flag and wait till TI flag is set by H/W. I found same not be true while executing C code of same asm instructions. We had to set TI manually fot tx. to end? 2)For serial comm.in mode 1 serial communication, we have to set value of TH1=XXH(something) for auto reload? Dont we have to initialize TL1 also? if yes, with what value? thank you, Monish |
Topic | Author | Date |
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 |