RabbitCore RCM4500W User Manual

C-programmable zigbee core module
Table of Contents

Advertisement

Quick Links

RabbitCore RCM4500W
C-Programmable ZigBee Core Module
User's Manual
019–0161 • 090515–G

Advertisement

Table of Contents
loading

Summary of Contents for RabbitCore RCM4500W

  • Page 1 RabbitCore RCM4500W C-Programmable ZigBee Core Module User’s Manual 019–0161 • 090515–G...
  • Page 2 Digi International reserves the right to make changes and improvements to its products without providing notice. Trademarks Rabbit, RabbitCore, and Dynamic C are registered trademarks of Digi International Inc. ZigBee is a registered trademark of the ZigBee Alliance. Digi is a registered trademark of Digi International Inc.
  • Page 3: Table Of Contents

    ABLE OF ONTENTS Chapter 1. Introduction 1.1 RCM4510W Features........................... 2 1.2 Advantages of the RCM4510W ......................4 1.3 Development and Evaluation Tools ..................... 5 1.3.1 RCM4510W Development Kit..................... 5 1.3.2 Software............................6 1.3.2.1 XBee Firmware........................6 1.3.3 Optional Add-Ons ........................6 1.3.4 Online Documentation........................
  • Page 4 4.5 Other Hardware ..........................40 4.5.1 Clock Doubler ..........................40 4.5.2 Spectrum Spreader........................40 4.6 Memory .............................. 41 4.6.1 SRAM............................41 4.6.2 Flash EPROM..........................41 Chapter 5. Software Reference 5.1 More About Dynamic C........................42 5.2 Dynamic C Function Calls ........................ 44 5.2.1 Digital I/O...........................
  • Page 5 B.4.1 Adding Other Components ......................87 B.4.2 Measuring Current Draw ......................87 B.4.3 Analog Features ......................... 87 B.4.4 Serial Communication ....................... 88 B.4.4.1 RS-232 ..........................88 B.5 Prototyping Board Jumper Configurations..................90 Appendix C. Power Supply C.1 Power Supplies ..........................93 C.1.1 Battery Backup ..........................
  • Page 6: Chapter 1. Introduction

    1. I NTRODUCTION ® The RCM4510W next-generation RabbitCore modules add ZigBee ® 802.15.4 functionality to the existing Rabbit 4000 microprocessor features to allow you to create a low-cost, low-power, embedded wire- less control and communications solution for your embedded control ®...
  • Page 7: Rcm4510W Features

    The RCM4510W receives its +3.3 V power from the customer-supplied motherboard on which it is mounted. The RCM4510W can interface with all kinds of CMOS-compatible digital devices through the motherboard. 1.1 RCM4510W Features • Small size: 1.84" × 2.85" × 0.54" (47 mm ×...
  • Page 8 The RCM4510W is programmed over a standard PC USB port through a programming cable sup- plied with the Development Kit. NOTE: The RabbitLink cannot be used to program the RCM4510W or other RabbitCore mod- ules based on the Rabbit 4000 microprocessor.
  • Page 9: Advantages Of The Rcm4510W

    1.2 Advantages of the RCM4510W • Fast time to market using a fully engineered, “ready-to-run/ready-to-program” microprocessor core. • Competitive pricing when compared with the alternative of purchasing and assembling indi- vidual components. • Easy C-language program development and debugging • Rabbit Field Utility to download compiled Dynamic C .bin files, and cloning board options for rapid production loading of programs.
  • Page 10: Development And Evaluation Tools

    Accessory Parts for Digi XBee Prototyping Board bbitCore RCM4510W 10W RabbitCore module features built-in ZigBee ® /802.15.4 connectivity, allowing you to create ow-power, wireless network as part of your control solution for your embedded application. g Started instructions included with the Development Kit will help you get your RCM4510W...
  • Page 11: Software

    RCM4510W or with the preview version of the RCM4510W. Applications built around ZNet 2.5 may be upgraded to the ZB solution by loading the ZB firmware (standard release RCM4510W RabbitCore modules only) and by recompiling the application using Dynamic C v. 10.46 or later.
  • Page 12: Online Documentation

    • Mesh Network Add-On Kit (Part No. 101-1272) ®  Digi XBee USB (used as ZigBee coordinator)  Two XBee ZB RF modules  Two RF Interface modules ®  serial cables Digi XBee USB and The XBee ZB RF module is installed on the RF Interface module, which can be connected via an RS-232 serial connection to a Windows PC for setup.
  • Page 13: Chapter 2. Getting Started

    2. G ETTING TARTED This chapter describes the RCM4510W hardware in more detail, and explains how to set up and use the accompanying Prototyping Board. NOTE: This chapter (and this manual) assume that you have the RCM4510W Development Kit. If you purchased an RCM4510W module by itself, you will have to adapt the information in this chapter and elsewhere to your test and development setup.
  • Page 14: Hardware Connections

    2.2 Hardware Connections There are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs: 1. Prepare the Prototyping Board for Development. 2. Attach the RCM4510W module to the Prototyping Board. 3. Connect the programming cable between the RCM4510W and the PC. 4.
  • Page 15: Step 2 - Attach Module To Prototyping Board

    2.2.2 Step 2 — Attach Module to Prototyping Board Turn the RCM4510W module so that the mounting holes line up with the corresponding holes on the Prototyping Board with the programming header at the top right. Insert the metal standoffs as shown in Figure 4, secure them from the bottom using the 4-40 screws and washers, then insert the module’s header J1 on the bottom side into socket RCM1 on the Prototyping Board.
  • Page 16: Step 3 - Connect Programming Cable

    2.2.3 Step 3 — Connect Programming Cable The programming cable connects the module to the PC running Dynamic C to download pro- grams and to monitor the module during debugging. Connect the 10-pin connector of the programming cable labeled PROG to header J2 on the RCM4510W as shown in Figure 5.
  • Page 17: Step 4 - Connect Power

    2.2.4 Step 4 — Connect Power Once all the other connections have been made, you can connect power to the Prototyping Board. First, prepare the AC adapter for the country where it will be used by selecting the appropriate plug. The RCM4510W Development Kit presently includes Canada/Japan/U.S., Australia/N.Z., U.K., and European style plugs.
  • Page 18: Run A Sample Program

    2.3 Run a Sample Program If you already have Dynamic C installed, you are now ready to test your programming connec- tions by running a sample program. Start Dynamic C by double-clicking on the Dynamic C icon on your desktop or in your Start menu.
  • Page 19 ® 1. Connect the Digi XBee USB acting as a ZigBee coordinator to an available USB port on your PC or workstation. Your PC should recognize the new USB hardware. 2. Find the file , which is in the Dynamic C folder.
  • Page 20: Where Do I Go From Here

    2.4 Where Do I Go From Here? If the sample program ran fine, you are now ready to go on to the sample programs in Chapter 3 and to develop your own applications. The sample programs can be easily modified for your own use. The user's manual also provides complete hardware reference information and software function calls for the RCM4510W series of modules and the Prototyping Board.
  • Page 21: Chapter 3. Running Sample Programs

    This chapter provides sample programs that illustrate the digital I/O and serial capabilities of the RCM4510W RabbitCore module. Section 6.2 discusses the sample programs that illustrate the ZigBee features. NOTE: The sample programs assume that you have at least an elementary grasp of the C lan- guage.
  • Page 22: Sample Programs

    Of the many sample programs included with Dynamic C, several are specific to the RCM4510W modules. These programs will be found in the folder. SAMPLES\RCM4500W —Demonstrates use of the digital outputs by having you turn LEDs DS2 and • CONTROLLED.C...
  • Page 23 —demonstrates how to detect an attempt to enter the bootstrap mode. • TAMPERDETECTION.C When an attempt is detected, the battery-backed onchip-encryption RAM on the Rabbit 4000 is erased. This battery-backed onchip-encryption RAM can be useful to store data such as an AES encryption key from a remote location.
  • Page 24: Serial Communication

    3.2.1 Serial Communication The following sample programs are found in the folder. SAMPLES\RCM4500W\SERIAL —This program demonstrates how to configure Serial Port D for CTS/RTS • FLOWCONTROL.C flow control with serial data coming from Serial Port C (TxC) at 115,200 bps. The serial data received are displayed in the window.
  • Page 25 —This program demonstrates basic RS-232 serial commu- • SIMPLE3WIRE.C nication. Lower case characters are sent on TxC, and are received by RxD. RxC TxC The received characters are converted to upper case and are sent out on TxD, TxD RxD are received on RxC, and are displayed in the Dynamic C window.
  • Page 26 IOCONFIG.EXE port this sample program is provided in the Dynamic C folder. SAMPLES\RCM4500W\SERIAL Serial Port E is configured to use Parallel Port E bits PE6 and PE7. These signals are available on the Prototyping Board's Module Extension Header (header J2).
  • Page 27: Real-Time Clock

    3.2.2 Real-Time Clock If you plan to use the real-time clock functionality in your application, you will need to set the real-time clock. Use the SETRTCKB.C sample program from the Dynamic C SAMPLES\ RTCLOCK folder, and follow the onscreen prompts. The RTC_TEST.C sample program in the Dynamic C SAMPLES\RTCLOCK folder provides additional examples of how to read and set the real-time clock.
  • Page 28: Chapter 4. Hardware Reference

    Chapter 4 describes the hardware components and principal hardware subsys- tems of the RCM4510W. Appendix A, “RCM4510W Specifications,” pro- vides complete physical and electrical specifications. Figure 6 shows the Rabbit-based subsystems designed into the RCM4510W. ® RABBIT CMOS-level signals 4000 RabbitCore Module Figure 6. RCM4510W Subsystems User’s Manual...
  • Page 29: Rcm4510W Digital Inputs And Outputs

    4.1 RCM4510W Digital Inputs and Outputs Figure 7 shows the RCM4510W pinouts for headers J1 and J4. +3.3 V_IN ADC0/DIO0 ADC1/DIO1 /RESET_OUT /IORD ADC2/DIO2 ADC3/DIO3 /IOWR /RESET_IN GPIO8/VREF VBAT_EXT n.c. +3.3 V SYS_PWR_ON GPIO0 GPIO13 n.c. GPIO15 GPIO16 PB0/SCLK n.c. = not connected PB1/CLKA PC4/MOSI PC5/MISO...
  • Page 30 Figure 8 shows the use of the Rabbit 4000 microprocessor ports in the RCM4510W modules. PD0–PD7 PA0–PA7 PB2–PB7 PC0, PC2 PE0–PE7 ABBIT ® PC1, PC3 4000 /RES _ IN PB1, PC6, STATUS PC7, /RES, SMODE0, SMODE1 /RESET_OUT, /IORD PC4, RxD+ /IOWR PC5, TxD–...
  • Page 31 Table 2. RCM4510W Pinout Configurations Pin Name Default Use Alternate Use Notes +3.3 V_IN Reset output from Reset /RES_OUT Reset output Reset input Generator or external reset input /IORD Output External I/O read strobe /IOWR Output External I/O write strobe /RESET_IN Input Input to Reset Generator...
  • Page 32 Table 2. RCM4510W Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes I/O Strobe I0 Input/Output Timer C0 TCLKF Serial Port D RXD/TXD I/O Strobe I1 Input/Output Timer C1 RCLKF Input Capture TXC/TXF Input/Output I/O Strobe I2 Timer C2 RXC/TXC/RXF Serial Port C I/O Strobe I3...
  • Page 33 Table 2. RCM4510W Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes I/O Strobe I1 Timer C1 Input/Output RXD/RCLKF INT1 QRD1A Input Capture I/O Strobe I2 Timer C2 Input/Output DREQ0 QRD2B I/O Strobe I3 Timer C3 Input/Output RXC/RXF/SCLKD DREQ1 QRD2A Input Capture I/O Strobe I4...
  • Page 34 Table 2. RCM4510W Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes I/O Strobe I0 Timer C0 Input/Output INT0 SCLKD/TCLKF QRD1B I/O Strobe I1 Timer C1 Input/Output INT1 RXD/RCLKF QRD1A Input Capture I/O Strobe I2 Timer C2 Input/Output DREQ0 TXF/SCLKC RCM4510W only QRD2B...
  • Page 35 Table 2. RCM4510W Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes I/O Strobe I6 Input/Output PWM2 TXA/TXE Serial Port E (RCM4510W only) I/O Strobe I7 Input/Output PWM3 RXA/RXE Input Capture CONVERT Analog Input Reserved for future use Analog reference VREF voltage Ground...
  • Page 36: Memory I/O Interface

    4.1.1 Memory I/O Interface The Rabbit 4000 address lines (A0–A19) and all the data lines (D0–D7) are routed internally to the onboard flash memory and SRAM chips. I/0 write (/IOWR) and I/0 read (/IORD) are avail- able for interfacing to external devices, and are also used by the RCM4510W. Parallel Port A can also be used as an external I/O data bus to isolate external I/O from the main data bus.
  • Page 37: Serial Communication

    SDLC format by these two ports. Serial Ports E and F must be configured before they can be used. The sample program in the Dynamic C IOCONFIG_SWITCHECHO.C folder shows how to configure Serial Ports E and F. SAMPLES\RCM4500W\SERIAL User’s Manual...
  • Page 38: Using The Serial Ports

    RS232.LIB RS232_ to inhibit break-character assembly for all the serial ports. NOCHARASSYINBRK #define RS232_NOCHARASSYINBRK This macro is already defined so that it is the default behavior for the sample programs in the Dynamic C folder. SAMPLES\RCM4500W\SERIAL User’s Manual...
  • Page 39: Programming Port

    4.2.2 Programming Port The RCM4510W is programmed via the 10-pin header labeled J2. The programming port uses the Rabbit 4000’s Serial Port A for communication. Dynamic C uses the programming port to down- load and debug programs. Serial Port A is also used for the following operations. •...
  • Page 40: Programming Cable

    4.3 Programming Cable The programming cable is used to connect the programming port of the RCM4510W to a PC serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to the CMOS voltage levels used by the Rabbit 4000. When the PROG connector on the programming cable is connected to the RCM4510W program-...
  • Page 41: Standalone Operation Of The Rcm4510W

    A program “runs” in either mode, but can only be downloaded and debugged when the RCM4510W is in the Program Mode. Refer to the for more information on the programming Rabbit 4000 Microprocessor User’s Manual port. 4.3.2 Standalone Operation of the RCM4510W Once the RCM4510W has been programmed successfully, remove the programming cable from the programming connector and reset the RCM4510W.
  • Page 42: Auxiliary I/O

    NOTE: The XBee firmware associated with Dynamic C v. 10.46 does not support I/O reads for RCM4510W RabbitCore modules set up as API coordinators or as API routers. The input switching threshold between logic 0 and logic 1 is 0.66–2.64 V DC, and the output switching threshold between logic 0 and logic 1 is 0.59–2.71 V DC.
  • Page 43: A/D Converter

    4.4.2 A/D Converter The RCM4510W modules’ XBee RF module has four inputs on header J4 that may be set up in software as analog inputs. The four analog input pins, ADC0–ADC3, each have an input impedance of 6–7 M, depending on whether they are used as single-ended or differential inputs.
  • Page 44: Other Pin Features

    • There is a +3.3 V power supply point on pin 8, which can deliver up to 25 mA at 3.3 V DC. This power supply point is essentially a filtered and isolated version of the regulated +3.3 V DC power that is supplied to the RCM4510W RabbitCore module through pin 1 of header J1 from the motherboard.
  • Page 45: Other Hardware

    4.5 Other Hardware 4.5.1 Clock Doubler The clock doubler on the RCM4510W is disabled by default. 4.5.2 Spectrum Spreader The Rabbit 4000 features a spectrum spreader, which helps to mitigate EMI problems. The spec- trum spreader is on by default, but it may also be turned off or set to a stronger setting. The means for doing so is through a simple configuration macro as shown below.
  • Page 46: Memory

    4.6 Memory 4.6.1 SRAM All RCM4510W modules have 512K of battery-backed data SRAM installed at U4. 4.6.2 Flash EPROM All RCM4510W modules also have 512K of flash EPROM installed at U3. NOTE: Rabbit recommends that any customer applications should not be constrained by the sec- tor size of the flash EPROM since it may be necessary to change the sector size in the future.
  • Page 47: Chapter 5. Software Reference

    5. S OFTWARE EFERENCE Dynamic C is an integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with single-board computers and other devices based on the Rabbit microprocessor. Chapter 5 describes the libraries and function calls related to the RCM4510W.
  • Page 48 Dynamic C has a number of standard features. • Full-feature source and/or assembly-level debugger, no in-circuit emulator required. • Royalty-free TCP/IP stack with source code and most common protocols. • Hundreds of functions in source-code libraries and sample programs:  Exceptionally fast support for floating-point arithmetic and transcendental functions. ...
  • Page 49: Dynamic C Function Calls

    I/O bus. The sample programs in the Dynamic C folder provide further examples. SAMPLES/RCM4500W 5.2.2 Serial Communication Drivers Library files included with Dynamic C provide a full range of serial communications support.
  • Page 50: Sram Use

    The RCM4510W does not have a pull-up resistor on the PB1 (CLKA) line of the programming port. Because of this, the procedure to generate clones from the RCM4510W differs from that used for other RabbitCore modules and single-boards computers. You must set the CL_FORCE_...
  • Page 51: Including Firmware Update In Cloned Application

    5.2.5.1 Including Firmware Update in Cloned Application If you include the firmware update in the master RCM4510W program, clone this program to an RCM4510W clone, and then let that program run on the clone, then the firmware update will fail unless you remove the cloning cable from the clone before the firmware update begins.
  • Page 52: Prototyping Board Function Calls

    5.2.7 Prototyping Board Function Calls The function calls described in this section are for use with the Prototyping Board features. The source code is in the Dynamic C library if you LIB\Rabbit4000\RCM4xxx\RCM45xxW.LIB need to modify it for your own board design. Other generic functions applicable to all devices based on Rabbit microprocessors are described in the Dynamic C Function Reference Manual.
  • Page 53: Alerts

    5.2.7.2 Alerts These function calls can be found in the Dynamic C LIB\Rabbit4000\RCM4xxx\ library. RCM4xxx.LIB timedAlert void timedAlert(unsigned long timeout); DESCRIPTION Polls the real-time clock until a timeout occurs. The RCM4510W will be in a low-power mode during this time. Once the timeout occurs, this function call will enable the normal power source.
  • Page 54: Auxiliary I/O Pins Function Calls

    5.2.8 Auxiliary I/O Pins Function Calls The function calls described in this section are for use with the pins on the auxiliary I/O header at J4. The source code is in the Dynamic C library if LIB\Rabbit4000\XBee\XBEE_API.LIB you need to modify it for your own board design. The sample programs in the Dynamic C folder illustrate the use of the function SAMPLES\XBee...
  • Page 55 zb_io_init (cont’d) The pins are configured as analog inputs or as digital I/O using the following macros as exam- ples before #use XBEE_API.LIB. #define DIO_00 XBEE_IO_CONF_ANAIN // bit 4 #define DIO_01 XBEE_IO_CONF_ANAIN // bit 3 #define DIO_02 XBEE_IO_CONF_ANAIN // bit 2 #define DIO_03 XBEE_IO_CONF_ANAIN // bit 1 #define DIO_12 XBEE_IO_CONF_DIGIN...
  • Page 56: Digital I/O

    5.2.8.1 Digital I/O zb_dio_in int zb_dio_in(int dio); DESCRIPTION Reads the logic state of a pin configured as a digital input pin. This value corresponds to the dio number. PARAMETERS the Dynamic C digital input pin number (0 – ZB_MAX_PIN, valid values are 0–5, 10–12) set up in zb_io_init().
  • Page 57: Analog Inputs

    5.2.8.2 Analog Inputs zb_adc_in int zb_adc_in(int dio); DESCRIPTION Reads the analog input on the designated pin and return its 10-bit value. To convert the reading to millivolts perform the following calculation. AD (mV) = (ADIO reading / 1023) × 1200 mV PARAMETER the Dynamic C analog input pin number (0–3) set up in zb_io_init().
  • Page 58: Upgrading Dynamic C

    5.3 Upgrading Dynamic C Dynamic C patches that focus on bug fixes are available from time to time. Check the Web site www.rabbit.com/support/ for the latest patches, workarounds, and bug fixes. 5.3.1 Add-On Modules Starting with Dynamic C version 10.40, Dynamic C includes the popular µC/OS-II real-time operating system, point-to-point protocol (PPP), FAT file system, RabbitWeb, and other select libraries.
  • Page 59: Chapter 6. Using The Zigbee Features

    (either the coordinator or a router), and cannot relay data from other devices. The XBee RF module used by the RCM4510W (ZB) sup- ports using the RCM4510W RabbitCore module in a mesh network. RCM4510W modules are preconfigured with ZNet 2.5 or ZB router firmware — only ZB firmware sup- ports a mesh network.
  • Page 60: Znet Vs. Zb Firmware

    6.1.1 ZNet vs. ZB Firmware RCM4510W modules are preconfigured with ZNet 2.5 or ZB router firmware. The firmware pre- loaded at the factory is indicated with the model number and is reflected in different part numbers (see Table 1). Older RCM4510W modules shipped with ZNet firmware and do not have a sticker on their XBee RF module.
  • Page 61: Zigbee Sample Programs

    Each sample program has comments that describe the purpose and function of the program. Fol- low the instructions at the beginning of the sample program. The sample programs in the Dynamic C folders SAMPLES\RCM4500W\XBee SAMPLES\XBee illustrate the use of the XBee function calls. 6.2.1 Setting Up the Digi XBee USB Coordinator ®...
  • Page 62 COM port. The ZigBee parameters (firmware version, operating channel, PAN ID) for the ® Digi XBee USB will be displayed in the “Radio Parameters” box. Go to Control Panel > on your PC if you need help in identifying System > Hardware > Device Manager > Ports the USB COM port.
  • Page 63: Setting Up Sample Programs

    6.2.2 Setting up Sample Programs The sample programs are set up so that the RCM4510W module you are using is a ZigBee end device, router, or coordinator. Uncomment the line corresponding to the role the RCM4510W will have once it is running the sample program. The default described in the sample programs is for the RCM4510W module to be either a router (shown below) or an end device.
  • Page 64 Node ID — the ID of your particular node via the macro in the Dynamic C LIB\ library. Each node should have a unique identifier of up Rabbit4000\XBee\XBEE_API.LIB to 20 printable characters. • Defaults to RabbitXBee • Can be set to a global variable, or to a function that returns a pointer to a static buffer. #define NODEID_STR "RabbitXBee"...
  • Page 65 The XBee sample programs in the Dynamic C folder exercise the SAMPLES\RCM4500W\XBee XBee function calls on the XBee RF module on the RCM4510W. —This sample program shows how to place the RCM4510W module in the • SLEEPMODE.C “sleep” mode where most power is removed from the RCM4510W module. Power is restored once a message is received or after a specified time interval.
  • Page 66 ) running on an RCM4510W RabbitCore module or SAMPLES/XBEE/XBEE_GPIO_CLIENT.C on a single-board computer with a separate XBee RF module. Compile and run this sample program with the RCM4510W RabbitCore module installed on the Prototyping Board. Run the Windows GUI client ( in the Dynamic C XBEE_GPIO_GUI.exe...
  • Page 67: Using The Sleep Mode

    6.3 Using the Sleep Mode The RCM4510W RabbitCore module has two components that are involved when the sleep mode is invoked — the XBee RF module and the Rabbit 4000 microprocessor. End devices, unlike coordinators and routers, can enter a low-power sleep mode. This sleep mode is controlled by the XBee RF module, and fully powers down the Rabbit 4000 microprocessor for significant savings in power use.
  • Page 68 30 seoconds could result in the xb_tick() RCM4510W going to sleep unexpectedly. sample programs in the Dynamic C SLEEPMODE.C SLEEPMODE2.C SAMPLES\ folder and the function documentation for RCM4500W\XBEE zb_Rabbit_poweroff() provide more specific information regarding the implementation and use of the sleep sleep() mode. User’s Manual...
  • Page 69: Dynamic C Function Calls

    CD and on our site. ® Digi’s XBee OEM RF Modules provides complete information for the XBee RF module used on the RCM4510W RabbitCore modules, provides background information on the ZigBee PRO proto- col, and is available at ftp1.digi.com/support/documentation/90000976_a.pdf.. User’s Manual...
  • Page 70: Appendix A. Rcm4510W Specifications

    A. RCM4510W S PPENDIX PECIFICATIONS Appendix A provides the specifications for the RCM4510W, and describes the conformal coating. User’s Manual...
  • Page 71: Electrical And Mechanical Characteristics

    A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM4510W. 1.84 (47) Please refer to the RCM4510W footprint diagram later in this appendix for precise header locations. 0.125 dia × 3 (3.2) 0.72 0.62 0.50 (18) (16) (13) 2.85...
  • Page 72 (47) Figure A-2. RCM4510W “Exclusion Zone” NOTE: There is an antenna associated with the RCM4510W RabbitCore modules. The antenna is on the XBee RF modules for the standard versions of the RCM4510W, and is on the printed circuit board near the shielded modem below header J4. Do not use any RF-absorbing materials in these vicinities in order to realize the maximum range.
  • Page 73 Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM4510W. Table A-1. RCM4510W Specifications Parameter RCM4510W ® Microprocessor Rabbit 4000 at 29.49 MHz Flash Memory 512K Data SRAM 512K Connection for user-supplied backup battery Backup Battery (to support RTC and data SRAM) up to 49 parallel digital I/0 lines: •...
  • Page 74 Table A-1. RCM4510W Specifications (continued) Parameter RCM4510W 4 channels synchronized PWM with 10-bit counter Pulse-Width Modulators 4 channels variable-phase or synchronized PWM with 16-bit counter 2-channel input capture can be used to time input Input Capture signals from various port pins 2-channel quadrature decoder accepts inputs Quadrature Decoder from external incremental encoder modules...
  • Page 75: Xbee Rf Module

    A.1.1 XBee RF Module Table A-2 shows the XBee RF module specifications. Table A-2. XBee RF Module Specifications Parameter Specification ® RF Module Digi International XBee Compliance 802.15.4 standard (ZigBee compliant) Frequency ISM 2.4 GHz Indoor Range 100 ft (30 m) Outdoor Line-of-Sight 300 ft (90 m) Range...
  • Page 76: Headers

    A.1.2 Headers The RCM4510W uses a header at J1 for physical connection to other boards. J1 is a 2 × 25 SMT header with a 1.27 mm pin spacing. J2, the programming port, is a 2 × 5 header with a 1.27 mm pin spacing.
  • Page 77: Rabbit 4000 Dc Characteristics

    A.2 Rabbit 4000 DC Characteristics Table A-3. Rabbit 4000 Absolute Maximum Ratings Symbol Parameter Maximum Rating Operating Temperature -40° to +85°C Storage Temperature -55° to +125°C + 0.3 V Maximum Input Voltage (max. 3.6 V) Maximum Operating Voltage 3.6 V Stresses beyond those listed in Table A-3 may cause permanent damage.
  • Page 78: I/O Buffer Sourcing And Sinking Limit

    A.3 I/O Buffer Sourcing and Sinking Limit Unless otherwise specified, the Rabbit I/O buffers are capable of sourcing and sinking 8 mA of current per pin at full AC switching speed. Full AC switching assumes a 29.4 MHz CPU clock with the clock doubler enabled and capacitive loading on address and data lines of less than 70 pF per pin.
  • Page 79 Figure A-4 shows a typical timing diagram for the Rabbit 4000 microprocessor external I/O read and write cycles. External I/O Read (no extra wait states) A[15:0] valid T adr /CSx T CSx T CSx /IOCSx T IOCSx T IOCSx /IORD T IORD T IORD /BUFEN...
  • Page 80 Table A-7 lists the delays in gross memory access time for several values of VDD Table A-7. Preliminary Data and Clock Delays Clock to Address Worst-Case Output Delay Spectrum Spreader Delay Data Setup (ns) (ns) Time Delay (ns) 0.5 ns setting 1 ns setting 2 ns setting 30 pF 60 pF 90 pF...
  • Page 81: Conformal Coating

    A.5 Conformal Coating The areas around the 32 kHz real-time clock crystal oscillator have had the Dow Corning sili- cone-based 1-2620 conformal coating applied. The conformally coated area is shown in Figure A-5. The conformal coating protects these high-impedance circuits from the effects of moisture and contaminants over time.
  • Page 82: Jumper Configurations

    A.6 Jumper Configurations Figure A-6 shows the header locations used to configure the various RCM4510W options via jumpers. RCM4510W JP11 JP11 JP10 JP10 Figure A-6. Location of RCM4510W Configurable Positions Table A-8 lists the configuration options. Table A-8. RCM4510W Jumper Configurations Factory Header Description...
  • Page 83 Table A-8. RCM4510W Jumper Configurations (continued) Factory Header Description Pins Connected Default 1–2 LN2 LN2 or PD2 on J1 pin 42 × 2–3 PD2 1–2 LN4 LN4 or PD4 on J1 pin 44 × 2–3 PD4 1–2 LN6 LN6 or PD6 on J1 pin 46 ×...
  • Page 84: Appendix B. Prototyping Board

    B. P PPENDIX ROTOTYPING OARD Appendix B describes the features and accessories of the Prototyping Board, and explains the use of the Prototyping Board to demonstrate the RCM4510W and to build prototypes of your own circuits. The Prototyping Board has power-supply connections and also provides some basic I/O peripherals (RS-232, LEDs, and switches), as well as a prototyping area for more advanced hardware development.
  • Page 85: Introduction

    B.1 Introduction The Prototyping Board included in the Development Kit makes it easy to connect an RCM4510W module to a power supply and a PC workstation for development. It also provides some basic I/O peripherals (RS-232, LEDs, and switches), as well as a prototyping area for more advanced hard- ware development.
  • Page 86: Prototyping Board Features

    2 × 25 header strip with a 0.1" pitch can be soldered into place. See Figure B-4 for the header pinouts. NOTE: The same Prototyping Board can be used for several series of RabbitCore modules, and so the signals at J2 depend on the signals available on the specific RabbitCore module.
  • Page 87 —The analog signals from the RabbitCore module are presented at • Analog Inputs Header header J3 on the Prototyping Board. These analog signals are connected via attenuator/filter circuits on the Prototyping Board to the corresponding analog inputs on the RCM4510W mod- ule.
  • Page 88: Mechanical Dimensions And Layout

    B.2 Mechanical Dimensions and Layout Figure B-2 shows the mechanical dimensions and layout for the Prototyping Board. 2.735 (69.5) 1.935 (49.1) RESET UX49 UX47 +5 V /RST_OUT /IORD +3.3 V RX81 RCM1 /IOWR /RST_IN VBAT RX83 JP16 JP12 JP14 UX30 JP18 RX11 JP10...
  • Page 89: Power Supply

    Table B-1 lists the electrical, mechanical, and environmental specifications for the Prototyping Board. Table B-1. Prototyping Board Specifications Parameter Specification Board Size 3.80" × 3.80" × 0.48" (97 mm × 97 mm × 12 mm) Operating Temperature 0°C to +70°C Humidity 5% to 95%, noncondensing Input Voltage...
  • Page 90: Using The Prototyping Board

    J4. A header strip at J4 allows you to connect a ribbon cable, and a ribbon cable to DB9 connector is included with the Development Kit. The pinouts for these locations are shown in Figure B-4. RS-232 +3.3 V /RST_OUT /IORD /IOWR /RST_IN VBAT_EXT RCM4500W Signals PD0/LN0 PD2/LN2 PD1/LN1 PD4/LN4 PD3/LN3 PD6/LN6 PD5/LN5 PD7/LN7...
  • Page 91 All signals from the RCM4510W module are available on header J2 of the Prototyping Board. The remaining ports on the Rabbit 4000 microprocessor are used for RS-232 serial communica- tion. Table B-2 lists the signals on header J2 and, where applicable, explains how they are config- ured by the function call for use on the Prototyping Board.
  • Page 92: Adding Other Components

    B.4.3 Analog Features The Prototyping Board has typical support circuitry installed to complement the ADS7870 A/D converter chip, which is available on other RabbitCore modules based on the Rabbit 4000 micro- processor, but is not installed on the RCM4510W model.
  • Page 93: Serial Communication

    the RCM4510W’s header J4 cannot be used with the Prototyping Board without modifying the Prototyp- ing Board. B.4.4 Serial Communication The Prototyping Board allows you to access the serial ports from the RCM4510W module. Table B-3 summarizes the configuration options. Table B-3.
  • Page 94 RS-232 flow control on an RS-232 port is initiated in software using the serXflowcontrolOn function call from , where is the serial port (C or D). The locations of the flow con- RS232.LIB trol lines are specified using a set of five macros. SERX_RTS_PORT—Data register for the parallel port that the RTS line is on (e.g., PCDR).
  • Page 95: Prototyping Board Jumper Configurations

    B.5 Prototyping Board Jumper Configurations Figure B-6 shows the header locations used to configure the various Prototyping Board options via jumpers. UX49 JP16 JP12 JP14 JP18 JP10 JP24 JP23 JP25 Figure B-6. Location of Configurable Jumpers on Prototyping Board Table B-4 lists the configuration options using either jumpers or 0  surface-mount resistors. Table B-4.
  • Page 96 Table B-4. RCM4510W Prototyping Board Jumper Configurations (continued) Factory Header Description Pins Connected Default × RxD on header J4 1–2 PC1/RxD/Switch S2 PC1 to Switch S2 1–2 n.c. PC1 available on header J2 × TxC on header J4 1–2 PC2/TxC/LED DS3 PC2 to LED DS3 1–2 n.c.
  • Page 97 Table B-4. RCM4510W Prototyping Board Jumper Configurations (continued) Factory Header Description Pins Connected Default LN5 buffer/filter to JP20 1–2 Connected RCM4510W LN6 buffer/filter to JP21 1–2 Connected RCM4510W LN7 buffer/filter to JP22 1–2 Connected RCM4510W × 1–2 Tied to analog ground JP23 LN4_IN–LN6_IN 2–3 Tied to VREF...
  • Page 98: Appendix C. Power Supply

    C.1 Power Supplies The RCM4510W requires a regulated 3.3 V DC ±5% power source. The RabbitCore design pre- sumes that the voltage regulator is on the user board, and that the power is made available to the RCM4510W board through header J1.
  • Page 99: Battery-Backup Circuit

    The drain on the battery by the RCM4510W is typically 7.5 µA when no other power is supplied. If a 165 mA·h battery is used, the battery can last about 2.5 years: 165 mA·h ------------------------ 2.5 years. 7.5 µA The actual battery life in your application will depend on the current drawn by components not on the RCM4510W and on the storage capacity of the battery.
  • Page 100: Xbee Rf Module Power Supply

    when operating close to the 3.0 V minimum voltage (for example, keep the power supply as close as possible to the RCM4510W) since your RCM4510W could reset unintentionally. The RCM4510W has a reset output, pin 3 on header J1. C.1.4 XBee RF Module Power Supply The XBee RF module is isolated from digital noise generated by other components by way of a low- pass filter composed of L5 and C90 on the RCM4510W as shown in Figure C-3.
  • Page 101: Appendix D. Additional Configuration Instructions

    By default, the RCM4510W is shipped from the factory with firmware to operate as either a router or as an end device in a mesh network. You will need to run the MODEMFWLOAD.C sample program in the Dynamic C SAMPLES\RCM4500W\XBee folder to download the firmware needed to operate the RCM4510W as a coordinator.
  • Page 102: Dynamic C V. 10.21 (Rcm4510W Preview And Standard Versions)

    There are also two ZNet 2.5 libraries in the LIB\Rabbit4000\XBee\XBee_Firmware\ZNet folder. • A Dynamic C library of the type is used for a coordinator XB24-B_ZigBee_…41.LIB RCM4510W. • A Dynamic C library of the type is used for an end-device/router XB24-B_ZigBee_…47.LIB RCM4510W.
  • Page 103: Dynamic C V. 10.11 (Rcm4510W Preview Version Only)

    D.1.3 Dynamic C v. 10.11 (RCM4510W preview version only) The coordinator and end-device/router firmware is provided in the Dynamic C SAMPLES\ folder. RCM4500W\MODEMFW • Firmware of the type is used for a coordinator RCM4510W. XB24-B_ZigBee_11….ebl • Firmware of the type is used for an end device/router XB24-B_ZigBee_13….ebl...
  • Page 104: Digi ® Xbee Usb Configuration

    ® D.2 Digi XBee USB Configuration ® You may experience difficulty when you use the ZigBee sample programs and the Digi XBee USB with the default settings if you are working simultaneously with more than one ZigBee coordinator. Section 6.2.2 explains how to set up the RCM4510W configuration patterns for the sample pro- grams via macros in the Dynamic C library folder.
  • Page 105: Additional Reference Information

    3. On the “PC Settings” tab, select the “USB Serial Port” corresponding to the USB serial port ® the Digi XBee USB is connected to and click “Test/Query.” You should see a response show- ing the Modem Type (XB 24-B) and the firmware version. Click Note that several USB serial ports could be listed.
  • Page 106: Update Digi ® Xbee Usb Firmware

    ® D.2.2 Update Digi XBee USB Firmware ® The firmware version used by the Digi XBee USB must correspond to the firmware version installed on the RCM4510W. If you have updated the RCM4510W firmware (or you have a need to re-install the firmware on the Digi ®...
  • Page 107: Index

    NDEX digital I/O ......26 firmware download function calls ..... 47 Digi® XBee USB ... 106 additional information digInAlert() ....51 firmware updates ..106 online documentation ..7 timedAlert() ....51 via cloned application ..49 analog inputs zb_dio_in() ....54 XBee RF module ....
  • Page 108 jumper configurations power supplies sample programs (continued) Prototyping Board (continued) +3.3 V ....... 97 serial communication JP19 (LN4 buffer/filter to battery backup ....97 FLOWCONTROL.C ..20 RCM4510W) ....95 Program Mode ...... 37 IOCONFIG_SWIT- JP2 (+ 3.3 V current mea- switching modes ....
  • Page 109 software ........6 external I/O bus ... 33, 47 technical support ....16 ZigBee I/O drivers ......47 software libraries ....49 libraries ZigBee protocol RCM45xxW.LIB ..52 coordinator ......57 serial communication drivers user block end device ......57 ........
  • Page 110: Schematics

    CHEMATICS 090-0242 RCM4500W Schematic (preview version) www.rabbit.com/documentation/schemat/090-0242.pdf 090-0246 RCM4500W Schematic (standard release) www.rabbit.com/documentation/schemat/090-0246.pdf 090-0230 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0230.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf 090-0252 USB Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0252.pdf You may use the URL information provided above to access the latest schematics directly.
  • Page 111 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Rabbit Semiconductor 101-1272...

Table of Contents