Quote:
Originally posted by Dave Flowerday
Please see the PIC 18F8520 datasheet, page 94 (of the PDF, page 92 of the document itself), bits 3-5.
As I said, any microcontroller worth its salt provides interrupts when bytes are transmitted/received. Regardless, even if it didn't you'd simply need to poll the receive buffer status to see when it's full, and then go and read in the data that was received. No need to use an external signalling line (good thing too, since you wouldn't be able to do that with anything off-the-shelf that speaks RS232).
|
IF the 18Fxx20 is llike some of its great uncles, it may even have a serial interface in hardware. Interrupt-on-change by pin is a recurring theme in the 16F/Cxx line, so there is the likihood of an automatic serial service routine.
I2C is another possibility.