I want to perform both Parallel and SPI interfacing in PIC18F2550 microcontroller.I am interfacing a high speed 8bit ADC(either MAX114 or AD7825) to the PortB of the microcontroller and display the value in a Nokia 6100 color(4K) LCD interfaced by using the SPI interface.I will also send the same value to the PC over USB.The USB part is not a problem.
The problem is the pin number 22 which is the PortB.1(RB1/AN10/INT1/SCK/SCL) is also the Serial clock needed for the SPI. Now my question is how can I use both of them simultaneously.Is there any work around for this.
I'm using the CCS C Compiler for my PIC programming.
The problem is the pin number 22 which is the PortB.1(RB1/AN10/INT1/SCK/SCL) is also the Serial clock needed for the SPI. Now my question is how can I use both of them simultaneously.Is there any work around for this.
I'm using the CCS C Compiler for my PIC programming.