Quote Originally Posted by tico View Post
I understand that the DosOnChip will handle Uart and SPI with I2c comming soon,
As I stated previously I am already using the serial port for data to the PC, I would like to add SPI for datalogging.
I am using a 16f877a and It only has one TX pin RC.6 I believe, looking at the other pins available and with the specs for th DosOnChip I have the ability for SPI, that is why I chose this part.
Unless I am missing something and I can use another pin to TX serial data, this is my only option for now.
Use HSERIN/OUT for the hardware serial pins, and SerIn/Out or SerIn2/Out2 and use seperate pins driven by software. Or forget about HSerIn/Out and use the software serial commands to handle it. If your code is sound and efficient enough, the software commands will handle it just fine. If it's sloppy, then you'll be fighting missed characters, getting out of sync, etc. But the DOSonChip has CTS/RTS pins and so does your PC...so you can use those to your advantage.