Abstract:
PIC32 is a 32-bit microcontroller manufactured by Microchip. Because it supports more peripherals than the number of pins it has, it has a feature called Peripheral Pin Select (PPS), which maps groups of peripherals to groups of pins by writing different values to the four least significant bits of certain registers. The large number of four-bit codes are hard to remember and it takes time to do look up each time configuration of a pin is needed. In this project, I wrote a PPS web application that does the pin assignments. After users specify pins and peripherals, the application maps peripherals to pins using user’s constraints. If mapping is successful, configuration code in C language will be provided; otherwise, errors will be reported and appropriate suggestions will be provided.