Documente Academic
Documente Profesional
Documente Cultură
Page 1
INTRODUCTION
PIC32-WEB is low cost development board with the new highperformance 80MHz MIPS-Based 32-bit Flash microcontroller PIC32MX460F512L. Together with MOD-ENC624J600, PIC32-WEB give you opportunity to use web applications. UEXT and Prototype area gives users choice to connects a lot of our MOD boards and other users applications.
All this allows you to build a diversity of powerful applications to be used in a wide range of situations.
BOARD FEATURES
PIC32MX460F512L microcontroller ICSP/ICD connector for programming and debugging with PIC-ICD2, PICICD2-TINY and PIC-ICD2-POCKET. JTAG connector Reset button Three user buttons Trimmer RS232 driver and connector Power plug-in jack for 9V DC power supply Voltage regulator +3.3V VR1(3.3V) Three user LEDs ACTIVITY and LINK leds Power on Led UEXT connector EXT1 and EXT2 connectors Prototype area PCB: FR-4, 1.5 mm (0,062"), solder mask, silkscreen component print Dimensions 100x60 mm (3.94x2.36")
Page 2
ELECTROSTATIC WARNING
The PIC32-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.
!!!Warning!!! When you want to program this microcontroller with PIC-ICD2, PICICD2-POCKET or PIC-ICD2-TINY, before connecting the programmer to your target board, you should first connect the programmer to your computer and open MPLAB. There, first from menu Configure Select Device choose the microcontroller you are about to program, then from menu Programmer Select Programmer choose MPLAB ICD 2, wait while MPLAB is downloading operation system, and after ICD2 is connected check in menu Programmer Settings Power there is option Power target circuit from MPLAB ICD 2 this option should be forbidden, you could not select it. Now it is safe to connect the programmer to your target board.
PROCESSOR FEATURES
PIC32-WEB board use High-Performance 32-bit RISC microcontroller PIC32MX460F512L from Microchip Technology Inc with these features:
Operating Voltage Range of 2.3V to 3.6V 512K Flash Memory (plus an additional 12KB of Boot Flash) 32K SRAM Memory Pin-Compatible with Most PIC24/dsPIC Devices Multiple Power Management Modes Multiple Interrupt Vectors with Individually Programmable Priority Fail-Safe Clock Monitor Mode Configurable Watchdog Timer with On-Chip Low-Power RC Oscillator for Reliable Operation Atomic SET, CLEAR and INVERT Operation on Select Peripheral Registers Up to 4-Channel Hardware DMA with Automatic Data Size Detection USB 2.0 Compliant Full Speed Device and On-The-Go (OTG) Controller USB has a Dedicated DMA Channel
Peripheral Features:
Page 3
40 MHz Crystal Oscillator Internal 8 MHz and 32 kHz Oscillators Separate PLLs for CPU and USB Clocks Two I2C Modules Two UART Modules with:
RS-232, RS-485 and LIN 1.2 support IrDA with On-Chip Hardware Encoder and Decoder
Parallel Master and Slave Port (PMP/PSP) with 8-bit and 16-bit Data and Up to 16 Address Lines Hardware Real-Time Clock/Calendar (RTCC) Five 16-bit Timers/Counters (two 16-bit pairs combine to create two 32-bit timers) Five Capture Inputs Five Compare/PWM Outputs Five External Interrupt Pins High-Speed I/O Pins Capable of Toggling at 80 MHz High-Current Sink/Source (18 mA/18 mA) on All I/O Pins Configurable Open-Drain Output on Digital I/O Pins Two Programming and Debugging Interfaces:
Debug Features:
2-Wire Interface with Unintrusive Access and Real-time Data Exchange with Application 4-wire MIPS Standard Enhanced JTAG interface
Unintrusive Hardware-Based Instruction Trace IEEE Std 1149.2 Compatible (JTAG) Boundary Scan 16-Channel 10-bit Analog-to-Digital Converter:
Analog Features:
Page 4
BLOCK DIAGRAM
Page 5
MEMORY MAP
Page 6
SCHEMATIC
3.3V
RESET CIRCUIT
3.3V 3.3V 3.3V
1
MOD-ENC624J600
VDD_E CLOSE
2 16 37 46 62
U1
VDD VDD VDD VDD VDD VSS VSS VSS VSS VSS T2CK/RC1 T3CK/RC2 T4CK/RC3 SDI1/T5CK/RC4 O SC1/CLKI/RC12 OSC2/CLKO/RC15 SOSCI/CN1/RC13 SOSCO/T1CK/CN0/RC14 SDO1/OC1/INT0/RD0 OC2/RD1 OC3/RD2 OC4/RD3 P M WR/OC5/CN13/RD4 P MRD/CN14/RD5 P M D14/CN15/RD6 P M D15/CN16/RD7 IC1/RTCC/RD8 IC2/#SS1/RD9 IC3/SCK1/PM CS2/P MA15/RD10 IC4/P M CS1/P MA14/RD11 P MD12/IC5/RD12 PM D13/CN19/RD13 CN20/#U1CTS/RD14 #U1RTS/BCLK1/CN21/RD15 P M D0/RE 0 P M D1/RE 1 P M D2/RE 2 P M D3/RE 3 P M D4/RE 4 P M D5/RE 5 P M D6/RE 6 P M D7/RE 7 INT1/RE8 INT2/RE9 P M D11/RF0 P M D10/RF1 U1RX/RF2 USBID/RF3 P MA9/U2RX/CN17/RF4 PM A8/U2TX/CN18/RF5 U1TX/RF8 #U2CTS/RF12 #U2RTS/BCLK2/RF13 P MD8/RG0 P MD9/RG1 D+/RG2 D-/RG3 P MA5/SCK2/CN8/RG6 P M A4/SDI2/CN9/RG7 P MA3/SDO2/CN10/RG8 P M A2/#SS2/CN11/RG9 TRD1/RG12 TRD0/RG13 TRD2/RG14 RG15 6 7 8 9 63 64 73 74 72 76 77 78 81 82 83 84 68 69 70 71 79 80 47 48 93 94 98 99 100 3 4 5 18 19 87 88 52 51 49 50 53 40 39 90 89 57 56 10 11 12 14 96 97 95 1
U3
MCP130T(NA) 2 VCC RE SE T 1
D2 1N4148
R23 10k R24 560R RSTN C17 100nF C18 100nF C19 100nF C20 100nF C21 100nF
3.3V Q1 C28 C29 C30 39pF 39pF 27pF 27pF EXT1-2 EXT1-4 EXT1-26 EXT2-2 EXT2-4
P N2x13 P N2x13 P N2x13 P N2x13 P N2x13
Q8.000MHz/20pF/HC-49SM(SMD)
GND 3
C11 100nF
RESET
T 1107A(6 x3.8x2.5m m )
3.3VA L1
FB0805/600R/200mA(201209-601)
75 65 45 36 15
Q2
GND
C31
QCT32768(2x6)/6pF
30
C22 3.3V
10uF/6.3V/T ANT
C23 100nF
31 86 85 55 54 13 17 38 58 59 60 61 91 92 28 29 66 67 25 24 23 22 21 20 26 27 32 33 34 35 41 42 43 44
AVDD AVSS E NVRE G VCAP /VDDCORE VUSB VBUS #MCLR TMS/RA0 TCK/RA1 SCL2/RA2 SDA2/RA3 TDI/RA4 TDO/RA5 TRCLK/RA6 TRD3/RA7 P MA7/VRE F-/CVRE F-/RA9 P MA6/VRE F+/CVRE F+/RA10 SCL1/INT3/RA14 SDA1/INT4/RA15 P GD1/E M UD1/AN0/CN2/RB0 P GC1/E M UC1/AN1/CN3/RB1 C2IN-/AN2/CN4/RB2 C2IN+/AN3/CN5/RB3 C1IN-/AN4/CN6/RB4 VBUSON/C1IN+/AN5/CN7/RB5 P GC2/E M UC2/AN6/OCFA/RB6 P GD2/E M UD2/AN7/RB7 C1OUT/AN8/RB8 C2OUT/AN9/RB9 CVREFOUT/P MA13/AN10/RB10 P MA12/AN11/RB11 P MA11/AN12/RB12 P MA10/AN13/RB13 P MALH/P MA1/AN14/RB14 P MALL/PM A0/AN15/OCFB/CN12/RB15
AGND
PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13
ADDRESS BUS
DEBUG INTERFACE:
3.3V 3.3V
10uF/6.3V/T ANT
PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13 PN2x13
TDI,TDO,TMS,TCK
RA2 RA3 RA6 RA7 RA14 RA15 RB0 RB1 RB2 RB3 RB4 RB5 RB8 RB9
#INT/SPISEL PMD11 PMD10 RXD1 PMA9/RXD2 PMA8/TXD2 TXD1 SPI_CS PMD8 PMD9 PMA5/SPI_SCK PMA4/SPI_SO PMA3/SPI_SI PMA2 RG12
RE8
560R
NC BH14S(PIN<12>-CUT!) 3.3V
TRIM
RF12 RF13 R3
1 2 3 4 5 6
RA5/TDO
3 2 1
RG12 CFG2 CFG3 CLKOUT PSPCFG2 PSPCFG3 CLKOUT EXT1-20 EXT1-21 EXT1-22 EXT1-23 EXT1-24
PN2x13 PN2x13 PN2x13 PN2x13 PN2x13
WF6S
PIC32MX460F512L-80I/PT PMP_AL/PSPCFG4
3 2 1
LINK
GYX-SD-TC0805SYC(YELLOW) GYX-SD-TC0805SGC(GREEN)
ACTIVITY
R2 560R
R1 560R
RS232
3.3V
15 GND
3.3VA
TRIMMER
R13
+
U2PWR
16 VCC
AN_TR 10k
560R
PIC32-WEB
Rev. A COPYRIGHT(C), 2009 http://www.olimex.com/dev
10uF/6.3V/TANT AGND C13 100nF C14 100nF TXD1 R17 560R CTS RXD1 RTS R26 560R LED1
GYX-SD-TC0805SYC(YELLOW)
AGND
USER LEDS
LED1 LED2 LED3 3.3V
GYX-SD-TC0805SURK(RED)
RS232
1 2 3 4 5
14 7 13 8
GYX-SD-TC0805SGC(GREEN)
PC_RTS PC_CTS
6 7 8 9 G2
USER BUT
3.3V 3.3V R14 10k R15 PMD14/BUT1
T1103NE-DTSM-21R(12x12x4.3mm) T1103NE-DTSM-21R(12x12x4.3mm)
LED2
LED3
DB9-F
ST3232(SO16)
R27 560R
R7 560R
R8 10k R9 PMD15/BUT2 560R R11 NA(100R) C3 NA(100nF) BUT3 560R R10 NA(100R) C2 NA(100nF) BUT2
POWER SUPPLY
3.3V 3.3V VR1(3.3V) LM1117IMPX-ADJ
IN OUT ADJ/GND
BUT1 3.3VA
3.3V_E CLOSE
UEXT
3.3VA_E
1 2
TXD1/TXD2
T XD1:Close; T XD2:Open
RXD1/RXD2
RXD1:C lose; RXD2:Open
3.3V
R4 240R/1%
PWR
GYX-SD-TC0805SURK(RED)
CLOSE C7
47uF/6.3V/TANT
3 PMA9/RXD2
UEXT
1 3 5 7 9 2 4 6 8 10
R5 390R/1%
C6 NA(10uF/6.3V)
R6 560R
CLOSE
BH10S
Page 7
CONTROL BUS
ICSP
RG2 RG3
DATA BUS
RD8 RD9 RD10 PMA0 PMA1 PMA2 PMA3/SPI_SI PMA4/SPI_SO PMA5/SPI_SCK PMA6 PMA7 PMA8/TXD2 PMA9/RXD2 PMA10 PMA11 PMA12 PMA13 PMA14/PSPCFG1/PMCS1 EXT1-5 EXT1-6 EXT1-7 EXT1-8 EXT1-9 EXT1-10 EXT1-11 EXT1-12 EXT1-13 EXT1-14 EXT1-15 EXT1-16 EXT1-17 EXT1-18 EXT1-19
PN2x13 PN2x13 PN2x13
RD14 RD15
PMD0 PMD1 PMD2 PMD3 PMD4 PMD5 PMD6 PMD7 PMD8 PMD9 PMD10 PMD11 PMD12 PMD13/BUT3 PMD14/BUT1 PMD15/BUT2
EXT2-5 EXT2-6 EXT2-7 EXT2-8 EXT2-9 EXT2-10 EXT2-11 EXT2-12 EXT2-13 EXT2-14 EXT2-15 EXT2-16 EXT2-17 EXT2-18 EXT2-19 EXT2-20
BOARD LAYOUT
RESET CIRCUIT
PIC32-WEB reset circuit is made with D2 (1N4148), C11 (100nF), R23 (10k) pull-up, R24 (560R) serial resistor and RST button.
CLOCK CIRCUIT
Quartz crystal 8MHz is connected to PIC32MX460F512L (OSC1/CLKI/RC12) and pin 64 (OSC2/CLKO/RC15). Quartz crystal 32.768 KHz is connected to PIC32MX460F512L (SOSCI/CN1/RC13) and pin 74 (SOSCO/T1CK/CN0/RC14). pin pin 63 73
Page 8
JUMPER DESCRIPTION
3.3V_E
Enable 3.3V board digital power supply. Default state is closed.
3.3VA_E
Enable 3.3V board analog power supply. Default state is closed.
VDD_E
Enable PIC32MX460F512L power supply. Default state is closed.
AGND_E
Enable board analog ground. Default state is closed.
RXD1/RXD2
When is in position RXD1, connects UEXT pin 4 via R17 (560 Ohm) to U2 (ST232) pin (12)R1OUT. When is in position RXD2, connects UEXT pin 4 to PIC32MX460F512L pin 49 (PMA9/U2RX). Default state is RXD1 closed.
TXD1/TXD2
When is in position TXD1, connects UEXT pin 3 to U2 (ST232) pin 11 (T1IN). When is in position TXD2, connects UEXT pin 3 to PIC32MX460F512L pin 50 (PMA8/U2TX). Default state is TXD1 closed.
RA5/RG12
#INT/SCL1
A0/AL
Default state is A0 closed.
PSP_E
Page 9
MOD-ENC624J600 jumpers MOD-ENC624J600 jumpers MOD-ENC624J600 jumpers have to have to be: have to be: be: CFG4 0 CFG4 0 CFG4 Doesn't matter! CFG3 1 CFG3 0 CFG3 Doesn't matter! CFG2 1 CFG2 1 CFG2 Doesn't matter! CFG1 0 CFG1 0 CFG1 Doesn't matter! PSP_E open PSP_E open PSP_E open PIC32-WEB jumpers have to be: PIC32-WEB jumpers have to PIC32-WEB jumpers have to be: PSP_E close be: PSP_E open A0/AL A0 open, AL close PSP_E close A0/AL Doesn't matter! RA5/RG12 RA5 - close, RG12 A0/AL A0 close, AL open RA5/RG12 Doesn't matter! open RA5/RG12 RA5 - close, RG12 #INT/SCL1 #INT open, SCL1 #INT/SCL1 #INT open, open close SCL1 - close #INT/SCL1 #INT open, SCL1 - close Default jumpers position have to be in PSP MODE
Page 10
INPUT/OUTPUT
User LED (yellow) with name LED1 connected to PIC32MX460F512L pin 72 (SDO1/OC1/INT0/RD0). User LED (green) with name LED2 connected to PIC32MX460F512L pin 76 (OC2/RD1). User LED (red) with name LED3 connected to PIC32MX460F512L pin 77 (OSC3/RD2). Power supply LED (red) with name PWR indicates that external power source is applied and board power supply is applied. ACTIVITY LED (yellow) connected to EXT1-24 pin. The function of this led is the same as the function of the yellow led of LAN connector. Works only on PSP mode. LINK LED (green) connected to EXT1-23 pin. The function of this led is the same as the function of the green led of LAN connector. Works only in PSP mode. Reset button with name RESET, connected to PIC32MX460F512L pin 13 (#MCLR), ICSP pin 1 and through R25 (560) to JTAG pin 11. User button with name BUT1, connected to PIC32MX460F512L pin 83 (PMD14). User button with name BUT2, connected to PIC32MX460F512L pin 84 (PMD15). User button with name BUT3, connected to PIC32MX460F512L pin 80 (PMD13). Trimmer with name AN_TR, connected to PIC32MX460F512L pin 23 (RB2).
Page 11
#Pin 1 3 5 7 9 11 13
#Pin 2 4 6 8 10 12 14
ICSP
#Pin 1 2 3 4 5 6 Signal Name RSTN 3.3V GND PGD2 PGC2 NC
PWR JACK
Pin # 1 2 Signal Name Power Input GND
RS232
Page 12
Pin # 1 2 3 4 5 6 7 8 9
UEXT
Pin # 1 2 3 4 5 6 7 8 9 10 3.3V GND Jumper TXD1/TXD2 Jumper RXD1/RXD2 Jumper #INT/SCL1 SDA1 PMA4/SPI_SO PMA3/SPI_SI PMA5/SPI_SCK SPI_CS Signal Name
Page 13
EXT1
Pin # 1 3 5 7 9 11 13 15 17 19 21 23 25
Signal Name VCC VCC PMA0 PMA2 PMA4/SPI_SO PMA6 PMA8/TXD2 PMA10 PMA12 PMA14/PSPCFG1/PMCS1 PSPCFG3 LINK VCC
Pin # 2 4 6 8 10 12 14 16 18 20 22 24 26
Signal Name GND GND PMA1 PMA3/SPI_SI PMA5/SPI_SCK PMA7 PMA9/RXD2 PMA11 PMA13 PSPCFG2 CLKOUT ACTIVITY GND
EXT2
Pin # 1 3 5 7 9
Pin # 2 4 6 8 10
Page 14
11 13 15 17 19 21 23 25
12 14 16 18 20 22 24 26
PROTYPE AREA
Pin # Signal Name 1 4 7 10 13 16 19 22 25 28 31 34 37 40 43 RA2 RA3 RA6 RA7 RA14/SCL1 RA15/SDA1 RB0 RB1 RB2/TRIM RB3 RB4 RB5 RB8 RB9 PSPCFG2
Pin # Signal Name 2 5 8 11 14 17 20 23 26 29 32 35 38 41 44 RC1 RC2 RC3 RC4 RD0/LED1 RD1/LED2 RD2/LED3 RD3 RD8 RD9 RD10 RD14 RD15 GND PSPCFG3
Pin # Signal Name 3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 RE8 RF3 RF12/SPI_CS RF13 RG2 RG3 RG12 RG13 RG14 RG15 CLKOUT 3.3VA AGND GND 3.3V
SPI
Master and Slave Modes Support Four Different Clock Formats Framed SPI Protocol Support
Page 15
User Configurable 8-bit, 16-bit and 32-bit Data Width Separate SPI Data Registers for Receive and Transmit Programmable Interrupt Event on every 8-bit, 16-bit and 32-bit Data Transfer Operation during CPU Sleep and Idle Mode Fast Bit Manipulation using CLR, SET and INV Registers
I2C
The PIC32MX460F512L microcontroller has two I2C interface modules, denoted as I2C1 and I2C2. Each I2C module has a 2-pin interface: the SCLx pin is clock and the SDAx pin is data. Each I2C module I2Cx (x = 1 or 2) offers the following key features:
I2C Interface Supporting both Master and Slave Operation. I2C Slave Mode Supports 7 and 10-bit Address. I2C Master Mode Supports 7 and 10-bit Address. I2C Port allows Bidirectional Transfers between Master and Slaves. Serial Clock Synchronization for I2C Port can be used as a Handshake Mechanism to Suspend and Resume Serial Transfer (SCLREL control). I2C Supports Multi-master Operation; Detects Bus Collision and Arbitrates Accordingly. Provides Support for Address Bit Masking.
Page 16
MECHANICAL DIMENSIONS
Page 17
PSP_MODE_3 SPI_MODE
Page 18
ORDER CODE
PIC32-WEB - completely assembled and tested.
How to order? You can order to us directly or by any of our distributors. Check our web www.olimex.com/dev for more info.
Revision history:
REV. A - create November 2009
Page 19
Disclaimer: 2009 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 20