Olimex PIC32-MAXI-WEB User guide

PIC32-MAXI-WEB
Open-source single-board
Android/ Linux mini-computer
USER’S MANUAL
Revision B, December 2013
Designed by OLIMEX Ltd, 2013
All boards produced by Olimex LTD are ROHS compliant

DISCLAIMER

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.
This hardware design of PIC32-MAXI-WEB is neither public not open-source. Any copying of the product would result in copyright infringement.
The software is released under the terms that are detailed in the agreement page, that pops-up when you attempt to download a demo software archive.
It is possible that the pictures in this manual differ from the latest revision of the board.
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.
This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation purposes only and is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons handling the product must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related protective considerations, including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards.
Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user is not exclusive. Olimex assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein.
THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE PIC32-MAXI-WEB. THEY ARE CONSIDERED SUITABLE ONLY FOR PIC32-MAXI-WEB.
Page 2 of 22
Table of Contents
DISCLAIMER ............................................................................................................. 2
1. INTRODUCTION ................................................................................................... 4
1.1 BOARD FEATURES ............................................................................................................... 4
1.2 ELECTROSTATIC WARNING: ............................................................................................ 4
1.3 BOARD USE REQUIREMENTS: ......................................................................................... 4
1.4 BOARD LAYOUT ................................................................................................................... 5
2. MICROCONTROLLER DETAILS ...................................................................... 6
2.1 FEATURES .............................................................................................................................. 6
2.2 BLOCK DIAGRAM ................................................................................................................ 8
2.3 MEMORY MAP ...................................................................................................................... 9
3 BOARD SCHEMATIC AND DIMENSIONS ...................................................... 10
3.1 SCHEMATIC ......................................................................................................................... 10
3.2 PHYSICAL DIMENSIONS .................................................................................................. 12
4. CONTROL CIRCUITRY ..................................................................................... 13
4.1 POWER SUPPLY CIRCUIT ................................................................................................ 13
4.2 RESET CIRCUIT .................................................................................................................. 13
4.3 CLOCK CIRCUIT ................................................................................................................ 13
5. JUMPERS, CONNECTORS AND INTERFACES ............................................ 14
5.1 JUMPER DESCRIPTION .................................................................................................... 14
5.2 INPUT/OUTPUT ................................................................................................................... 14
5.3 EXTERNAL CONNECTOR DESCRIPTION .................................................................... 15
5.3.1 PWR_JACK .................................................................................................................................................. 15
5.3.2 ICSP CONNECTOR .................................................................................................................................... 15
5.3.3 RS232/UART ................................................................................................................................................. 16
5.3.6 CAN1 AND CAN2 ........................................................................................................................................ 17
5.3.7 JTAG .............................................................................................................................................................. 17
5.3.8 UEXT1 ........................................................................................................................................................... 18
5.3.9 UEXT2 ........................................................................................................................................................... 18
5.3.10 MICROSD CARD ...................................................................................................................................... 19
6. AVAILABLE DEMO SOFTWARE ...................................................................... 20
7. REVISION AND ORDERING INFORMATION .............................................. 21
7.1 DOCUMENT REVISION ..................................................................................................... 21
7.2 BOARD REVISION .............................................................................................................. 21
8. WARRANTY AND SUPPORT ............................................................................. 22
Page 3 of 22

1. INTRODUCTION

This board features a PIC32 processor with embedded 100Mbit Ethernet module which allows you to easily develop network applications. It has everything you would normally need for such applications: power relays which you can command through a web interface, a large 240x320 TFT LCD with touchscreen support (that allows the development of complex graphical user interface applications), digital opto-isolated inputs, trimmer potentiometer, accelerometer with integrated temperature sensor, two CAN interface channels, RS232 interface, USB On-The-Go and micro SD card slot to store large amounts of data. With this board you can easily automate your home and then control and monitor it from any point in the world via Internet. An extension connector is available so you can connect custom made hardware to the board. The PIC32MX795F512L has 512K Flash memory (plus an additional 12 KB of Boot Flash).

1.1 BOARD FEATURES

The notable board features are listed below:
PIC32MX795F512L high-performance, USB, CAN and Ethernet 32-bit Flash
microcontroller
TFT LCD 320x240 65k colors with resistive touchscreen Debug interface – JTAG and ICSP RESET circuit Reset button Two opto-isolated digital inputs with indicator LEDs Two CAN interfaces 100Mbit Ethernet interface Two UEXT connectors to connect to other Olimex boards Accelerometer with integrated temperature sensor MicroSD card holder Two relays 10A/250VAC with indicator LEDs USB On-The-Go RS232 interface Trimmer connected to analog input Three user LEDs Stand-alone power LED Three user buttons 3.3V voltage regulator Dimensions 140x100 mm (5.51x3.94")

1.2 ELECTROSTATIC WARNING:

The PIC32-MAXI-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.

1.3 BOARD USE REQUIREMENTS:

Cables: the board needs external power supply cable and mini ICSP cable (connected to the respective debugger) in order to test basic functionality. Depending on the peripherals used you may also need and Ethernet RJ45 terminated cable, 9pin RS232 cable, miniUSB cable.
Page 4 of 22
Hardware: The board requires +12V regulated power supply.
!!! Please note that the PIC32 processor on this board is not supported by the once famous ICD2 programmer/debugger and derivatives. You would need a newer debugger/programmer. Please ensure your programmer/debugger is compatible with PIC32 microcontrollers.

1.4 BOARD LAYOUT

Page 5 of 22

2. MICROCONTROLLER DETAILS

Some of the details about the main microcontroller in PIC32-MAXI-WEB (PIC32MX795F512L) microcontroller are mentioned in this chapter. It is highly recommended to refer to the original datasheet which might be downloaded from the official Microchip web-side.

2.1 FEATURES

PIC32-MAXI-WEB board uses MCU PIC32MX795F512L from Microchip Technology that packs the following features:
High-Performance 32-bit RISC CPU:
MIPS32® M4K® 32-bit core with 5-stage pipeline 80 MHz maximum frequency 1.56 DMIPS/MHz (Dhrystone 2.1) performance at zero Wait state Flash access Single-cycle multiply and high-performance divide unit MIPS16e™ mode for up to 40% smaller code size Two sets of 32 core register files (32-bit) to reduce interrupt latency
Prefetch Cache module to speed execution from Flash Microcontroller Features:
Operating voltage range of 2.3V to 3.6V 512K Flash memory (plus an additional 12 KB of Boot Flash) 128K SRAM memory Pin-compatible with most PIC24/dsPIC® DSC 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
Peripheral Features:
Atomic SET, CLEAR and INVERT operation on select peripheral registers 8-channels of hardware DMA with automatic data size detection USB 2.0-compliant full-speed device and On-The-Go (OTG) controller:
Dedicated DMA channels
10/100 Mbps Ethernet MAC with MII and RMII interface:
Dedicated DMA channels
CAN module:
2.0B Active with DeviceNet™ addressing support
Dedicated DMA channels 3 MHz to 25 MHz crystal oscillator Internal 8 MHz and 32 kHz oscillators Six UART modules with:
RS-232, RS-485 and LIN 1.2 support
IrDA® with on-chip hardware encoder and decoder Four SPI modules Five I2C™ modules Separate PLLs for CPU and USB clocks Parallel Master and Slave Port (PMP/PSP) with 8-bit and 16-bit data, and up to 16 address
lines Hardware Real-Time Clock and Calendar (RTCC)
Page 6 of 22
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 up to 80 MHz High-current sink/source (18 mA/18 mA) on all I/O pins Configurable open-drain output on digital I/O pins
Debug Features:
Two programming and debugging Interfaces:
2-wire interface with unintrusive access and real-time data exchange with application
4-wire MIPS® standard enhanced Joint Test Action Group (JTAG) interface Unintrusive hardware-based instruction trace IEEE Standard 1149.2 compatible (JTAG) boundary scan
Analog Features:
16-channel, 10-bit Analog-to-Digital Converter:
1 Msps conversion rate
Conversion available during Sleep and Idle Two Analog Comparators 5V tolerant input pins (digital pins only)
Page 7 of 22

2.2 BLOCK DIAGRAM

A block diagram with main functional parts of the microcontroller as seen in the official Microchip documentation.
Page 8 of 22

2.3 MEMORY MAP

The microcontroller's memory regions as seen in the official Microchip documentation.
Page 9 of 22

3 BOARD SCHEMATIC AND DIMENSIONS

In this chapter you may find information about the schematics describing logically and physically PIC32-MAXI-WEB.

3.1 SCHEMATIC

The schematic of PIC32-MAXI-WEB is available for reference on the next page.
Only the board schematic is available to the customer. It is available only as a stand-alone PDF document and as a reference image on. The board design files are kept private.
If you are looking for a schematic of an older revision of the board and it isn't available at our web site you may request it by the support e-mail.
Page 10 of 22
PIC32-MAXI-WEB, board revision A:
Page 11 of 22
CLOSE
CLOSE
CLOSE
10k
T1103NE-DTSM-21R(12x12x4.3mm)
T1103NE-DTSM-21R(12x12x4.3mm)
T1103NE-DTSM-21R(12x12x4.3mm)
100nF
100nF 100nF 100nF 100nF
100nF
39pF
39pF
27pF
27pF
100nF
10uF/6.3V/TANT
100nF
10uF/6.3V/T ANT
100nF
100nF
100nF
100nF
100nF
10uF/6.3V/T ANT
100nF
100nF
10uF/6.3V/TA NT
100nF
10uF/6.3V/TANT
100nF
100nF
47uF/6.3V/T ANT
100nF
10uF/6.3V
100nF
100nF100nF
NA(100nF)NA(100nF)NA(100nF)100nF
47uF/6.3V/TANT
NA(10uF/6.3V)
100nF
47uF/6.3V/TANT
1000uF/6.3V/8x12/low_ ESR
220uF/10V/tant
10uF/16V/TANT
NA(10nF)
4.7nF
100nF
2.2uF
10uF/16V/TANT
1000uF/16VDC
100nF
10uF/6.3V/T ANT
100nF
100nF
100nF
100nF
100nF
2.2uF100nF
100nF
100nF
100nF
10uF/6.3V
47uF/6.3V/TA NT
TB3-3.5mm
OPEN
CLOSE
TB3-3.5mm
OPEN
CLOSE
6NC2-50MHz
1N4148
1N4148
1N5819(SS14)
1N4148
1N5819(SS14)
1N5819(SS14)
1N4148
1N4148
FB0805/600R/200mA(201209-601)
FB0805/600R/200mA(201209-601)
FB0805/600R/200mA(201209-601)
FB0805/600R/200mA(2 01209-601)
IRLML6402
WF6S
TB2-3.5mm
TB2-3.5mm
BH14S(PIN<1 2>-CUT!)
15uH/DBS135
CL470nH/0805/1.76R/250mA
RJLBC-060TC 1
GYX-SD-TC0805SYC(YELLOW)
GYX-SD-TC0805SGC(GREEN)
GYX-SD-TC0805SURK(RED)
GYX-SD-TC0805SURK(RED)
GYX-SD-TC0805SURK(RED)
GYX-SD-TC0805SURK(RED)
GYX-SD-TC0805SURK(RED)
H11A817SMD
H11A817SMD
+5V
2.5V
+5V
+12V
+12V+12V
+5V
+5V
GYX-SD-TC0805SURK(RED)
YDJ-1134
Q8.000MHz/20pF/HC-49SM(SMD)
QCT32768(2x6)/6pF
49.9R/1%NA49.9R/1%
49.9R/1%
49.9R/1%
1.5K/1%
4.99k/1%
10k
10k
1k
1k1k1k1k1k
100k
1k
1k1k1k
1k
4.7k
330R
330R
330R
NA
1k
4.7k
0R(NA) NA NA
NA
4.7k
0R(NA) NA NA
10k
0R(NA) NA
4.7k
0R(NA) NA
4.7k
10k
1M 10k
100k 100k 100k
1k
0R(NA)
1k 1k
330R
10k
330R
NA N A NA
100k
100k
0R(NA)
100k
1k
330R
NA(100R)
10k
330R
NA(100R)
10k
330R
NA(100R)
10k
330R
240R/1%
390R/1%
4.99k/1%15k/1%
4.99k/1%
150k
4.7k
68k
330R330R330R
330R
330R
NA
10k
10k
0R(NA)
NA(4.7k)
NA(4.7k)
10k
120R
0R(NA)
NA(4.7k)
4.7k
10k
120R
4.7k
330R
330R
4.7k
330R
HD-515R_6P
RAS-12-15 RAS-12-15
T1107A(6x3.8x2.5mm)
DB9-F
MICRO
DTC114YKA DTC114YKA
DTC114YKA
FS-K320QVB -V1
PIC32MX795F 512L-80I/PT
KS8721BLMM
SMB380,(QFN 10)
NA(MCP130T)
ST3232(SO16 )
LM3526M-L(SO8)
MCP2551
MCP2551
BH10S
BH10S
MICRO_AB
3.3V
3.3V
3.3VA
3.3V3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V3.3V
3.3V
AGNDAGND AGND
3.3VA
3.3V
3.3V 3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
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
SW_SCL1
SW_SCL1
SW_SDA1
SW_SDA1
SW_U2RX
SW_U2RX
SW_U2TX
SW_U2TX
TCK
TCK
TDI
TDI
TDO
TDO
TFT_LIGHT
TFT_LIGHT
TFT_RS
TFT_RS
TMS
TMS
TRIM
TRIM
TXD1
TXD1
TXD1
U2RXU2TX
UEXT1_CS
UEXT1_CS
UEXT2_CS
UEXT2_CS
USBID
USBID USBID
USB_D+USB_D+
USB_D+
USB_D-
USB_D-USB_D-
USB_FAULT
USB_FAULT
VBUSON
VBUSON
XL
XL
XR
XR
YD
YD
YU
YU
3.3V
3.3VA
1 2
3.3VA_E
1 2
3.3V_E
AGND
1 2
AGND_E
AN_TR
BUT1 BUT2 BUT3
C1 C2 C3 C4 C5 C6
C7
C8
C9
C10
C11C12
C13
C14
C15
C16
C17
C18
C19
C20
C21
C22
C23
C24
C25
C26
C27
C28
C29
C30
C31
C32C33
C34C35C36C37
C38
C39
C40
C41
C42
C43
C44
C45
C46
C47
C48
C49
C50
C51
C52
C53
C54
C55
C56
C57
C58C59
C60
C61
C62
C63
C64
1
2
3
CAN1
12
CAN1_D
1 2
CAN1_T
1
2
3
CAN2
12
CAN2_D
1 2
CAN2_T
1
3
4
2
CD1
CTS
D1 D2
D3
D4
D5
D6
D7
D8
FB1
FB2
FB3
FB4
FET1
GND
1 2 3 4 5 6
ICSP
1
2
IN1
1
2
IN2
1 2
3 4
5 6
7 8
9 10
11 12
13 14
JTAG
L1
L2
AG
AG
AY
AY
COM
3
KG
KG
KY
KY
NC
6
RD+
7
RD-
8
TD+
1
TD-
2
7575
7575
1nF/2kV
1 4 5 2
3 7 8 6
GREEN
YELLOW
LAN
LED1 LED2 LED3
LED_IN1
LED_IN2
LED_R1
LED_R2
124
3
OPT1
124
3
OPT2
PWR
PWR_JACK
Q1
Q2
R1R2R3R4R5
R6
R7
R8
R9
R10
R11
R12
R13
R14
R15
R16
R17
R18
R19
R20
R21
R22
R23
R24
R25
R26
R27
R28
R29 R30 R31
R32
R33
R34 R35 R36
R37
R38 R39 R40
R41 R42 R43
R44
R45 R46
R47 R48 R49
R50
R51
R52 R53
R54
R55
R56
R57 R58 R59
R60
R61
R62
R63
R64
R65
R66
R67
R68
R69
R70
R71
R72
R73
R74
R75
R76
R77R78
R79
R80
R81
R82
R83R84R85
R86
R87
R88
R89
R90
R91
R92
R93
R94
R95
R96
R97
R98
R99
R100
R101
R102
R103
R104
R105
1 2 3 4 5 6
REL
REL1
REL1
REL2
REL2
RESET
1 2 3 4 5
6 7 8 9
G1
G2
RS232
RTS
CD/DAT3/CS
2
CLK/SCLK
5
CMD/DI
3
DAT0/DO
7
DAT1/RES
8
DAT2/RES
1
VDD
4
VSS
6
SD/MMC
T1 T2
T3
#CS
4
#RD
7
#RESET
8
#WR
6
DB0
9
DB1
10
DB2
11
DB3
12
DB4
13
DB5
14
DB6
15
DB7
16
DB8
17
DB9
18
DB10
19
DB11
20
DB12
21
DB13
22
DB14
23
DB15
24
GND
1
GND
25
GND
37
LEDA
35
LEDA
36
LEDK1
30
LEDK2
31
LEDK3
32
LEDK4
33
LEDK5
34
RS
5
VCC
2
VCC
3
XL
27
XR
29
YD
26
YU
28
TFT
#MCLR
13
#SS1/IC2/RD9
69
AC1RX/#SS3A/U3BRX/U3ACTS/RF12
40
AC1TX/SCK3A/U3BTX/#U3ARTS/RF13
39
AERXD0/INT1/RE8
18
AERXD1/INT2/RE9
19
AERXERR/RG15
1
AETXCLK/SCL1/INT3/RA14
66
AETXD0/#SS1A/U1BRX/#U1ACTS/CN20/RD14
47
AETXD1/SCK1A/U1BTX/#U1ARTS/CN21/RD15
48
AETXEN/SDA1/INT4/RA15
67
AN2/C2IN-/CN4/RB2
23
AN3/C2IN+/CN5/RB3
22
AN4/C1IN-/CN6/RB4
21
AN5/C1IN+/VBUSON/CN7/RB5
20
AN8/C1OUT/RB8
32
AN9/C2OUT/RB9
33
AN10/CVREFOUT/PMA13/RB10
34
AN11/ERXERR/AETXERR/PMA12/RB11
35
AN12/ERXD0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7
T4CK/AC2RX/RC3
8
T5CK/SDI1/RC4
9
TCK/RA1
38
TDI/RA4
60
TDO/RA5
61
TMS/RA0
17
TRCLK/RA6
91
TRD0/RG13
97
TRD1/RG12
96
TRD2/RG14
95
TRD3/RA7
92
USBID/RF3
51
VBUS
54
VCAP/VDDCORE
85
VDD
2
VDD
16
VDD
37
VDD
46
VDD
62
VDD
86
VREF+/CVREF+/AERXD3/PMA6/RA10
29
VREF-/CVREF-/AERXD2/PMA7/RA9
28
VSS
15
VSS
36
VSS
45
VSS
65
VSS
75
VUSB
55
U1
COL/RMII21CRS/RMII_BTB
22
FXSD/FXEN
34
GND1
8
GND2
12
GND3
23
GND4
35
GND5
36
GND639GND743GND8
44
INT/PHYAD0
25
LED0/TEST
26
LED1/SPD100/NFEF
27
LED2/DUPLEX
28
LED3/NWAYEN
29
MDC
2
MDIO
1
PD#
30
REXT
37
RST#
48
RX+
33
RX-
32
RXC
10
RXD0/PHYAD4
6
RXD1/PHYAD3
5
RXD2/PHYAD2
4
RXD3/PHYAD1
3
RXDV/CRSDV/PCS_LPBK
9
RXER/ISO
11
TX+
41
TX-
40
TXC/REFCLK15TXD017TXD118TXD219TXD320TXEN16TXER14VDDC
13
VDDIO1
7
VDDIO2
24
VDDPLL
47
VDDRCV
38
VDDRX
31
VDDTX
42XI46XO45
U2
CSB
5
GND
3
INT
4
NC1
1
NC2
10
SCK
6
SDI/SDA
8
SDO
7
VDD
2
VDDIO
9
U3
3
1 2
GND
VCCRESET
U4
C1+
1
C1-
3
C2+
4
C2-
5
R1IN
13
R1OUT
12
R2IN
8
R2OUT
9
T1IN
11
T1OUT
14
T2IN
10
T2OUT
7
V+
2
V-
6
U5
15 16
GND VCC
U5PWR
#ENA
1
#ENB
4
FLAG_A
2
FLAG_B
3
GND
6
IN
7
OUT_A
8
OUT_B
5
U6
CANH
7
CANL
6
RS
8
RXD
4
TXD
1
VDD
3
VREF
5
VSS
2
U7
CANH
7
CANL
6
RS
8
RXD
4
TXD
1
VDD
3
VREF
5
VSS
2
U8
1 2 3 4 5 6 7 8 9 10
UEXT1
1 2 3 4 5 6 7 8 9 10
UEXT2
D+
D-
GND
GND1
GND2
GND3
GND4
ID
VBUS
USB_OTG
12
VDD_E
EN/SYNC
7
FB
3
GND
4
INV
5
RT
6SW2
VIN
1
VR1
ADJ/GND
IN OUT
VR1(3.3V)
12VDC
PIC32-MAXI-WEB
Rev. A
COPYRIGHT( C) 2011, OLIMEX Lt d.
http://www.olime x.com/dev
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
VDD
VSSOUT
E/D
RJ45 SIDE
1:1
1:1
GND
0R 0R
0R 0R
0R
0R
0R
0R
10k
47k
10k
47k
10k
47k
USB
DEBUG INTERFACE:
POWER SUPPLY
RS232
USER LEDS
RESET CIRCUIT
CUT!!!
NC
NC
USER BUTTONS
TRIMMER
USB_OTG
TFT-LCD
CAN
LAN UEXT1
UEXT2
SD/MMCACCELEROMETER
RELAYS
DIGITAL INs

3.2 PHYSICAL DIMENSIONS

Note that all dimensions are in millimeters.
Page 12 of 22

4. CONTROL CIRCUITRY

4.1 POWER SUPPLY CIRCUIT

PIC32-MAXI-WEB can be power only from power connector PWR_JACK, where only 12 VDC external voltage source has to be applied.
The board power consumption is about 300mA with all peripherals and MCU running at full speed, relays and LEDs on and established Ethernet connection.

4.2 RESET CIRCUIT

PIC32-MAXI-WEB reset circuit is made of D4 (1N4148), RC group R55 – 10k and C31 – 100nF. Serial resistor R56 – 330Ω is used to prevent fast C31 charge and discharge when PIC32MX795F512L is being programmed.
Manual reset is possible by the RESET button.

4.3 CLOCK CIRCUIT

Quartz crystal Q1 8MHz is connected to PIC32MX795F512L pins 63 (OSC1/CLKI/RC12) and 64 (OSC2/CLKO/RC15).
Quartz crystal Q2 32.768 KHz is connected to PIC32MX795F512L pins 73 (SOSCI/CN1/RC13) and 74 (SOSCO/T1CK/CN0/RC14).
Page 13 of 22

5. JUMPERS, CONNECTORS AND INTERFACES

In this chapter you will find the description of the jumpers and what signals might be found on the different connectors.

5.1 JUMPER DESCRIPTION

3.3V_E - Enables 3.3V supply for PIC32MX795F512L and all other devices. Default state closed (shorted).
3.3VA_E - Enables 3.3V positive supply for analog modules. Default state is closed (shorted).
VDD_E - Enables PIC32MX795F512L's 3.3V power supply. Default state is closed (shorted).
AGND_E - Enables the analog ground. Default state is closed (shorted).
CAN1_T - This jumper assures correct work of the CAN1. At each end of the bus it should
be closed. This means that if you have only two devices with CAN, the jumpers of both devices should be closed. If you have more than two devices, only the two end devices should be closed. Default state is closed (shorted).
CAN1_D - CAN Disable. If this jumper is closed, the CAN1 is disabled.
Default state is open (not shorted).
CAN2_T - This jumper assures correct work of the CAN2. At each end of the bus it should
be closed. This means that if you have only two devices with CAN, the jumpers of both devices should be closed. If you have more than two devices, only the two end devices should be closed. Default state is closed (shorted).
CAN2_D - CAN Disable. If this jumper is closed, the CAN2 is disabled.
Default state is open (not shorted).

5.2 INPUT/OUTPUT

User button with name BUT1 – connected to PIC32MX795F512L pin 83 (ETXEN/PMD14/CN15/RD6).
User button with name BUT2 – connected to PIC32MX795F512L pin 84 (ETXCLK/PMD15/CN16/RD7).
User button with name BUT3 – connected to PIC32MX795F512L pin 80 (ETXD3/PMD13/CN19/RD13).
Reset button with name RESET – connected to PIC32MX460F512L pin 13 (#MCLR).
Page 14 of 22
One analog trimmer with name AN_TR – connected to PIC32MX795F512L pin 32 (AN8/C1OUT/RB8).
Status Led (yellow) with name LED1 – connected to PIC32MX795F512L pin 34 (AN10/CVREFOUT/PMA13/RB10).
Status Led (green) with name LED2 – connected to PIC32MX795F512L pin 76 (OC2/RD1). Status Led (red) with name LED3 – connected to PIC32MX795F512L pin 77 (OC3/RD2).
Two opto-isolated digital inputs IN1 and IN2.
Two red LEDs – LED_IN1 and LED_IN2 for every digital input.
Two red LEDs – LED_R1, LED_R2 – for the relays.
Power supply red LED with name PWR – indicates that 3.3V power supply is available.
TFT LCD Display - FS-K320QVB-V1

5.3 EXTERNAL CONNECTOR DESCRIPTION

5.3.1 PWR_JACK

The power jack is used to power the board. Exactly 12V of voltage should be provided. The current required depends on the peripherals used but generally your source should be capable to provide at least 350mA.
The power jack is like the ones we use on all Olimex boards → YDJ-1134 (2mm in diameter front hole).
If your power adapter doesn't have the same jack you would need to adapt it. Make sure that you carefully follow the pin assignment.
Pin # Signal name
1 Power input 2 GND

5.3.2 ICSP CONNECTOR

The ICSP connector is used for serial programming. It is the place where most common PIC32­compatible programmers and debuggers are connected. The pins have 0.1'' step. If your programmer/debugger has only the smaller 0.05'' connector you might need an adapter or you should use jumper wires.
Page 15 of 22
Pin # Signal name
1 RSTN 2 3.3V 3 GND 4 PGED2 5 PGEC2 6 NC
PGED2 conducts I/O operations for the “Program Data” signal. Serial data for programming. PGEC2 serves only as input for the “Program Clock” signal. Clock used for transferring the serial
data (output from ICSP, input for the MCU).

5.3.3 RS232/UART

Pin # Signal name
1 PC_CD 2 PC_RXD 3 PC_TXD 4 NC 5 GND 6 NC 7 PC_RTS 8 PC_CTS 9 NC
TXD is an output. It is the “Transmit Data” signal which is the asynchronous serial data output (RS232) for the shift register on the UART controller. RXD is an input. It is the “Receive Data” signal which is the asynchronous serial data input (RS232) for the shift register on the UART controller.
The demo software uses RS232 so it would display your IP address on a PC terminal program (at 115200 baud) when the board is connected to a PC and has a valid Ethernet source connected.
5.3.4 USB_OTG
Pin # Signal name
1 +5V_VBUS 2 USB_D­3 USB_D+ 4 USBID 5 GND
Page 16 of 22
5.3.5 ETHERNET
Pin # Signal name(chip side) Pin # Signal name(chip side)
1 TX+ 5 Not Connected (NC) 2 TX- 6 Not Connected (NC) 3 VCC/2 (2.5V) 7 RX+ 4 Not Connected (NC) 8 RX-
LED Color Usage
Left Yellow 100MBits/s (Half/Full duplex)
Right Green Activity

5.3.6 CAN1 AND CAN2

Controller Area Network(CAN) is a standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. Both CAN1 and CAN2 connectors follow the same layout.
Pin # Signal
1 GND 2 CANL 3 CANH

5.3.7 JTAG

The microcontroller has EJTAG support. The EJTAG signals are provided on the 14-pin JTAG connector.
Pin # Signal name Pin # Signal name
1 NC 8 GND 2 GND 9 TCK 3 TDI 10 GND 4 GND 11 RSTN 5 TDO 12 CUT 6 GND 13 NC 7 TMS 14 3.3v
Page 17 of 22

5.3.8 UEXT1

The 10-pin UEXT connectors are typically mounted on Olimex boards. They pack three common interfaces in a single connector – UART, I2C and SPI. You can use the UEXT connector to access this interfaces easier (via jumper wires, for example).
You can also connect expansion modules to the UEXT connectors. More on UEXT might be found here: https://www.olimex.com/Products/Modules/UEXT/
Pin # Signal name
1 3.3 V 2 GND 3 TXD1 4 RXD1 5 SCL1 6 SDA1 7 MISO1 8 MOSI1 9 SCK1 10 UEXT1_CS

5.3.9 UEXT2

UEXT2 features other UART, I2C and SPI signals. However there is multiplexing on some of the lines which might cause problems if you are trying to use the line on both places.
The I2C data lines (SCL2, SDA2) are used for the built-in the board accelerometer. The SPI clock signal AC1TX/SCK3A is used by the SD card connector.
Pin # Signal name
1 3.3 V 2 GND 3 U2TX 4 U2RX 5 SCL2 6 SDA2 7 MISO3A 8 MOSI3A 9 AC1TX/SCK3A 10 UEXT2_CS
Page 18 of 22

5.3.10 MICROSD CARD

Pin # Signal name
1 MCIDAT2 2 CS_MMC 3 MOSI3A 4 VDD (3.3 V) 5 AC1TX/SCK3A 6 GND 7 MISO3A 8 MCIDAT1 9 Not Connected 10 Not Connected 11 Not Connected 12 Not Connected
Page 19 of 22

6. AVAILABLE DEMO SOFTWARE

To compile the demo you would need the following tools: MPLAB IDE v8.91 or MPLABX 1.80, Compiler: XC32 v1.21.
The demo demonstrates the functionality of the various peripherals of the board including user input, serial communication,
Graphical User Interface (GUI) and Network connectivity The demo is built upon the Microchip Solutions library (released on 22 august 2012)
including freely distributed support libraries:
- Microchip Graphics Library v3.06
- Microchip TCP/IP Stack Library v5.42
- Microchip MDD File System Library 1.4.0 (FAT, FAT32 file systems)
- Microchip USB support source files
FreeRTOS was used to make all tasks run virtually simultaneously. FreeRTOS is a freely distributed RTOS with excellent support and online documentation. Version used is v7.3.0. MPLAB has support for FreeRTOS (Tools/RTOS viewer).
You could find demo software for PIC32-MAXI-WEB board at the board's web page. It is recommended to refer to the “README.txt” file inside the demo archive.
Direct link to PIC32-MAXI-WEB's web-page:
https://www.olimex.com/Products/PIC/Development/PIC32-MAXI-WEB/
Page 20 of 22

7. REVISION AND ORDERING INFORMATION

PIC32-MAXI-WEB – fully assembled and tested
How to purchase?
You can purchase directly from our online shop or from any of our distributors. Note that usually it is faster and cheaper to purchase Olimex products from our distributors. List of confirmed Olimex LTD distributors and resellers: https://www.olimex.com/Distributors.
Please visit https://www.olimex.com/ for more info.

7.1 DOCUMENT REVISION

Revision, date Changes Modified page
A, 30.08.13 Initial manual release All
B, 03.12.13 Document remake All

7.2 BOARD REVISION

Remember to check the schematics and the board design files to compare the differences.
Revision Notable changes
A Initial release of the board
Page 21 of 22

8. WARRANTY AND SUPPORT

For product support, hardware information and error reports mail to: support@olimex.com. All document or hardware feedback is welcome. Note that we are primarily a hardware company and our software support is limited. Please consider reading the paragraph below about the warranty of Olimex products.
All goods are checked before they are sent out. In the unlikely event that goods are faulty, they must be returned, to OLIMEX at the address listed on your order invoice.
OLIMEX will not accept goods that have clearly been used more than the amount needed to
evaluate their functionality.
If the goods are found to be in working condition, and the lack of functionality is a result of
lack of knowledge on the customers part, no refund will be made, but the goods will be returned
to the user at their expense.
All returns must be authorized by an RMA Number. Email support@olimex.com for authorization
number before shipping back any merchandise. Please include your name, phone number and order
number in your email request.
Returns for any unaffected development board, programmer, tools, and cables permitted within 7
days from the date of receipt of merchandise. After such time, all sales are considered final.
Returns of incorrect ordered items are allowed subject to a 10% restocking fee. What is
unaffected? If you hooked it to power, you affected it. To be clear, this includes items that
have been soldered to, or have had their firmware changed. Because of the nature of the
products we deal with (prototyping electronic tools) we cannot allow returns of items that have
been programmed, powered up, or otherwise changed post shipment from our warehouse.
All returned merchandise must be in its original mint and clean condition. Returns on damaged,
scratched, programmed, burnt, or otherwise 'played with' merchandise will not be accepted.
All returns must include all the factory accessories which come with the item. This includes
any In-Circuit-Serial-Programming cables, anti-static packing, boxes, etc.
With your return, enclose your PO#. Also include a brief letter of explanation of why the
merchandise is being returned and state your request for either a refund or an exchange.
Include the authorization number on this letter, and on the outside of the shipping box.
Please note: It is your responsibility to ensure that returned goods reach us. Please use a
reliable form of shipping. If we do not receive your package we will not be held liable.
Shipping and handling charges are not refundable. We are not responsible for any shipping
charges of merchandise being returned to us or returning working items to you.
The full text might be found at https://www.olimex.com/wiki/GTC#Warranty for future reference.
Page 22 of 22
Loading...