PPS and SPI

Started by Richard September 13, 2010
Hi

I familar with good old PIC18F and LPC1768. Now I have to use dsPIC for this project.

I'm not familiar with PPS technology for dsPIC33 (DSPIC33FJ128), I have SPI to connect to the pins. I look into datasheet and difficult to establish what c code I need to setup the SPI bus (SDO, SDI, SCLK, CS).

Can anyone provide a code example for C30 complier (MPLAB) so I can familiarise them.

Much appreciated.