??? 02/10/07 22:19 Read: times |
#132490 - not only this... Responding to: ???'s previous message |
I said:
[something like] not interrupt overhead+processing, but only received byte processing is the [ultimate] limiting factor Maarten Brock said:
Yes, if your micro has nothing better to do than to wait for a whole bunch of data to arrive polling gives less overhead. If it comes to tongue-in-the-cheek solutions, come to me... :-) OK so one of those schemes requires to transmit a byte, wait a specified time, then transmit a burst of bytes (a packet). Now, guess why... (answer below - don' cheat :-) ) -------- Yes, the first byte triggers an interrupt at the receiver side, the delay ensures that it won't get lost; then, still remaining in the interrupt, the burst is received and buffered at the maximum possible speed, and only then the interrupt is exited. Of course timeouts etc. applies. And, of course, this is nothing like an universal scheme, but there are applications where it is appropriate to use it. Don't tell me you never came across anything similar... :-) JW |
Topic | Author | Date |
Maximum Reliable UART Baud Rates for 805x | 01/01/70 00:00 | |
The UART in any chip with a T2 can run at F | 01/01/70 00:00 | |
Thanks guys. | 01/01/70 00:00 | |
not quite | 01/01/70 00:00 | |
syntax error | 01/01/70 00:00 | |
Point taken | 01/01/70 00:00 | |
welcome to the club | 01/01/70 00:00 | |
Some club ... | 01/01/70 00:00 | |
they just were too square :) | 01/01/70 00:00 | |
Mmmh, yeah, well ...![]() | 01/01/70 00:00 | |
not necessarily | 01/01/70 00:00 | |
Polling | 01/01/70 00:00 | |
not only this... | 01/01/70 00:00 | |
Scheme | 01/01/70 00:00 | |
isn't it the same? | 01/01/70 00:00 | |
polling all the way | 01/01/70 00:00 | |
Wrong question? | 01/01/70 00:00 | |
define maximum rate... | 01/01/70 00:00 | |
semantics | 01/01/70 00:00 | |
for the standard '51/'52... | 01/01/70 00:00 | |
HUH | 01/01/70 00:00 | |
PC | 01/01/70 00:00 | |
non-standard | 01/01/70 00:00 | |
Why comes in UART on PC and 232 buffer? | 01/01/70 00:00 | |
sorry | 01/01/70 00:00 | |
Good note | 01/01/70 00:00 | |
OK I take back | 01/01/70 00:00 | |
CP210x USB-UART | 01/01/70 00:00 |