Hi all
I need some help with a problem.
I have 2 x PIC microcontrollers on seperate PCBs that communicate via SPI. They connect via a 8 pin header. One is a master the other the slave. I need to detect when tbe slave PIC has bern disconnected from the header.
I have MOSi, MISO,CLK and Slave select lines available 0V and 3V on the header. The slave select line is pulled high via a 47K resistor.
I only have one pin of the master PIC available, which is a I/O line.
Is there any way i can detect the slave select line using hardware?
I have no idea in how to do this.
Any help would be appreciated.
Thanks
I need some help with a problem.
I have 2 x PIC microcontrollers on seperate PCBs that communicate via SPI. They connect via a 8 pin header. One is a master the other the slave. I need to detect when tbe slave PIC has bern disconnected from the header.
I have MOSi, MISO,CLK and Slave select lines available 0V and 3V on the header. The slave select line is pulled high via a 47K resistor.
I only have one pin of the master PIC available, which is a I/O line.
Is there any way i can detect the slave select line using hardware?
I have no idea in how to do this.
Any help would be appreciated.
Thanks