Microchip Technology Starter Kit for PIC24F DM240011 DM240011 User Manual

Product codes
DM240011
Page of 42
MPLAB Starter Kit for PIC24F User’s Guide
DS51725A-page 28
 
© 2008 Microchip Technology Inc.
The microcontroller directly drives the OLED display (LED1) and the tri-color LED (D6, 
D10 or D11, depending on the board’s manufacturing option). The microcontroller uses 
the Parallel Master Port to drive the OLED through the PMD7:PMD0 data lines, while 
PMA0, PMCS2, PMRD and PMWR serve as control signals. A DC boost circuit 
comprised of power MOSFET Q4, along with D5 and L3, provides the operating voltage 
for the OLED. 
The individual channels of the tri-color LED are driven directly by three of the 
microcontroller’s PWM modules, assigned to outputs on pins RF4/RF5, RG6/RG7 and 
RG8/RG9. Two output pins are used for each PWM to ensure sufficient drive strength 
for each LED component.
The microcontroller uses an on-chip USB On-The-Go (OTG) engine and transceiver to 
communicate with USB A and mini-B receptacles on the application side. While both 
receptacles are populated, only the A receptacle is used in this version of the demo 
application. The mini-B receptacle is available for users who may wish to design a 
peripheral application. 
5.2
PROGRAMMER/DEBUGGER FUNCTIONAL OVERVIEW
Figure 5-2 illustrates the debugging/programming operation of the starter kit.
FIGURE 5-2:
STARTER KIT PROGRAMMER/DEBUGGER BLOCK DIAGRAM
In its default configuration, the Starter Kit functions as a USB bus-powered device. 
Power is provided via the USB cable; the nominal 5 volt unregulated supply is regulated 
by a Microchip MC1727 3.3 volt low-dropout (LDO) linear regulator. Proper main 
system power is indicated by the green LED (D2).
The debugging and programming side of the Starter Kit is controlled by a PIC18F67J50 
microcontroller running at 48 MHz. The PIC18F67J50’s built-in USB engine provides 
the communications interface between the Starter Kit and the host PC. The 
microcontroller manages debugging or programming of the target PIC24FJ256GB106 
by controlling the target’s MCLR, PGC1/EMUC1, and PGD1/EMUD1 signals. Target 
power is switched on and off via a low V
CE
 saturation PNP transistor (Q1) configured 
as a high-side switch. Target clocking is also provided by the PIC18F67J50.
A Microchip 25LC010A serial EEPROM is used to store the starter kit’s serial number 
and debug control information.
PIC18F67J50
Debug
LED
USB mini-B
Jack
Serial EEPROM
25LC010A
3.3V LDO
Regulator
12 MHz
Crystal
SPI
ICSP™
V
BUS
From Host PC
V
DD
 to Starter Kit
USB Data
To Application Side
(PIC24FJ256GB106)
Power
LED