Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Ya by software it may be possible to emulate rs232 via SPI port but it may be very tough and it will eat up lot of processor computation power it is better to use a SPI to UART chip with built in charge pump like MAX3111 which takes care of the UART functions (but it is costly) and its performance is good as we have tested it in our design and it supports high baud rate. or u can use the processor I/O pins as serial transmitter and receiver.:idea:
your question is not so clear but spi is usually used between integrated pic-pic not pic-rs232 circuits . to set baud rate on spi is quite difficult because the only baud rates in spi are divisions of frequency...maybe 1/4 Osc etc but if you are sending information between two pics then its possible but pic to rs232 using spi is not so possible. i hope that answers your question ...
Revised question. What i want to do is install a Bluetooth (BT) module to facilitate communication with a PC. However, i want to debug the BT setup with a PC as I am then able to basically complete the rest of the project, before implementing the BT.
Thus, by using one of those SPI-UART ICs and a RS232 tranciever (MAX232 say) this can be done?