Q:

PIC:How to interface MPL115A1 pressure sensor to PIC24FJ16GA?

I have one pressure sensor which I want to interface to microcontroller PIC24FJ16GA to measure pressure.
I don't know which pin of controller to interface a sensor.
I am already using SPI1 in my project in that configuration controller is worked as a slave.
How to interface using SPI2?
I am little bit confusing when read a datasheet of controller.
If some demo code is available then is better understanding for me. 

A:

Both SPI connections are handled the same way. Everywhere it has "x" in the datasheet, e.g. SPIxCON1, simply use a "2" to handle the second interface whenever you would use a "1" to handle the first.

