??? 12/02/04 09:39 Read: times |
#82365 - UART communication by UART interrupt Responding to: ???'s previous message |
RI is set when the UART has received a byte, TI is set when a byte transmission from the UART is complete. Yes, that's true. And whenever RI or TI is set, UART serial interrupt is called as well. These are the fact we all know by fine explanation from all of you. In this point of my work, how could I make a serial communication (transmission) by serial interrupt for the first time. For sure, serial interrupt is smart instead of while(!TI); and it requires a set of TI. For setting TI, byte transmission from the UART should be completed; however, for byte transmission from the UART, serial interrupt has to be called by setting TI. As you see, both process needs each process to work well enough. I really don't know what should be gonig on the first control of these. Point out my misunderstanding if anything wrong, or good comment is helpful. Hiroaki |
Topic | Author | Date |
THE TIME OF TI | 01/01/70 00:00 | |
Bitrate | 01/01/70 00:00 | |
interrupt-driven | 01/01/70 00:00 | |
Why interrupt driven? | 01/01/70 00:00 | |
UART Serial Port Interrupt | 01/01/70 00:00 | |
all the above | 01/01/70 00:00 | |
UART communication by UART interrupt | 01/01/70 00:00 | |
just TI=1 | 01/01/70 00:00 | |
serial interrupt in adc interrupt | 01/01/70 00:00 | |
start with something simple | 01/01/70 00:00 | |
misunderstand behaviour | 01/01/70 00:00 | |
See the examples | 01/01/70 00:00 | |
not has to, but can | 01/01/70 00:00 | |
The difference is | 01/01/70 00:00 | |
" | 01/01/70 00:00 | |
He's right | 01/01/70 00:00 | |
How the 8051 UART works | 01/01/70 00:00 | |
The TI-bit Set Time | 01/01/70 00:00 | |
no, at the middle | 01/01/70 00:00 | |
The Transmitter Part, Actually | 01/01/70 00:00 | |
Setting of TI | 01/01/70 00:00 | |
sometimes chip designers listen | 01/01/70 00:00 | |
So, Erik | 01/01/70 00:00 | |
where does it happen | 01/01/70 00:00 | |
Mode 1 TI timing. | 01/01/70 00:00 | |
How to post code | 01/01/70 00:00 | |
RS485 & bus turnaround![]() | 01/01/70 00:00 |