OLIMEX MOD-ZIGBEE User Manual

MOD-ZIGBEE development board
Users Manual
All boards produced by Olimex are ROHS compliant
Rev. B, March 2013
Copyright(c) 2011, OLIMEX Ltd, All rights reserved
Page 1 of 17
INTRODUCTION
MOD-ZIGBEE features a bundle of 8bit PIC18 processor and an 802.15.4 compatible radio module that makes it easy to develop applications based on RF communication and especially ZigBee based protocol stacks. In addition MOD­ZIGBEE implements an on-board digital temperature sensor, for remote temperature reporting.
BOARD FEATURES
CPU: PIC18F26K20
RF Transceiver – MRF24J40 IEEE 802.15.4™ standard compliant 2.4
GHz RF transceiver
ICSP connector
On-board antenna
On-board temperature sensor – TCN75A
Option for external power supply through EXT_PWR
EXT/BAT switch
Reset circuit
two user buttons
two status LEDs
RST button
+3V lithium battery holder
PCB: FR-4, 1.00 mm (0,039"), solder mask, silkscreen component print
Dimensions: 65.15x20.38 mm (2.56x0.80")
ELECTROSTATIC WARNING
The MOD-ZIGBEE 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: The cable you will need depends on the programmer/debugger you
use. If you use PIC-ICD2-POCKET or PIC-Kit3 you will need 1.8 m A­B USB cable.
Hardware: One of Olimex programmers/debuggers – PIC-ICD2-POCKET, PIC-
KIT3, or other compatible programming/debugging tool. Also note that you would need adapter for the small ICSP connector (0.05'' step) - PIC-ICSP
Software: MPLAB IDE
Page 2 of 17
PROCESSOR FEATURES
MOD-ZIGBEE use 28-pin Flash Microcontroller with nano Watt XLP Technology –
PIC18F26K20, with these features:
High-Performance RISC CPU:
C Compiler Optimized Architecture:
Optional extended instruction set designed to optimize re-
entrant code
1024 bytes Data EEPROM
64 Kbytes Linear Program Memory Addressing
3936 bytes Linear Data Memory Addressing
Up to 16 MIPS Operation
16-bit Wide Instructions, 8-bit Wide Data Path
Priority Levels for Interrupts
31-Level, Software Accessible Hardware Stack
8 x 8 Single-Cycle Hardware Multiplier
Flexible Oscillator Structure:
Precision 16 MHz Internal Oscillator Block:
Factory calibrated to ± 1%
Software selectable frequencies range of 31 kHz to 16 MHz
64 MHz performance available using PLL – no external
components required
Four Crystal modes up to 64 MHz
Two External Clock modes up to 64 MHz
4X Phase Lock Loop (PLL)
Secondary Oscillator using Timer1 @ 32 kHz
Fail-Safe Clock Monitor:
Allows for safe shutdown if peripheral clock stops
Two-Speed Oscillator Start-up
Special Microcontroller Features:
Operating Voltage Range: 1.8V to 3.6V
Self-Programmable under Software Control
Programmable 16-Level High/Low-Voltage Detection (HLVD)
module:
Interrupt on High/Low-Voltage Detection
Programmable Brown-out Reset (BOR):
With software enable option
Extended Watchdog Timer (WDT):
Page 3 of 17
Programmable period from 4 ms to 131s
Single-Supply 3V In-Circuit Serial Programming™ (ICSP™) via Two
Pins
In-Circuit Debug (ICD) via Two Pins
Extreme Low-Power Management with nanoWatt XLP:
Sleep mode: < 100 nA @ 1.8V
Watchdog Timer: < 800 nA @ 1.8V
Timer1 Oscillator: < 800 nA @ 32 kHz and 1.8V
Analog Features:
Analog-to-Digital Converter (ADC) module:
10-bit, 10 Channels
Auto-acquisition capability
Conversion available during Sleep
One 1.2V Fixed Voltage Reference (FVR) channel
Independent input multiplexing
Analog Comparator module:
Two rail-to-rail analog comparators
Independent input multiplexing
Voltage Reference (CVREF) module
Programmable (% VDD), 16 steps
Two 16-level voltage ranges using VREF pins
Peripheral Highlights:
24 I/O Pins plus 1 Input-only Pin:
High-Current Sink/Source 25 mA/25 mA
Three programmable external interrupts
Four programmable interrupt-on-change
Eight programmable weak pull-ups
Programmable slew rate
Master Synchronous Serial Port (MSSP) module
3-wire SPI
I
2
C™ Master and Slave modes with address mask
Enhanced Universal Synchronous Asynchronous Receiver
Transmitter (EUSART) module:
Supports RS-485, RS-232 and LIN
RS-232 operation using internal oscillator
Auto-Wake-up on Break
Auto-Baud Detect
Page 4 of 17
BLOCK DIAGRAM
Page 5 of 17
MEMORY MAP
Page 6 of 17
Loading...
+ 12 hidden pages