Gordon Williams wrote: > I would like to use both SPI and RS-232 on a 18 or 28 pin PIC. > Looking at the data sheets of a number of PICs the pins for these > peripherals appear to overlap. > > Can SPI and serial be used concurently? I sure hope so, but can't > figure out how. RS-232 in hardware is done using the USART module, and SPI using the MSSP module. You can do them both concurrently in hardware if your PIC has both these modules. However, a SPI master is trivial to code in software, so you can easily use a PIC with just a USART and no MSSP. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist