??? 04/18/06 20:48 Read: times |
#114480 - correct if Responding to: ???'s previous message |
P89LPC922
MAX232 cct. The LPC is 3V3. Do you have the 232 supplied with 5V, otherwise that's it and you must replace the 232 with a 3V3 chip. I guess my question is: If I am sitting in an idle loop and the UART receives a chracter, an interrupt is generated and it should jump to my ISR right? correct if a) the interrupt is enabled (EA and ES plus one more if you use split interrupt) b) you are using the right ISR (the LPC has 2 [RI and TI] if so configured) c) no higher priority (by IP or "list") is constantly active d) REN is set e) hardware f) Maybe more, I do not recall I do think I have them all a simple way to test the hardware would be to whip up some fast code using CodeArchitect. Erik |
Topic | Author | Date |
P89LPC922 UART | 01/01/70 00:00 | |
correct if | 01/01/70 00:00 | |
I have accounted for this | 01/01/70 00:00 | |
this may be the culprit | 01/01/70 00:00 | |
Yes!!! | 01/01/70 00:00 | |
P89LPC922 UART Solution | 01/01/70 00:00 | |
Isolation - Not generally necessary | 01/01/70 00:00 | |
what things | 01/01/70 00:00 | |
Opto-Isolators | 01/01/70 00:00 | |
These things?![]() | 01/01/70 00:00 | |
Polling UART | 01/01/70 00:00 | |
fine, but that is NOT the question | 01/01/70 00:00 | |
What about interrupts? | 01/01/70 00:00 | |
About interupts | 01/01/70 00:00 | |
I'd say THE plan | 01/01/70 00:00 |