User Manual
Version 1.1
2011-07-15
deRFnode and deRFgateway
Table of contents
1.
2.
3.
Overview ......................................................................................................................... 6
Application ....................................................................................................................... 6
Features .......................................................................................................................... 6
3.1. Block diagram......................................................................................................... 7
3.2. Hardware selection table ........................................................................................ 7
3.3. Feature list ............................................................................................................. 8
Hardware selection examples ........................................................................................ 10
4.1. Battery powered nodes in a small wireless sensor network .................................. 10
4.2. 6LoWPAN tree-network application ...................................................................... 10
4.3. Point-to-Point connection for simple applications .................................................. 10
Technical data ............................................................................................................... 11
5.1. Mechanical ........................................................................................................... 11
5.2. Operation conditions............................................................................................. 11
5.3. Electrical............................................................................................................... 11
5.3.1. Operational ranges.................................................................................... 11
5.3.2. Current consumption ................................................................................. 12
Overview of platforms .................................................................................................... 14
Pin assignment .............................................................................................................. 17
7.1. Radio module interface......................................................................................... 17
7.2. Debug interface .................................................................................................... 20
7.3. JTAG for ARM ...................................................................................................... 21
7.4. JTAG for AVR....................................................................................................... 22
7.5. User Interface ....................................................................................................... 22
7.6. Jumper configuration ............................................................................................ 24
Board features ............................................................................................................... 25
8.1. Onboard sensors .................................................................................................. 26
8.1.1. Temperature sensor .................................................................................. 26
8.1.2. Ambient light sensor.................................................................................. 26
8.1.3. Acceleration sensor................................................................................... 27
8.2. LEDs and buttons ................................................................................................. 27
8.2.1. User LEDs ................................................................................................ 27
8.2.2. User buttons.............................................................................................. 28
8.3. USB interface ....................................................................................................... 28
8.3.1. Native USB only for ARM based radio modules ........................................ 29
8.3.2. USB serial for AVR based radio modules .................................................. 29
8.4. Ethernet................................................................................................................ 31
8.5. Power supply ........................................................................................................ 32
8.6. Supervisor ............................................................................................................ 34
8.7. Current measurement........................................................................................... 36
8.8. USB supply voltage monitoring ............................................................................. 36
8.9. Battery supply voltage monitoring ......................................................................... 37
4.
5.
6.
7.
8.
dresden elektronik
ingenieurtechnik gmbh
Enno-Heidebroek-Str. 12
01237 Dresden / Germany
Tel.: +49 351 – 31 85 00
Fax: +49 351 – 3 18 50 10
wireless@dresden-elektronik.de
www.dresden-elektronik.de
Page 2 of 56
User Manual
Version 1.1
2011-07-15
deRFnode and deRFgateway
9.
Programming ................................................................................................................. 38
9.1. Requirements (HW/SW) ....................................................................................... 38
9.1.1. Source code and compiler toolchain ......................................................... 38
9.1.2. JTAG programming and adapter selection ................................................ 38
9.1.3. JTAG programming software .................................................................... 38
9.2. AVR based radio modules over JTAG .................................................................. 39
9.3. ARM based radio modules over JTAG.................................................................. 41
9.4. Software programming model ............................................................................... 42
9.4.1. Enabling the reset supervisor .................................................................... 42
9.4.2. Initialize and use I2C devices .................................................................... 42
9.4.3. Using the USB interface ............................................................................ 44
9.4.4. Measuring the battery voltage ................................................................... 45
9.4.5. Accessing the external flash...................................................................... 47
9.4.6. Initialize and use the Ethernet transceiver ................................................. 48
9.4.7. Minimize device power consumption ......................................................... 49
10. Ordering information ...................................................................................................... 52
11. Revision notes ............................................................................................................... 53
dresden elektronik
ingenieurtechnik gmbh
Enno-Heidebroek-Str. 12
01237 Dresden / Germany
Tel.: +49 351 – 31 85 00
Fax: +49 351 – 3 18 50 10
wireless@dresden-elektronik.de
www.dresden-elektronik.de
Page 3 of 56
User Manual
Version 1.1
2011-07-15
deRFnode and deRFgateway
Abbreviations
Abbreviation
ADC
ARM
AVR
BOD
CE
DBGU
EMAC
FCC
FTDI
GPIO
I
2
C
LDO
JTAG
µC, MCU
PCBA
PHY
RF
RMII
SMT
SPI
THT
Transceiver
TWI
U[S]ART
USB
Description
Analog
to
Digital Converter
Advanced RISC Machine.
A kind of processor architecture.
Names a family of microcontrollers from Atmel.
Brownout-Detection
Consumer Electronics
Debug Unit.
An UART dedicated to print debug traces – available on ARM
microcontrollers only.
Ethernet Media Access Controller
Federal Communications Commission
USB to serial converter from FTDI
Generals Purpose Input Output
Inter-Integrated Circuit,
another name for TWI.
Low-Dropout
(Regulator)
Joint Test Action Group,
defines a standardized interface for programming
and debugging microcontrollers.
Micro Controller
(Unit)
Printed Circuit Board Assembled
Physical
layer, refers to the lowest possible layer in a layered communica-
tion model
Radio Frequency
Reduced Media Independent Interface
Surface Mount Technology
Serial Peripheral Interface
Through-Hole Technology
Transmitter
/ Receiver
Two-Wire
Serial
Interface
Universal
[Synchronous/]Asynchronous
Receiver Transmitter
Universal Serial Bus
dresden elektronik
ingenieurtechnik gmbh
Enno-Heidebroek-Str. 12
01237 Dresden / Germany
Tel.: +49 351 – 31 85 00
Fax: +49 351 – 3 18 50 10
wireless@dresden-elektronik.de
www.dresden-elektronik.de
Page 5 of 56