Okay, I need someone to please point out the key piece of information I'm missing. I have years of microcontroller programming experience but am new to Digilient products. I have a chipKIT Max32 with "REV D" printed on the back in silkscreen. I look at the Rev D schematic on the Digilent website, and on sheet 5 of 5 there is a LED with reference designator "LD5" that is controlled by net "T2CK/RC1" (see snapshot below/attached). On schematic sheet 3 of 5 I see where the net "T2CK/RC1" is connected to reference designator "IC2PC" "Port C" on pin 6 (see snapshot below/attached). I program the most basic blink-LED example in MPIDE and... LD5 does not blink. I Google the situation and find someone else having the same problem but is given the only partially helpful tip of "... LD5 isn't on pin 6, LD5 is on pin 86." (see link). I change my MPIDE sketch to "int ledPin = 86;" and sure enough it works! Looking through the schematic, pin 86 is a VDD pin on sheet 2 (see snapshot below/attached). What is going on? Can someone please point out my error in thinking?
Question
T22
Okay, I need someone to please point out the key piece of information I'm missing. I have years of microcontroller programming experience but am new to Digilient products. I have a chipKIT Max32 with "REV D" printed on the back in silkscreen. I look at the Rev D schematic on the Digilent website, and on sheet 5 of 5 there is a LED with reference designator "LD5" that is controlled by net "T2CK/RC1" (see snapshot below/attached). On schematic sheet 3 of 5 I see where the net "T2CK/RC1" is connected to reference designator "IC2PC" "Port C" on pin 6 (see snapshot below/attached). I program the most basic blink-LED example in MPIDE and... LD5 does not blink. I Google the situation and find someone else having the same problem but is given the only partially helpful tip of "... LD5 isn't on pin 6, LD5 is on pin 86." (see link). I change my MPIDE sketch to "int ledPin = 86;" and sure enough it works! Looking through the schematic, pin 86 is a VDD pin on sheet 2 (see snapshot below/attached). What is going on? Can someone please point out my error in thinking?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.