Microchip Technology DV164039 Data Sheet
PIC24FJ256DA210 Development Board User’s Guide
DS51911A-page 38
2010 Microchip Technology Inc.
4.4.2
USB Connectivity
The PIC24FJ256DA210 Development Board supports three distinct full-speed USB
modes: Host mode (default), Device mode, and USB On-The-Go (OTG) mode.
Although the particular operating mode of the microcontroller is determined by the
application and device configuration, the development board hardware also needs to
be configured to suit the mode as well. These are selected by the USB mode jumpers
(Figure 4-4, callout 1). Additional current sense options for Host and OTG modes are
configured with setting I/O jumpers and modifying certain on-board resistors (callouts
2 and 3).
modes: Host mode (default), Device mode, and USB On-The-Go (OTG) mode.
Although the particular operating mode of the microcontroller is determined by the
application and device configuration, the development board hardware also needs to
be configured to suit the mode as well. These are selected by the USB mode jumpers
(Figure 4-4, callout 1). Additional current sense options for Host and OTG modes are
configured with setting I/O jumpers and modifying certain on-board resistors (callouts
2 and 3).
FIGURE 4-4:
CONFIGURING USB MODES
4.4.2.1
USB HOST MODE (DEFAULT)
To enable the USB Host Mode:
1.
Install jumper JP6.
2.
Remove jumpers JP5 and JP7.
3.
If the application requires detection of drawn current by the device on the USB
line, enable the detection of an analog OVERCURRENT signal at pin AN19/RG8
of the microcontroller as follows (Figure 4-4, callout 2):
line, enable the detection of an analog OVERCURRENT signal at pin AN19/RG8
of the microcontroller as follows (Figure 4-4, callout 2):
a) Open jumper JP13 (disconnects CTMU_PAD1, LED D1 and Switch S1).
b) Populate R26 with a
0
resistor.
c)
If installed, remove resistor R27. (R27 may have been installed if the USB
OTG mode was previously enabled. See Section 4.4.3.1 “UART and USB
OTG Mode (TX Remapping)” for more information.)
OTG mode was previously enabled. See Section 4.4.3.1 “UART and USB
OTG Mode (TX Remapping)” for more information.)
In Host mode, use J4 (Type A Female USB connector) to connect to an external USB
device.
device.
4.4.2.2
USB DEVICE MODE
To enable USB Device mode:
1.
Install jumper JP7.
2.
Remove jumpers JP5 and JP6.
In this mode, use J2 (Type Mini B Female USB connector) to connect to an external
USB Host.
USB Host.
Note:
Only one USB mode may be enabled in hardware at any time.
M
1
2
3