et-base pic18f8722 (icd2) - sk pangskpang.co.uk/catalog/images/microchip/docs/et-base 8722...et-base...
TRANSCRIPT
ET-BASE PIC8722 (ICD2)
-1-
ET-BASE PIC18F8722 (ICD2)
ET-BASE PIC8722 (ICD2) is PIC Microcontroller Board of Microchip Co., Ltd. that uses Microcontroller PIC18F8722 80-PIN TQFP to arrange devices into compact size and uses resources of Microcontroller mainly. Moreover, it is deigned to support applications with Test Board “ET-BASIC I/O”.
Table shows specifications of Microcontroller PIC18F8722
Specifications PIC18F8722
Operating Frequency DC – 40 MHz
Program Memory (Bytes) 128K
Data Memory (Bytes) 3936
Data EEPROM Memory (Bytes) 1024
Interrupt Sources 29
I/O Ports Ports A, B, C, D, E,
F, G, H, J
Timers 5
Capture/Compare/PWM Modules 2
Enhanced Capture/Compare/
PWM Modules
3
Enhanced USART 2
Serial Communications MSSP,
Enhanced USART
Parallel Communications (PSP) Yes
10-bit Analog-to-Digital Module 16 Input Channels
Resets (and Delays) POR, BOR,RESET Instruction,
Stack Full, Stack
Underflow (PWRT, OST),
MCLR (optional), WDT
Programmable High/Low-Voltage Detect Yes
Programmable Brown-out Reset Yes
Instruction Set 75 Instructions;
83 with Extended
Instruction Set enabled
Packages 80-pin TQFP
ET-BASE PIC8722 (ICD2)
-2-
1 2 3 44
5
6
7 8
910
11
12
13
14
15
16
17
18
19
20
Specifications of Board
- Support Microcontroller PIC18F8722 80 PIN - Signal Clock Crystal Oscillator 10 MHz for PIC18F8722
(can use x4 from PLL to be 40 MHz) - 7 I/O Port 10 PIN (be arranged under standard of ETT) - 3 I/O Port 2 PIN - 2 Port Driver RS232 - 1 Port LCD that is arranged under standard of ETT (ET-
CLCD) - Port Download ICD2 supports external Programmer (ET-
PGMPIC USB) - Connector VCC and GND
Structure of Board ET-BASE PIC8722 (ICD2)
ET-BASE PIC8722 (ICD2)
-3-
Detailed Description
• No.1 is Connector Port RS232 the first Channel.
• No.2 is Connector Port RS232 the second Channel.
• No.3 is Connector I/O 2 PIN to interface PG0, PG3 and PG4. Its Pin arrangement is shown below.
• No. 4 is Connector LCD Display as Character 14 PIN that is arrangeed under standard of ETT and uses 4 data bit Interface.
ET-BASE PIC8722 (ICD2)
-4-
1 2
3 4
5 6
7 8
9 10
RA[0] RA[1]RA[2] RA[3]RA[4] RA[5]
VCC GND
RA[0..5]
NC NC
1 2
3 4
5 6
7 8
9 10
RC[0] RC[1]RC[2] RC[3]RC[4] RC[5]
VCC GND
RC[0..7]
RC[6] RC[7]
1 2
3 4
5 6
7 8
9 10
RD[0] RD[1]RD[2] RD[3]RD[4] RD[5]
VCC GND
RD[0..7]
RD[6] RD[7]
1 2
3 4
5 6
7 8
9 10
RE[0] RE[1]RE[2] RE[3]RE[4] RE[5]
VCC GND
RE[0..7]
RE[6] RE[7]
1 2
3 4
5 6
7 8
9 10
RF[0] RF[1]RF[2] RF[3]RF[4] RF[5]
VCC GND
RF[0..7]
RF[6] RF[7]
1 2
3 4
5 6
7 8
9 10
RJ[0] RJ[1]RJ[2] RJ[3]RJ[4] RJ[5]
VCC GND
RJ[0..7]
RJ[6] RJ[7]
1 2
3 4
5 6
7 8
9 10
RB[0] RB[1]RB[2] RB[3]RB[4]
VCC GND
RB[0..7]
RB[6] RB[7]RB[5]
• No.5, 6, 7, 8, 9, 10 and 11 is Port I/O PIN of PIC Microcontroller that is PORT-RA, PORT-RB, PORT-RC, PORT-RD, PORT-RE, PORT-RF and PORT-RJ respectively. Its Pin arrangements are shown below.
ET-BASE PIC8722 (ICD2)
-5-
• No.12 is PIC18F8722 Microcontroller. • No.13 is LED that is interfaced with RH0 Pin for writing
program to test operation of board simply.
• No.14 is Port ICD2 to download Code Program into Microcontroller and uses with external Programmer such as ET-PGMPIC USB.
• No.15 is Jumper to select interfacing signals between I/O Pin; RC6 and RC7 and Driver MAX232.
• No.16 is RESET Program Switch. • No.17 is Connector Power Supply of Board and must be
interfaced with Power Supply that is not higher than 5VDC. If Power Supply is higher than 5VDC, component maybe damaged.
ET-BASE PIC8722 (ICD2)
-6-
• No.18 is Switch to select mode operation between RUN Mode and PROGRAM Mode. When shifting Switch to PROG position, it will ON/OFF Pin that is used to program Code Data into Programmer to program the designed data; when shifting Switch to RUN position, Pins will come back to normal I/O Pin.
• No.19 is LED to display state of Power Supply internal Board (Power Status LED).
• No.20 is Connector Power Supply to use with Board ET-BASIC I/O.
Source Code Programming
To program Data Code Program into Microcontroller of Board ET-BASE PIC8722 (ICD2) must use external Programmer such as ICD2, PICKit2 or “ET-PGMPIC USB” Programmer of ETT. It makes us interfacing Cable Program into Connector ICD2 as shown in the picture below. Other detailed description about application of Programmer can see in the User’s Manual of the used Programmer.
ET-BASE PIC8722 (ICD2)
-7-
ET-PGMPIC USB
ET- BASE PIC8722
1 2 3 4 5 6
A
B
C
D
654321
D
C
B
A
Title
Number RevisionSize
B
Date: 2-Apr-2007 Sheet of File: C:\Documents and Settings\adminstrator\My Documents\Potel_doc\PICBASE8720\base8720_22.DdbDrawn By:
RG4GNDVCPU
RF7
RF5RF4RF3RF2
RF6
RH2RH3RE1RE0
RG1RG2RG3
MCLR
RG0
RH7RH6
RH21
RH32
RE13
RE04
RG0/CCP35
RG1/TX26
RG2/RX27
RG38
MCLR/VPP9
RG410
VSS11
VDD12
RF713
RF6/AN1114
RF5/AN1015
RF4/AN916
RF3/AN817
RF2/AN718
RH7/AN1519
RH6/AN1420
RH
5/A
N13
21
RH
4/A
N12
22
RF1
/AN
623
RF0
/AN
524
AV
DD
25
AV
SS26
RA
3/A
N3
27
RA
2/A
N2
28
RA
1/A
N1
29
RA
0/A
N0
30
VSS
31
VD
D32
RA
5/A
N4
33
RA
434
RC
135
RC
036
RC
6/TX
137
RC
7/R
X1
38
RJ4
39
RJ5
40
RJ6 41RJ7 42RC2 43RC3/SCK/SCL 44RC4/SDI/SDA 45RC5/SDO 46RB7/PGD 47VDD 48OSC1/CLKI 49OSC2/CLKO/RA6 50VSS 51RB6/PGC 52RB5/PGM 53RB4 54RB3 55RB2/INT2 56RB1/INT1 57RB0/INT0 58RJ3 59RJ2 60
RJ1
61R
J062
RD
763
RD
664
RD
565
RD
466
RD
367
RD
268
RD
169
VSS
70V
DD
71R
D0
72R
E773
RE6
74R
E575
RE4
76R
E377
RE2
78R
H0
79R
H1
80
PIC18f8720/22 GNDOSC2OSC1
VCPU
RC5RC4RC3RC2
RB7_CPU
RJ2RJ3RB0RB1
RB3RB4
RB5_CPURB6_CPU
RB2
RJ7RJ6
RH
5R
H4
RF1
RF0
AV
DD
AV
SSR
A3
RA
2R
A1
RA
0
GNDVCPU
RA
5R
A4
RC
1R
C0
RJ4
RJ5
RH
1R
H0
RE2
RE3
RE4
RE5
RE6
RE7
RD
0
VCPU
GND
RD
1R
D2
RD
3R
D4
RD
5R
D6
RD
7R
J0R
J1
OSC2OSC1
22pF 22pF
20MHzCRYSTAL
0.1uF
RX1
TX1
RC6
RC7
RS232
PORT
RS232
PORT
+5V
RESET
10k
RB6_CPU
RB7_CPU
RESET
RB6_IO
RB7_IO
PROG
RUN
MCLR
RESET
RB5_CPU
RB5_IO
1K
1
2
3
4
5
6 7
8
9
10
11
12
VPP PGC
PGD
123456
ICD2
PGCPGD
VDDGND
VPP VPP
PGCPGD
+5V
0.1uF
0.1uF
0.1uF
1 2 3 4 5 6
A
B
C
D
654321
D
C
B
A
Title
Number RevisionSize
B
Date: 2-Apr-2007 Sheet of File: C:\Documents and Settings\adminstrator\My Documents\Potel_doc\PICBASE8720\base8720_22.DdbDrawn By:
1234
RS232-2
C1+ 1
C1- 3
C2+ 4
C2- 5
R1O 12
T1I 11
R2O 9
T2I 10
VCC16
V+2
V-6
GND15
R1I13
T1O14
R2I8
T2O7
MAX232
VCC
GND
1 23 45 67 89 10
PORT-RA[0..7]
1 23 45 67 89 10
PORT-RB[0..7]
1 23 45 67 89 1011 1213 14
CLCD (4 Bits Mode)
VCC GND
VCC GND
RH6RH7
RH3VORH1
RH4RH5
VCC GND
GNDGND
D5D7
D4D6
D1ENRS
R/WD0D2D3 GND
RH2
GND
VCC GNDVO
10k
+5V
VO
+5V
VCCRX2TX2GND
RX2TX2
10uF
10uF
10uF
10uF
+5V
0.1uF
RX1TX1RG2RG1
12
+5V
GND
+5V
Zener Diode
5.6VPWR
560
1 23 45 67 89 10
PORT-RC[0..7]
1 23 45 67 89 10
PORT-RD[0..7]
VCC GND
VCC GND
RG4
RF7RF5RF4RF3RF2
RF6
RE1RE0GNDRG3
RG0
RC5RC4RC3RC2
RB7_IORJ2 RJ3
RB0 RB1RB3
RB4 RB5_IORB6_IO
RB2
RJ7RJ6
RF1RF0RA3RA2RA1RA0
RA5RA4
RC1RC0
RC6 RC7
RJ4 RJ5
RE2 RE3RE4 RE5RE6 RE7
RD0 RD1RD2 RD3RD4 RD5RD6 RD7
RJ0 RJ1
1 23 45 67 89 10
PORT-RE[0..7]
VCC GND
1 23 45 67 89 10
PORT-RF[0..7]
VCC GND
GND
1 23 45 67 89 10
PORT-RJ[0..7]
VCC GND
RX1TX11
234
RS232-1
+5V
VCCRX1TX1GND
10k
+5V
12 PG3
12 PG4
12 PG0
GND
POLY SW
FRVCPU