Wireless Security Remote Control Development Kit User’s Guide
5.2
HARDWARE DESCRIPTION
5.2.1
Serial Communications Connections
The Embedded Security Development Board is divided into two halves. The left side is
the host controller half. The right side is the target application half. The two halves are
connected by three wires labeled TP1, TP2, and TP3. Table 5-1 lists the respective
microcontroller I/O port connections.
TABLE 5-1:
SERIAL COMMUNICATIONS CONNECTIONS
Host Controller PIC16LF1947
(Slave)
Target Application PIC16LF1398
(Master)
Test Points
RF5
RB2
TP1
TP2
RB7/ICSPDAT
RB6/ICSPCLK
RF4
TP3
RE3/MCLR/VPP
The host controller half is controlled by a PIC16LF1947 microcontroller. The
PIC16LF1947 microcontroller communicates with a 16x2 character LCD display
(LCD1), an MCP2200 USB to UART communications IC (U2), an MCP795W10 SPI
Real-Time Clock Calendar IC (U5), four push button switches (SW5-SW8), and seven
LEDs (D8-D14). The PIC16LF1947 microcontroller can be programmed/debugged via
the ICSP™ header, J4. The host controller half schematic is shown in Appendix C as
Figure C-2.
The target application half has a PIC16LF1398 microcontroller. The PIC16LF1398
microcontroller communicates with the 28-pin PICtail connector (J1), Serial Accessory
Port (P20), four push button switches (SW1-SW4), and four LEDs (D4-D7). The
PIC16LF1398 microcontroller can be programmed/debugged via the ICSP header, J5.
The target application half schematic is shown in Appendix C as Figure C-3.
5.2.2
Serial Accessory Port (P20)
The Serial Accessory Port provides a simple serial interface for the external modules.
These modules may be either external sensor or accessory board. The partial list of
Microchip boards with SAP capabilities includes the following:
• LCD Serial Accessary Board
• RS232 Serial Accessary Board
For more information about the existing accessory boards, visit http://www.microchip.com
or refer to the “RS-232 Serial Accessory Board User’s Guide” (DS70649).
The following interfaces are supported by the Serial Accessory Port:
• 3 or 4 wire SPI
2
• I C™
• USART
The on-board switch “S1” selects these interfaces. Jumpers J7 and J8 pull-up resistors
2
when I C is selected and the pull-up resistors are not available on the daughter board.
Software modifications are expected to use those interfaces when pins are assigned
different functionalities. For more information on the port pin assignment, see the
schematic in Appendix C.
5.2.3
USB Interface Port
Microchip MCP2200 provides USB to UART support. MCP2200 provides automatic
conversion between UART and full-speed USB 2.0 communication. At the same time,
the USB interface port can be used to power the Embedded Security Development
Board directly. For more information, please refer to the Microchip MCP2200 data
sheet.
DS41646A-page 28
2012 Microchip Technology Inc.