| ??? 12/20/06 20:33 Modified: 12/20/06 20:35 Read: times |
#129851 - I hope Russell did not lead you down the garden pa Responding to: ???'s previous message |
Using interrupts gets a little more complex. Usually the interrupt would read the data to be sent from a circular buffer of just a simple buffer. Your main code would put the required data in the buffer and signal the interrupt code to send it.
I hope Russell did not lead you down the garden path yes "Using interrupts gets a little more complex", but only about 10%, however it is ~47000 times more effective. Polled serial has been the bane of many projects. It works like a charm for the serial and kills everything else. if you are using polled serial change it immediately Erik PS I might use polled serial for a quick hardware debug, but NEVER for "working code" |
| Topic | Author | Date |
| the nature of the UART/steping through interrupts | 01/01/70 00:00 | |
| Uart is full duplex | 01/01/70 00:00 | |
| Thanks Russell | 01/01/70 00:00 | |
| UART Question Part 2 | 01/01/70 00:00 | |
| You can not do both | 01/01/70 00:00 | |
| In response to Neil | 01/01/70 00:00 | |
| go with the bit | 01/01/70 00:00 | |
| In response to Neil | 01/01/70 00:00 | |
| In response to Neil | 01/01/70 00:00 | |
| Sorry for teh tripple post... | 01/01/70 00:00 | |
| More... | 01/01/70 00:00 | |
| Search and Read | 01/01/70 00:00 | |
| Thanks Russell | 01/01/70 00:00 | |
| I hope Russell did not lead you down the garden pa | 01/01/70 00:00 | |
| Erik - garden path indeed! | 01/01/70 00:00 | |
| I'm using interrupts | 01/01/70 00:00 | |
| Question about my interrupt driven UART | 01/01/70 00:00 | |
| You know the answer. | 01/01/70 00:00 | |
| Thanks Russell | 01/01/70 00:00 | |
answer is partially incorrect | 01/01/70 00:00 | |
| Can't single step on UART | 01/01/70 00:00 |



