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
Loading...
+ 15 hidden pages