OLIMEX PIC-MICRO-WEB User Manual

Page 1
PIC-MICRO-WEB development board
User's manual
Rev. E, January 2014
Copyright(c) 2011, OLIMEX Ltd, All rights reserved
Page 1
Page 2
INTRODUCTION:
BOARD FEATURES:
PIC18F67J60 microcontroller with Ethernet and 1 Mbit memory for code 1Mbit on board serial flash for web pages storage mini ICSP/ICD connector for programming with PIC-ICD2, PIC-ICD2-TINY and
PIC-ICD2-POCKET.
Power-Over-Ethernet support (for use with MOD-PoE power supply injector on
standard LAN cables/switches)
It is possible to use the board without PoE in which case DB25.pin8 (Vin) should
be connected to 24-50 VDC source
The board is enclosed in plastic shell DB25 parallel port 25 available signals and power supply on the DB25 connector Dimensions 50x30 mm (2 x 1.2")
ELECTROSTATIC WARNING:
The PIC-MICRO-WEB board is shipped in protective anti-static packaging. The board must not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS:
Cables: 1.8 meter USB A-B cable to connect PIC-KIT3. Other cables might be
required in case of other programming/debugging tools. You will also need a LAN cable.
Hardware: Programmer/Debugger – PIC-KIT3 or other compatible
programming/debugging tool.
Page 2
Page 3
MOD-PoE – module that provides Power-Over-Ethernet. If you don't want to use this module, you should apply power (24-50VDC) directly to DB25.pin8.
Software: PIC-MICRO-WEB is tested with MPLAB IDE v.7.62 + MPLAB C18 C
compiler. It is possible that the stack might not function properly if used with later versions of MPLAB IDE.
PROCESSOR FEATURES:
PIC-MICRO-WEB board use MCU PIC18F67J60 from Microchip with these
features:
- IEEE 802.3 compatible Ethernet Controller
- Integrated MAC and 10Base-T PHY
- 8-Kbyte Transmit/Receive Packet Buffer SRAM
- Supports One 10Base-T Port
- Programmable Automatic Retransmit on Collision
- Programmable Padding and CRC Generation
- Programmable Automatic Rejection of Erroneous Packets
- Activity Outputs for 2 LED Indicators
- Buffer:
o Configurable transmit/receive buffer size o Hardware-managed circular receive FIFO o Byte-wide random and sequential access o Internal DMA for fast memory copying o Hardware assisted checksum calculation for various protocols
- MAC:
o Support for Unicast, Multicast and Broadcast packets o Programmable Pattern Match of up to 64 bytes within packet at user-
defined offset
o Programmable wake-up on multiple packet formats
- PHY: o Wave shaping output filter
- Selectable System Clock derived from Single 25 MHz External Source: o 2.778 to 41.667 MHz
- Internal 31 kHz Oscillator
- Secondary Oscillator using Timer1 @ 32 kHz
- Fail-Safe Clock Monitor:
o Allows for safe shutdown if oscillator stops
- Two-Speed Oscillator Start-up
- High-Current Sink/Source: 25 mA/25 mA on PORTB and PORTC
- Five Timer modules (Timer0 to Timer4)
- Four External Interrupt pins
- Two Capture/Compare/PWM (CCP) modules
- Three Enhanced Capture/Compare/PWM (ECCP) modules:
o One, two or four PWM outputs
Page 3
Page 4
o Selectable polarity o Programmable dead time o Auto-shutdown and auto-restart
- Up to Two Master Synchronous Serial Port (MSSP) modules supporting SPI (all
4 modes) and I2C™ Master and Slave modes
- Up to Two Enhanced USART modules:
o Supports RS-485, RS-232 and LIN 1.2 o Auto-wake-up on Start bit o Auto-Baud Detect (ABD)
- 10-Bit, Up to 16-Channel Analog-to-Digital Converter module (A/D):
o Auto-acquisition capability o Conversion available during Sleep
- Dual Analog Comparators with Input Multiplexing
- Parallel Slave Port (PSP) module (100-pin devices only)
- 5.5V Tolerant Inputs (digital-only pins)
- Low-Power, High-Speed CMOS Flash Technology:
o Self-reprogrammable under software control
- C compiler Optimized Architecture for Reentrant Code
- Power Management Features:
o Run: CPU on, peripherals on o Idle: CPU off, peripherals on o Sleep: CPU off, peripherals off
- Priority Levels for Interrupts
- 8 x 8 Single-Cycle Hardware Multiplier
- Extended Watchdog Timer (WDT):
o Programmable period from 4 ms to 134s
- Single-Supply 3.3V In-Circuit Serial Programming™ (ICSP™) via Two Pins
- In-Circuit Debug (ICD) with 3 Breakpoints via Two Pins
- Operating Voltage Range of 2.35V to 3.6V (3.1V to 3.6V using Ethernet module)
- On-Chip 2.5V Regulator
Page 4
Page 5
BLOCK DIAGRAM:
Page 5
Page 6
MEMORY MAP:
Page 6
Page 7
Page 7
Page 8
SCHEMATIC:
Page 8
clo se
10 0n F
10 0n F
22pF
22pF
220nF
CE220 uF/10V
10 0n F 10 0n F
100nF
10 0n F
10 0n
10 0n F
10 0n F
4.7 nF
10 0n F
10 0n F
10 uF/6.3 V
10pF
10pF
2.2 uF/50 V
CE22 0uF/10V
10 0n F
1N 58 19 (smd )
WU 06 S
fer rit e b ead
CL 47 uH/ SD7 5
RJP -0 03 TC1
red
VIN
VIN
VIN
25 MHz
32768/6pF
10 0k
33 0
49.9/1%
49.9/1%
49.9/1%
49.9/1%
270/1%2k/1%
4.3 k/ 1%
1.8 k/1%
39 0K
15 0K
33 0
1M
33 0
10 K
PIC 18 F67 J6 0
AT4 5DB 01 1
BD9 00 1FS O- 8
3.3 V
3.3 V
3.3 V
3.3 V
3.3 V
3.3 V
3.3 V
3.3 V
3. 3V
3.3 V
3.3 V
3.3 V
3.3 V
db 25 _ma le
1N4 731( 4. 3V)
#SS1
#SS1
MISO
MISO
MOSI
MOSI
PGC
PGC
PG D
PGD
RST
RST
RST
SCK
SCK
TPIN+
TPIN+
TPIN-
TPIN-
TPOUT+
TPOUT+
TPOUT-
TPOUT-
12
3.3 V_ E
C1
C2
C3
C4
C5
C6
C7 C8
C9
C1 0
C1 1
C1 2
C13
C1 4
C15
C16
C1 7
C1 8
C19
C2 0
C24
C31
D1
12345
6
ICS P
L1
L2
GND7NC8PW+9PW-
10
RCT5RD+3RD-
6
TCT4TD+1TD-
2
LAN
LED
P1P2P3
P4
P5
P6
GND
GND_
Q1
Q4
R1
R2
R3
R4
R5
R6
R7R8
R9
R1 0
R1 1
R1 2
R1 3
R1 4
R1 5
R20
#MCLR
7
AVDD19AVSS
20
ENVREG18OSC1/CLKI39OSC2/CLKO
40
RA0/LEDA/AN024RA1/LEDB/AN1
23
RA2/AN2/VREF-
22
RA3/AN3/VREF+
21
RA4/T0CKI
28
RA5/AN4
27
RB0/INT0/FLT0
3
RB1/INT14RB2/INT25RB3/INT3
6
RB4/KBI044RB5/KBI1
43
RB6/KBI2/PGC42RB7/KBI3/PGD
37
RBIAS
53
RC0/T1OSO/T13CKI
30
RC1/T1OSI/ECCP2/P2A
29
RC2/ECCP1/P1A
33
RC3/SCK1/SCL1
34
RC4/SDI1/SDA1
35
RC5/SDO1
36
RC6/TX1/CK131RC7/RX1/DT1
32
RD0/P1B
60
RD1/ECCP3/P3A
59
RD2/CCP4/P3D
58
RE0/P2D2RE1/P2C1RE2/P2B64RE3/P3C63RE4/P3B62RE5/P1C
61
RF1/AN6/C2OUT17RF2/AN7/C1OUT
16
RF3/AN815RF4/AN9
14
RF5/AN10/CVREF
13
RF6/AN1112RF7/#SS1
11
RG4/CCP5/P1D
8
TPIN+47TPIN-
46
TPOUT+51TPOUT-
50
VDD26VDD138VDD2
57
VDDCORE/VCAP
10
VDDPLL
54
VDDRX48VDDTX
49
VSS9VSS125VSS241VSS3
56
VSSPLL
55
VSSRX45VSSTX
52
U1
/CS/4/RESET/
3
/WP/
5
GND
7
SCK2SI
1
SO
8
VCC
6
U2
EN
5
FB
3
GND
7
INV4N.C.
2
RT
6SW1
VIN
8
U4
X1- 1
X1- 2
X1- 3
X1- 4
X1-5
X1- 6
X1- 7
X1- 8
X1- 9
X1- 10
X1- 11
X1- 12
X1- 13
X1- 14
X1- 15
X1- 16
X1- 17
X1-18
X1- 19
X1- 20
X1- 21
X1- 22
X1- 23
X1-24
X1-25
Z1
PIC-MICRO-WEB
Re v. C
CO PYR IGH T(C ) 2009, O limex L td.
htt p:/ /ww w.o limex.c om/ de v
+
+
+
2x1000pF/2KV
2x75 Ohm
J1
J2
J3
J6
J4,5
J7,8
GND
Page 9
POWER SUPPLY CIRCUIT:
PIC-MICRO-WEB takes power over Ethernet using the module MOD-PoE. Other
possibility is 24-50VDC to be directly applied to DB25.pin8 if MOD-PoE is not to be used.
The board power consumption depends on the applied power supply and may vary. At 24VDC the consumption is about 40 mA.
RESET CIRCUIT:
PIC-MICRO-WEB reset circuit is made with R20 (10k) pull-up, R13 (330Ω) and
capacitor C31 (100nF).
CLOCK CIRCUIT:
Quartz crystal 25 MHz is connected to PIC18F67J60 pin 39 clock in (OSC1/CLKI) and pin 40 clock out (OSC2/CLKO).
Quartz crystal 32.768 kHz is connected to PIC18F67J60 pin 29 (T1OSI) and pin 30 (T1OSO) and supplies the Timer1.
JUMPER DESCRIPTION:
3.3V_E
enables 3.3 V power supply for the PIC18F67J60 and all other devices.
Default state is closed.
INPUT/OUTPUT:
Status red LED connected to PIC18F25J10 pin 44 (PORTB.RB4/KBI0).
EXTERNAL CONNECTORS DESCRIPTION:
ICSP:
Pin # Signal name
1 RST
2 +5V
3 GND
4 PGD
5 PGC
6 NC
PGD I/O Program Data. Serial data for programming.
Page 9
Page 10
PGC Input Program Clock. Clock used for transferring the serial data (output from ICSP,
input for the MCU).
DB25:
Pin # Signal Name Pin # Signal Name
1 RA4/T0CKI 2 RA0/LEDA/AN0
3 RC2/ECCP1/P1A 4 RA2/AN2/VREF-
5 RC7/RX1/DT1 6 VCC +3.3V
7 GND 8 VIN
9 RE1/P2C 10 RD2/CCP4/P3D
11 RE3/P3C 12 RE4/P3B
13 RD0/P1B 14 RA5/AN4
15 RA1/LEDB/AIN1 16 RA3/AN3/VREF+
17 RC6/TX1/CK1 18 RF2/AN7/C1OUT
19 RG4/CCP5/P1D 20 RB1/INT1
21 RB0/INT0/FLT0 22 RE0/P2D
23 RD1/ECCP3/P3A 24 RE2/P2B
25 RE5/P1C
VIN is the pin where you should apply 24-50VDC in case you don't want to use MOD-PoE.
Page 10
Page 11
LAN:
Pin # Signal Name Chip Side Pin # Signal Name Chip Side
1 TPOUT+ 6 TPIN-
2 TPOUT- 7 GND
3 TPIN+ 8 Not Connected (NC)
4 3.3V 9 VIN
5 Not Connected (NC) 10 GND
TPOUT- Output Differential signal output. TPOUT+ Output Differential signal output. TPIN- Input Differential signal input. TPIN+ Input Differential signal input. VIN Input Power supply for the board – over Ethernet.
Page 11
Page 12
AVAILABLE DEMO SOFTWARE :
You could find information about PIC-MICRO-WEB board, Microchip TCP/IP stack and how to change and configure the software on Understanding PIC WEB boards here: https://www.olimex.com/Products/PIC/_resources/Understanding-PIC-WEB-
boards.pdf
Page 12
Page 13
ORDER CODE:
PIC-MICRO-WEB – assembled and tested (no kit, no soldering required)
How to order? You can order to us directly or by any of our distributors. Check our web page https://www.olimex.com/ for more info.
All boards produced by Olimex are RoHS compliant
Revision history:
Board's Revision: Rev. C – created October 2009 Manual's Revision: Rev. E – edited January 2014
Fixed wrong minimum voltage required. Updated links. Formatting improvements.
Page 13
Page 14
Disclaimer:
© 2011 Olimex Ltd. All rights reserved. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other terms and product names may be trademarks of others. The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products. Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder. The product described in this document is subject to continuous development and improvements. All particulars of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded. This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.
Page 14
Page 15
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Olimex Ltd.: PIC-MICRO-WEB
Loading...