Datasheet
Developing New Applications
2013 Microchip Technology Inc. DS50002172A-page 27
3.2 HARDWARE CONSIDERATIONS FOR NEW APPLICATIONS
When developing your own application for the Starter Kit board, it is important to set
each pin on the microcontroller’s I/O ports to the proper type (analog or digital) and to
the proper state (input or output).
Certain I/O pins on the PIC24FJ128GC010 microcontroller (and the corresponding pin
on J7/J8) can be used as general purpose I/Os. Others are hard-wired to Starter Kit
circuitry, but may be available under certain conditions. Table 3-1 lists these pins.
TABLE 3-1: I/O PINS AVAILABLE FOR USER
If the LCD display is not being used in the new application, the pins driving the panel
segment and columns must be set as digital inputs; this prevents possible damage to
the LCD. This includes the following pins:
• RA<15:14>,<10>,<6:0>
• RB<15:14>,<12:7>
• RC2
• RD<15:13>,<11:6>
• RE<8>,<4:0>
• RF<13:12>,<8>,<3:0>
• RG<15:12>,<1:0>
If the potentiometer, R7 (AN19/RG8), or the phototransistor sensor, Q1 (AN22/RA7), is
not to be used, the associated pin(s) must remain set as an analog input.
The digital input for SW1 (RD0) must remain set as a digital input.
PIC24FJ128GC010 Pin J7/J8 Pin Function Comment
RE6/PMD6/CN64 37 External Interrupt from
Wireless Module
Available if there is no
wireless module
RE9/AN21/CN67 39 Chip Select for TC77 Available if JP7 shunt is
removed
RF4/AN11/OPA2N3/CN17 25 OPA2- (input) Free to use
RF5/AN10/OPA2P2/CN18 26 OPA2+ (output) Free to use
RG7/AN18/CN9 31 Chip Select (low) for
Wireless Module
Available if there is no
wireless module
AN9/RPI40/CN47/RC3 12 ADC2 Input Free to use
AN8/RPI38/CN45/RC1 11 ADC1 Input Free to use
AN3/OPA2O/CN5/RB3 14 OPA2O (output) Free to use
Note: Op amp OPA1 cannot be used on the Starter Kit as its output pin is used
for the PKOB.