| ??? 12/31/04 16:55 Read: times |
#84176 - Problem displaying posts? Responding to: ???'s previous message |
I mentioned the oversampling as a means of detecting the edge of the startbit in my first posting to this thread, mentioning there also the possibility to use timer2 interrupt for the same purpose; and was discussing both ideas further in the subsequent posts. Maybe the postings don't display to you and Andy completely? I use the "flat" mode and I see all my text, but as I understood you are using the traditional "threaded" mode - maybe there is some problem with it? If you set mov t2con,#6 mov th2,#0FFh mov tl2,#0FFh setb et2 setb ea the first 1->0 transition on P1.0 pin will increment the timer value, causing overflow to 0000h hence firing the interrupt. To "reenable" the edge detection, th2:tl2 has to be reset to 0FFFFh. Jan Waclawek |
| 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 |



