Microchip Technology DM300018 Benutzerhandbuch

Seite von 115
Hardware
© 2005 Microchip Technology Inc.
DS51558A-page 91
The LCD Controller accesses the LCD via a 4-pin parallel port and a 3-pin control line. 
For a detailed description of the communication protocol, see Appendix B. “Writing 
to LCD”
The schematics for the LCD connections on the board are provided in Figure 
A-4: “dsPICDEM™ 2 Development Board Schematic (Sheet 3 of 7)”
.
14.1.6
CAN Port
An MCP2551 Controller Area Network transceiver is provided on the dsPICDEM 2 
Development Board. The CAN RXD and TXD lines of the MCP2551 are connected to 
the C1RX and C1TX pins on the dsPIC30F device by installing a jumper on header H2. 
CAN-bus signals (CANH and CANL) are available on DB9 connector J3. Three devices 
supported by the dsPICDEM 2 board feature a CAN module. These are 
dsPIC30F4011, dsPIC30F4012 and dsPIC30F4013. The header H2 should have 
jumpers installed on the M40 option for using the CAN module on the 30F4011 device, 
jumpers installed on the M28 option for the 30F4012 device and jumpers installed on 
the GP ALL option for the 30F4013 device. The schematic of the CAN port is shown in 
Figure A-4: “dsPICDEM™ 2 Development Board Schematic (Sheet 3 of 7)”.
14.1.7
RS-232 Port
A MAX232 transceiver is provided on the dsPICDEM 2 development board for enabling 
RS-232 communication. The transceiver interfaces a DB9 connector J2 and the UART 
Transmit and Receive pins on the active dsPIC30F via headers H3, H4 or H5. Header 
H3 enables a connection between the transceiver and the primary UART1 pins, U1TX 
and U1RX, on the active dsPIC30F device. Header H4 enables a connection between 
the transceiver and the alternate UART1 pins, U1ATX and U1ARX, on the active 
dsPIC30F device. H5 enables a connection between the transceiver and the UART2 
pins, U2TX and U2RX, on the active dsPIC30F device. At any time, only one of the 
three headers, H3, H4 and H5, may be populated with jumpers. 
The schematic of the RS-232 circuits is shown in Figure A-5: “dsPICDEM™ 2 
Development Board Schematic (Sheet 4 of 7)”
. Table 14-4 lists the connections set 
up by each header pin position
TABLE 14-4:
UART HEADER SETTINGS
Header
(1)
Pin Position
(2)
 Function
(3)
H3
M ALL
Connects the UART transceiver to the UART 1 module in the 
dsPIC30F device in either motor control socket.
GP 18
Connects the UART transceiver to the UART 1 module in the 
18-pin dsPIC30F device in general purpose socket U1C1.
GP 40/28
Connects the UART transceiver to the UART 1 module in the 
28 or 40-pin dsPIC30F device in general purpose socket 
U1A1 or U1B1.
H4
M ALL
Connects the UART transceiver to the alternate pins for the 
UART 1 module in the dsPIC30F device in either motor 
control socket.
GP ALL
Connects the UART transceiver to the alternate pins for the 
UART 1 module in the dsPIC30F device in any general 
purpose socket.
H5
M 40
Connects the UART transceiver to the UART 2 module of the 
40-pin dsPIC30F motor control device in socket U2A1.
GP 40
Connects the UART transceiver to the UART 2 module of the 
40-pin dsPIC30F general purpose device in socket U1A1.
Note 1:
Headers are mutually exclusive. Only one header can be used at a time.
2:
Pin position is the pair of pins with the indicated label. 
3:
Indicates the path established when jumper is installed in that position.