Microchip Technology DM300018 User Manual
dsPICDEM 2 Development Board User’s Guide
DS51558A-page 90
© 2005 Microchip Technology Inc.
EMUC1 & EMUD1 pin-pair, as well as the EMUC2 & EMUD2 pin-pair, for alternate
debugging channels. This functionality has been provided by the DIP switches in S3
(for Motor Control family) and S4 (for Sensor and General-Purpose families).
debugging channels. This functionality has been provided by the DIP switches in S3
(for Motor Control family) and S4 (for Sensor and General-Purpose families).
Table 14-3 shows the various alternate debugging channel options available to the
user. These switches are represented in the schematics in Figure A-5: “dsPICDEM™
2 Development Board Schematic (Sheet 4 of 7)”.
user. These switches are represented in the schematics in Figure A-5: “dsPICDEM™
2 Development Board Schematic (Sheet 4 of 7)”.
14.1.5
LCD
The LCD supports 2 rows and 16 columns of ASCII-text characters and is controlled by
a dsPIC30F2011 device. The dsPIC30F devices may write ASCII character data and
cursor position information via an SPI interface to the LCD controller. Header H1 con-
nects the SPI pins (SCK1 and SDO1) on the dsPIC30F device to the LCD controller. A
pair of jumpers should be installed on H1 to connect any one of the following to the
LCD:
a dsPIC30F2011 device. The dsPIC30F devices may write ASCII character data and
cursor position information via an SPI interface to the LCD controller. Header H1 con-
nects the SPI pins (SCK1 and SDO1) on the dsPIC30F device to the LCD controller. A
pair of jumpers should be installed on H1 to connect any one of the following to the
LCD:
- 28-pin device on U2B1
- 40-pin device on U2A1
- 18-pin device on U1C1
- 28/40-pin device on U1A1 or U1B1
TABLE 14-3:
PROGRAMMING/DEBUGGING PIN SELECTION
Switch Position
Label
Function
(1)
S2
1
GP 40
Connects ICD to programming pins on the 40-pin
dsPIC30F device in the general purpose socket
(U1A1)
dsPIC30F device in the general purpose socket
(U1A1)
2
GP 28
Connects ICD to programming pins on the 28-pin
dsPIC30F device in the general purpose socket
(U1B1)
dsPIC30F device in the general purpose socket
(U1B1)
3
GP 18
Connects ICD to programming pins on the 18-pin
dsPIC30F device in the general purpose socket
(U1C1)
dsPIC30F device in the general purpose socket
(U1C1)
4
M ALL
Connects ICD to programming pins on the
dsPIC30F device in either motor control socket
dsPIC30F device in either motor control socket
S3
1
EMUD1
EMUC1
EMUC1
Connects ICD to debug pins EMUD1 and UMUC1
on the dsPIC30F device in either motor control
socket
on the dsPIC30F device in either motor control
socket
2
EMUD2
EMUC2
EMUC2
Connects ICD to debug pins EMUD2 and UMUC2
on the dsPIC30F device in either motor control
socket
on the dsPIC30F device in either motor control
socket
S4
1
GP ALL EMUD1
GP ALL EMUC1
GP ALL EMUC1
Connects ICD to debug pins EMUD1 and EMUC1
on the dsPIC30F device in any general purpose
socket
on the dsPIC30F device in any general purpose
socket
2
GP 40 EMUD2
GP 40 EMUC2
GP 40 EMUC2
Connects ICD to debug pins EMUD2 and EMUC2
on the 40-pin dsPIC30F device in general
purpose socket U1A1
on the 40-pin dsPIC30F device in general
purpose socket U1A1
3
GP 28 EMUD2
GP 28 EMUC2
GP 28 EMUC2
Connects ICD to debug pins EMUD2 and EMUC2
on the 28-pin dsPIC30F device in general
purpose socket U1B1
on the 28-pin dsPIC30F device in general
purpose socket U1B1
4
GP 18 EMUD2
GP 18 EMUC2
GP 18 EMUC2
Connects ICD to debug pins EMUD2 and EMUC2
on the 18-pin dsPIC30F device in general
purpose socket U1C1
on the 18-pin dsPIC30F device in general
purpose socket U1C1
Note 1:
Indicates the path established when that switch is in the ON position. All other
switches must be in the OFF position.
switches must be in the OFF position.