Created Thu, 20 Nov 2014 11:27:04 +0000 by freakyuser
Thu, 20 Nov 2014 11:27:04 +0000
I'm planning to build an LED Cube with an chipKIT max32 board. I want to program it with my PICKIT 3.
But I have one simple question: As far as I checked the schematics correctly, I can use all PIN's from PORTA-G as GPIO (expect the osc Pins).
Am I right with this? Because in the reference manual, there ar eonly 16 PIN's described as I/O's
Thu, 20 Nov 2014 12:10:34 +0000
You can use any pin that is routed through to an IO header. Note that some pins are duplicated on the headers (for compatibility purposes), and that a couple are output or input only.
There's far more than just 16 pins.The tables on page 12 and onwards of the MAX32 Board Reference Manual lists the mappings between chip pins, port names, and IO pin numbers in a number of different ways.
Tue, 25 Nov 2014 14:15:21 +0000
OT: Somehow the password reset doesn't seem to work...
Thanks for your answer. But why are some PIN's limited to input or output? Because of the PIC or the Board schematic? I wasn't able to figure that out from the eagle file or the PIC datasheet.
Wed, 26 Nov 2014 16:35:14 +0000
From the chip. It's to do with the peripherals that are shared with those IO pins. Some of them (USB) don't seem to like being used as outputs.
In the datasheet, you want Table 1-1, which tells you about each pin function. Looking down it at all the Rxy entries they are all I/O except RG2 and RG3 that are only I. Those happen to be the USB pins.