??? 04/13/07 02:46 Read: times |
#137093 - refreshing serial data |
me in my serial port ;)
Someone was right about me having the ability to add more instructions in a serial port routine without losing characters. The manual I read was NOT clear about it! Now I am really progressing in my code, but I have one question. When my 8051 micro receives data from the PC, I have it store data in external RAM in sequential order. If I wait for a particular string to come, and it comes after the RAM is full of data, then I could end up in trouble, because then I have to clear the ram, and by the time I try to clear the first byte, I might run out of machine cycles before the serial interrupt is called. Just how many machine cycles do I have when I use serial mode 2? AND, if there is a much easier way to compare a string from the serial port, then I will be happy to hear about it. |
Topic | Author | Date |
refreshing serial data | 01/01/70 00:00 | |
Other approach | 01/01/70 00:00 | |
Circular or Ring Buffer | 01/01/70 00:00 | |
A Yet More Clever Approach | 01/01/70 00:00 | |
the data isn't always consistent | 01/01/70 00:00 | |
PPP has maximum packet size | 01/01/70 00:00 | |
I know | 01/01/70 00:00 | |
here is why | 01/01/70 00:00 | |
not serious I hope![]() | 01/01/70 00:00 | |
Doesn't PPP have a defined packet format? | 01/01/70 00:00 | |
mtu sizes | 01/01/70 00:00 | |
what do you mean???? | 01/01/70 00:00 |