??? 12/30/04 16:48 Read: times |
#84120 - Polling/Interrupt For Serial Input |
I need to take 4800 bauds serial input from Port 1 pin 0, so I need to do either polling or interrupt based.
I have tried to use Time 0 overflow interrupt, whenever that interrupt is called I take the value from P1^0 and put it in the character, do it for 8 times until the character is complete, skip the start bit and stop bit. The problem is that thing only works for almost 55-60 % and rest values are garbage. If any one can advise a better method to take serial input from single parallel port pin, I will be really grateful. Regards Naveed |
Topic | Author | Date |
Polling/Interrupt For Serial Input | 01/01/70 00:00 | |
bible time | 01/01/70 00:00 | |
Soft UART | 01/01/70 00:00 | |
Hardware? | 01/01/70 00:00 | |
SW UART is not a taboo! | 01/01/70 00:00 | |
yes... | 01/01/70 00:00 | |
think before you do | 01/01/70 00:00 | |
Use oversampling | 01/01/70 00:00 | |
soft UART | 01/01/70 00:00 | |
Half bits | 01/01/70 00:00 | |
Oversampling | 01/01/70 00:00 | |
It's not so bad | 01/01/70 00:00 | |
Oh yes it is! | 01/01/70 00:00 | |
Haven't read it completely? | 01/01/70 00:00 | |
neither have I | 01/01/70 00:00 | |
Sure you did not! | 01/01/70 00:00 | |
did I miss it | 01/01/70 00:00 | |
Problem displaying posts? | 01/01/70 00:00 | |
sure that will work | 01/01/70 00:00 | |
NOT A PIC | 01/01/70 00:00 | |
Just forget 89c51 then. | 01/01/70 00:00 | |
@Erik | 01/01/70 00:00 | |
...all said already. | 01/01/70 00:00 | |
OS? Threads?! | 01/01/70 00:00 | |
Appnote to read | 01/01/70 00:00 | |
threads | 01/01/70 00:00 | |
Problem Solved![]() | 01/01/70 00:00 |