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.