chipKIT® Development Platform

Inspired by Arduino™

SPI on the pic32mx250f128

Created Sat, 19 Jan 2013 17:10:06 +0000 by Medwards


Sat, 19 Jan 2013 17:10:06 +0000


Can anybody help with an SPI example on a pic32mx250f128, as I cannot find a reference of how to set it up using the Peripheral Pin Select.



Mon, 21 Jan 2013 13:44:04 +0000

the pic32 manual tells you what bits for what PPS pins turn on/off what features tieing to what registers.

If your using MPIDE, it should take care of it for you.

look at the pin diagram for the 28dip, see the pins you need then look at chapter 11.1 - Pehiperal Pin Select and you can see the PPS input pins for SDI1 and the ouput table for SDO1 etc. so you could eg: tie SDO1 to RPA2 and SDI1 to RPA1 and wire to your physical pins