Rabbit RabbitCore RCM5400W User Manual

C-programmable wi-fi core module
Table of Contents

Advertisement

Quick Links

RabbitCore RCM5400W
C-Programmable Wi-Fi Core Module
OEM User's Manual
019–0169 • 080630–A

Advertisement

Table of Contents
loading

Summary of Contents for Rabbit RabbitCore RCM5400W

  • Page 1 RabbitCore RCM5400W C-Programmable Wi-Fi Core Module OEM User’s Manual 019–0169 • 080630–A...
  • Page 2 Rabbit, RabbitCore, and Dynamic C are registered trademarks of Digi International Inc. Wi-Fi is a registered trademark of the Wi-Fi Alliance. Rabbit 5000 is a trademark of Digi International Inc. The latest revision of this manual is available on the Rabbit Web site, www.rabbit.com, for free, unregistered download. Rabbit Semiconductor Inc.
  • Page 3: Table Of Contents

    ABLE OF ONTENTS Chapter 1. Introduction 1.1 RCM5400W/RCM5450W Features .....................2 1.2 Advantages of the RCM5400W......................3 1.3 Development and Evaluation Tools......................4 1.3.1 RCM5400W Development Kit .....................4 1.3.2 Software ............................5 1.3.3 Online Documentation ........................5 1.4 Certifications............................6 1.4.1 FCC Part 15 Class B ........................6 1.4.2 Industry Canada Labeling ......................7 1.4.3 Europe ............................8 Chapter 2.
  • Page 4 A.1 Electrical and Mechanical Characteristics ..................78 A.1.1 Antenna............................82 A.1.2 Headers ............................83 A.2 Rabbit 5000 Microprocessor DC Characteristics ................84 A.3 I/O Buffer Sourcing and Sinking Limit..................... 85 A.4 Bus Loading ............................85 A.5 Jumper Configurations ........................88 Appendix B.
  • Page 5 B.4 Using the Prototyping Board......................97 B.4.1 Adding Other Components......................99 B.4.2 Measuring Current Draw......................99 B.4.3 Analog Features........................100 B.4.4 Serial Communication ......................100 B.4.4.1 RS-232 ..........................100 B.5 Prototyping Board Jumper Configurations ..................102 Appendix C. Power Supply C.1 Power Supplies..........................105 C.1.1 Battery-Backup.........................105 C.1.2 Battery-Backup Circuit......................106 C.1.3 Reset Generator ........................107 C.1.4 Onboard Power Supplies ......................107 Index...
  • Page 6 RabbitCore RCM5400W...
  • Page 7: Chapter 1. Introduction

    Wi-Fi oscillator, and timekeeping), and the circuitry necessary for reset and management of battery backup of the Rabbit 5000’s internal real-time clock and the static RAM. One 50-pin header brings out the Rabbit 5000 I/O bus lines, parallel ports, and serial ports.
  • Page 8: Rcm5400W/Rcm5450W Features

    • Small size: 1.84" × 2.85" × 0.55" (47 mm × 72 mm × 14 mm) • Microprocessor: Rabbit 5000 running at 73.73 MHz • Up to 35 general-purpose I/O lines configurable with up to four alternate functions • 3.3 V I/O lines with low-power modes down to 2 kHz •...
  • Page 9: Advantages Of The Rcm5400W

    • 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. • Generous memory size allows large programs with tens of thousands of lines of code, and substantial data storage.
  • Page 10: Development And Evaluation Tools

    CD. Install any Dynamic C modules after you UX12 the latest information on peripherals and accessories that install Dynamic C . are available for the RCM5400W RabbitCore modules. RX43 Rabbit, RabbitCore, Dynamic C and Digi are registered trademarks of Digi International Inc. UX14 RX97 RX59 RX75 RX49...
  • Page 11: Software

    µC/OS-II real-time operating system, point-to-point protocol (PPP), FAT file system, RabbitWeb, and other select libraries. Rabbit also offers for purchase the Rabbit Embedded Security Pack featuring the Secure Sockets Layer (SSL) and a specific Advanced Encryption Standard (AES) library. In addi- tion to the Web-based technical support included at no extra charge, a one-year telephone- based technical support subscription is also available for purchase.
  • Page 12: Certifications

    • Increase the separation between the equipment and the receiver. • Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. • Consult the dealer or an experienced radio/TV technician for help. RabbitCore RCM5400W...
  • Page 13: Industry Canada Labeling

    Labeling Requirements (FCC 15.19) FCC ID: VCB-E59C4472 This device complies with Part 15 of FCC rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
  • Page 14: Europe

    The equipment shall be marked, where applicable, in accordance with CEPT/ERC Recom- mendation 70-03 or Directive 1999/5/EC, whichever is applicable. Where this is not appli- cable, the equipment shall be marked in accordance with the National Regulatory requirements. RabbitCore RCM5400W...
  • Page 15: Chapter 2. Getting Started

    One icon is for Dynamic C, another opens the documentation menu, and the third is for the Rabbit Field Utility, a tool used to download precompiled software to a target system. If you have purchased any of the optional Dynamic C modules, install them after installing Dynamic C.
  • Page 16: Hardware Connections

    RX81 RCM1 /IOWR /RST_IN VBAT JP16 RX83 JP12 JP14 UX30 JP18 RX11 JP10 UX10 RX67 UX12 RX43 UX14 RX97 RX59 RX75 RX49 RX55 RX57 RX73 CX27 VREF AGND CX25 CX23 RX77 RX79 UX16 JP25 Figure 2. Insert Standoffs RabbitCore RCM5400W...
  • Page 17: Step 2 - Attach The Antenna To The Rcm5400W Module

    2.2.2 Step 2 — Attach the Antenna to the RCM5400W Module Attach the antenna to the antenna SMA connector on the RCM5400W as shown in Figure 3. C119 C118 C121 C115 Figure 3. Attach the Antenna to the RCM5400W Module CAUTION: Do not remove the RF shield by the antenna since any attempt to remove the shield will damage the RF circuits underneath it.
  • Page 18: Step 3 - Attach Module To Prototyping Board

    Press the module’s pins gently into the Prototyping Board socket—press down in the area above the header pins. For additional integrity, you may secure the RCM5400W to the standoffs from the top using the remaining three screws and washers. RabbitCore RCM5400W...
  • Page 19: Step 4 - Connect Programming Cable

    USB programming cable will flash — if you get an error message, you will have to install USB drivers. Drivers for Windows XP are available in the Dynamic C folder — double-click Drivers\Rabbit USB Programming Cable\WinXP_2K to install the USB drivers. Drivers for other operating systems are available DPInst.exe online at www.ftdichip.com/Drivers/VCP.htm.
  • Page 20: Step 5 - Connect Power

    J1 should light up. The RCM5400W and the Prototyping Board are now ready to be used. NOTE: A RESET button is provided on the Prototyping Board next to the battery holder to allow a hardware reset without disconnecting power. RabbitCore RCM5400W...
  • Page 21: 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 connections by running a sample program. Start Dynamic C by double-clicking on the Dynamic C icon on your desktop or in your menu.
  • Page 22: Troubleshooting

    USB programming cable was identified and set up in Dynamic C as described in the preceding section. If you receive the message No Rabbit Processor Detected, the programming cable may be connected to the wrong COM port, a connection may be faulty, or the target system may not be powered up.
  • Page 23: Where Do I Go From Here

    2.4.1 Technical Support NOTE: If you purchased your RCM5400W or RCM5450W through a distributor or through a Rabbit partner, contact the distributor or partner first for technical support. If there are any problems at this point: • Use the Dynamic C menu to get further assistance with Dynamic C.
  • Page 24 RabbitCore RCM5400W...
  • Page 25: Chapter 3. Running Sample Programs

    AMPLE ROGRAMS To develop and debug programs for the RCM5400W (and for all other Rabbit hardware), you must install and use Dynamic C. This chapter provides a tour of its major features with respect to the RCM5400W modules. 3.1 Introduction To help familiarize you with the RCM5400W modules, Dynamic C includes several sam- ple programs.
  • Page 26: Sample Programs

    —demonstrates the use of cofunctions and costatements to flash LEDs • FLASHLED2.C DS2 and DS3 on the Prototyping Board at different rates. Once you have compiled and run this program, LEDs DS2 and DS3 will flash on/off at different rates. RabbitCore RCM5400W...
  • Page 27 TAMPERDETECTION.C mode. When an attempt is detected, the battery-backed onchip-encryption RAM on the Rabbit 5000 is erased. This battery-backed onchip-encryption RAM can be useful to store data such as an AES encryption key from a remote location. This sample program shows how to load and read the battery-backed onchip-encryption RAM and how to enable a visual indicator.
  • Page 28: Use Of Serial Flash

    (set to zero) all the bytes in a speci- fied page, set all bytes on the specified page to a given value, or save user-specified text to a selected page. RabbitCore RCM5400W...
  • Page 29: Serial Communication

    3.2.2 Serial Communication The following sample programs are found in the folder. SAMPLES\RCM5400W\SERIAL —This program demonstrates how to configure Serial Port D for • FLOWCONTROL.C CTS/RTS flow control with serial data coming from Serial Port C (TxC) at 115,200 bps. The serial data received are displayed in the STDIO window.
  • Page 30 TxD RxD shown in the diagram. Once you have compiled and run this program, press and release switches S2 and S3 on the Prototyping Board. The data sent between the serial ports will be displayed in the STDIO window. RabbitCore RCM5400W...
  • Page 31: Real-Time Clock

    3.2.3 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 sample program from the Dynamic C SETRTCKB.C folder, and follow the onscreen prompts. The sample SAMPLES\RTCLOCK RTC_TEST.C program in the Dynamic C...
  • Page 32 RabbitCore RCM5400W...
  • Page 33: Chapter 4. Hardware Reference

    EFERENCE Chapter 4 describes the hardware components and principal hardware subsystems of the RCM5400W. Appendix A, “RCM5400W Specifica- tions,” provides complete physical and electrical specifications. Figure 6 shows the Rabbit-based subsystems designed into the RCM5400W. 32 kHz 73.73 MHz Wi-Fi...
  • Page 34: Rcm5400W Digital Inputs And Outputs

    * These pins are normally n.c. n.c. = not connected Note: These pinouts are as seen on the Bottom Side of the module. Figure 7. RCM5400W Pinout standard 2 × 25 IDC header with a nominal 1.27 mm pitch. Headers J1 is a RabbitCore RCM5400W...
  • Page 35 Figure 8. Use of Rabbit 5000 Ports The ports on the Rabbit 5000 microprocessor used in the RCM5400W are configurable, and so the factory defaults can be reconfigured. Table 2 lists the Rabbit 5000 factory defaults and the alternate configurations.
  • Page 36 SCLKA Programming port Input/Output External I/O Address SCLKA /SWR Input/Output External I/O Address /SRD Input/Output External I/O Address Input/Output External I/O Address Input/Output External I/O Address /SCS Input/Output External I/O Address /SLAVATN Input/Output External I/O Address RabbitCore RCM5400W...
  • Page 37 Table 2. RCM5400W 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 38 PE5 is the default PE5/SMODE0 Input/Output PWM1 configuration RXB/RCLKE Input Capture I/O Strobe I6 PWM2 PE6 is the default PE6/SMODE1 Input/Output configuration DREQ0 I/O Strobe I7 PWM3 PE7 is the default PE7/STATUS Input/Output RXA/RXE/SCLKC configuration DREQ1 Input Capture RabbitCore RCM5400W...
  • Page 39 Table 2. RCM5400W 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 QRD2B Serial Port F...
  • Page 40 Table 2. RCM5400W Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes I/O Strobe I6 Input/Output PWM2 TXA/TXE Serial Port E I/O Strobe I7 Input/Output PWM3 RXA/RXE Input Capture Not Connected Not Connected RabbitCore RCM5400W...
  • Page 41: Memory I/O Interface

    4.1.1 Memory I/O Interface The Rabbit 5000 address lines (A0–A19) and all the data lines (D0–D7) are routed internally to the onboard flash memory and SRAM chips. I/O write (/IOWR) and I/O read (/IORD) are available for interfacing to external devices, and are also used by the RCM5400W.
  • Page 42: Serial Communication

    SDLC format by these two ports. Serial Ports E and F must be con- figured before they can be used. The sample program in the IOCONFIG_SWITCHECHO.C Dynamic C folder shows how to configure Serial Ports E SAMPLES\RCM5400W\SERIAL and F. RabbitCore RCM5400W...
  • Page 43: Using The Serial Ports

    Table 3 summarizes the possible parallel port pins for the serial ports and their clocks. Table 3. Rabbit 5000 Serial Port and Clock Pins PC6, PC7, PD6 PD6, PE6, PC6 Serial Port A PC7, PD7, PE7 PD7, PE7, PC7 Serial Port E...
  • Page 44: Programming Port

    The two startup-mode pins determine what happens after a reset—the Rabbit 5000 is either cold-booted or the program begins executing at address 0x0000. The status pin is used by Dynamic C to determine whether a Rabbit microprocessor is present. The status output has three different programmable functions: 1.
  • Page 45: Wi-Fi

    Industrial, Scientific, and Medical (ISM) band. It is configured and controlled by the Rabbit 5000 via a 3-wire serial data bus. The AL2236 contains the entire receiver, trans- mitter, VCO, PLL, and power amplifier necessary to implement an 802.11b/g radio.
  • Page 46 Table 5 pro- vides additional information on which channels are allowed in selected countries. Any attempt to operate a device outside the allowed channel range or power limits will void your regulatory approval to operate the device in that country. RabbitCore RCM5400W...
  • Page 47 The following regions have macros and region numbers defined for convenience. Table 5. Worldwide Wi-Fi Macros and Region Numbers Region Region Macro Channel Range Number Americas 1–11 IFPARAM_WIFI_REGION_AMERICAS IFPARAM_WIFI_REGION__MEXICO_ 1–11 (indoors) INDOORS Mexico IFPARAM_WIFI_REGION_MEXICO_ 9–11 (outdoors) OUTDOORS Canada 1–11 IFPARAM_WIFI_REGION_CANADA Europe, Middle East, 1–13 IFPARAM_WIFI_REGION_EMEA...
  • Page 48: Programming Cable

    The programming cable is used to connect the programming port (header J2) of the RCM5400W to a PC USB COM port. The programming cable converts the voltage levels used by the PC USB port to the CMOS voltage levels used by the Rabbit 5000. When the...
  • Page 49: Standalone Operation Of The Rcm5400W

    A program “runs” in either mode, but can only be downloaded and debugged when the RCM5400W is in the Program Mode. Refer to the for more information on the pro- Rabbit 5000 Microprocessor User’s Manual gramming port. 4.4.2 Standalone Operation of the RCM5400W Once the RCM5400W has been programmed successfully, remove the programming cable from the programming connector and reset the RCM5400W.
  • Page 50: Other Hardware

    4.5.2 Spectrum Spreader The Rabbit 5000 features a spectrum spreader, which helps to mitigate EMI problems. The spectrum spreader is on by default, but it may also be turned off or set to a stronger setting. The spectrum spreader settings may be changed through a simple configuration macro as shown below.
  • Page 51: Memory

    All RCM5400W modules also have 512K or 1MB of flash memory installed at U4 or U12. NOTE: Rabbit recommends that any customer applications should not be constrained by the sector size of the flash memory since it may be necessary to change the sector size in the future.
  • Page 52 RabbitCore RCM5400W...
  • Page 53: Chapter 5. Software Reference

    It runs on a Windows-based 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 RCM5400W. 5.1 More About Dynamic C Dynamic C has been in use worldwide since 1989.
  • Page 54 LCD display and keypad drivers. • Powerful language extensions for cooperative or preemptive multitasking • Loader utility program to load binary images into Rabbit targets in the absence of Dynamic C. • Provision for customers to create their own source code libraries and augment on-line help by creating “function description”...
  • Page 55: Dynamic C Function Calls

    The RCM5400W was designed to interface with other systems, and so there are no drivers written specifically for the Rabbit 5000 I/O. The general Dynamic C read and write func- tions allow you to customize the parallel I/O to meet your specific needs. For example, use WrPortI(PEDDR, &PEDDRShadow, 0x00);...
  • Page 56: Sram Use

    sample program shows you how to clear and write the con- USERBLOCK_CLEAR.C tents of the user block that you are using in your application (the calibration constants in the reserved area and the ID block are protected). 5.2.4 SRAM Use The RCM5400W module has a battery-backed data SRAM and a program-execution SRAM.
  • Page 57: Prototyping Board Function Calls

    The sample programs in the Dynamic C folder illustrate the use of SAMPLES\RCM5400W the function calls. Other generic functions applicable to all devices based on Rabbit microprocessors are described in the Dynamic C Function Reference Manual. 5.2.6.1 Board Initialization brdInit void brdInit(void);...
  • Page 58: Alerts

    5.2.6.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 RCM5400W will be in a low-power mode during this time. Once the timeout occurs, this function call will enable the normal power source.
  • Page 59: Upgrading Dynamic C

    Starting with Dynamic C version 10.40, which is included with the RCM5400W Develop- ment Kit, 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. Rabbit also offers for purchase the Rabbit Embedded Security Pack featuring the Secure Sockets Layer (SSL) and a specific Advanced Encryption Standard (AES) library.
  • Page 60 RabbitCore RCM4400W...
  • Page 61: Chapter 6. Using The Wi-Fi Features

    6. U SING THE EATURES 6.1 Introduction to Wi-Fi Wi-Fi, a popular name for 802.11b/g, refers to the underlying technology for wireless local area networks (WLAN) based on the IEEE 802.11 suite of specifications conforming to standards defined by IEEE. IEEE 802.11b describes the media access and link layer control for a 2.4 GHz implementation, which can communicate at a top bit-rate of 11 Mbits/s.
  • Page 62: Ad-Hoc Mode

    LAN such as an Ethernet. This works fine for a few devices that are statically configured to talk to each other, and no access point is needed. 6.1.3 Additional Information 802.11 Wireless Networking; published by O'Reilly Media, provides further information about 802.11b wireless networks. RabbitCore RCM5400W...
  • Page 63: Running Wi-Fi Sample Programs

    6.2 Running Wi-Fi Sample Programs In order to run the sample programs discussed in this chapter and elsewhere in this manual, 1. Your module must be plugged in to the Prototyping Board as described in Chapter 2, “Getting Started.” 2. Dynamic C must be installed and running on your PC. 3.
  • Page 64: Wi-Fi Setup

    UX12 RX43 UX14 RX97 RX59 RX75 RX49 RX55 RX57 RX73 CX27 VREF AGND CX25 CX23 RX77 RX79 JP25 UX16 Infrastructure Mode (via Ethernet connection) Ethernet Ethernet Infrastructure Mode (via wireless connection) Ad-Hoc Mode Figure 11. Wi-Fi Host Setup RabbitCore RCM5400W...
  • Page 65: What Else You Will Need

    6.2.2 What Else You Will Need Besides what is supplied with the RCM5400W Development Kit, you will need a PC with an available USB port to program the RCM5400W module. You will need either an access point for an existing Wi-Fi network that you are allowed to access and have a PC or note- book connected to that network (infrastructure mode), or you will need at least a PDA or PC with Wi-Fi to use the ad-hoc mode.
  • Page 66: Configuration Information

    NOTE: TCPCONFIG 0 is not supported for Wi-Fi applications. There are some other “standard” configurations for . Their values are docu- TCPCONFIG mented in the library. More information LIB\Rabbit4000\TCPIP\TCP_CONFIG.LIB is available in the Dynamic C TCP/IP User’s Manual. RabbitCore RCM5400W...
  • Page 67: Pc/Laptop/Pda Configuration

    6.2.3.2 PC/Laptop/PDA Configuration This section shows how to configure your PC or notebook to run the sample programs. Here we’re mainly interested in the PC or notebook that will be communicating wirelessly, which is not necessarily the PC that is being used to compile and run the sample program on the RCM5400W module.
  • Page 68 You will have set your wireless network name with the Wi-Fi channel macros for the ad- hoc mode as explained in Section 6.3, “Dynamic C Wi-Fi Configurations.” RabbitCore RCM5400W...
  • Page 69: Wi-Fi Sample Programs

    The country or region you select will automatically set the power and channel require- ments to operate the RCM5400W module. Rabbit recommends that you check the regulations for the country where your system incorporating the RCM5400W will be...
  • Page 70 The country or region you select will automatically set the power and channel require- ments to operate the RCM5400W module. Rabbit recommends that you check the regulations for the country where your system incorporating the RCM5400W will be deployed for any other requirements.
  • Page 71: Wi-Fi Operation

    Before you compile and run this sample program, check the TCP/IP configuration parameters, the IP address, and the SSID in the macros, which are reproduced below. #define TCPCONFIG 1 // #define WIFI_REGION_VERBOSE #define PING_WHO "10.10.6.1" #define _PRIMARY_STATIC_IP "10.10.6.170" #define IFC_WIFI_SSID "rabbitTest" Now compile and run this sample program.
  • Page 72 You may set up a Wi-Fi enabled laptop with the IP address in to get the pings. IPADDR_2 If you have two RCM5400W RabbitCore modules, they will ping each other, and the Dynamic C window will display the pings. STDIO RabbitCore RCM5400W...
  • Page 73 —initializes the RCM5400W and scans for other Wi-Fi devices that are • WIFISCAN.C operating in either the ad-hoc mode or through access points in the infrastructure mode. No network parameter settings are needed since the RCM5400W does not actually join an 802.11 network.
  • Page 74: Rcm5400W Sample Programs

    Before you compile and run this sample program, change to the host you PING_WHO want to ping. You may modify define to change the amount of time in PING_DELAY milliseconds between the outgoing pings. Uncomment the VERBOSE define to see the incoming ping replies. RabbitCore RCM5400W...
  • Page 75 —This program is similar to , but it also displays • PINGLED_STATS.C PINGLED.C receiver/transmitter statistics in the Dynamic C STDIO window. Before you compile and run this sample program, change to the host you PING_WHO want to ping. You may modify define to change the amount of time in PING_DELAY milliseconds between the outgoing pings.
  • Page 76 —This program demonstrates using the SMTP library to send an e-mail when • SMTP.C the S2 and S3 switches on the Prototyping Board are pressed. LEDs DS2 and DS3 on the Prototyping Board will light up when e-mail is being sent. RabbitCore RCM5400W...
  • Page 77: Dynamic C Wi-Fi Configurations

    6.3 Dynamic C Wi-Fi Configurations Rabbit has implemented a packet driver for the RCM5400W that functions much like an Ethernet driver for the Dynamic C implementation of the TCP/IP protocol stack. In addi- tion to functioning like an Ethernet packet driver, this driver implements a function call to access the functions implemented on the 802.11b/g interface, and to mask channels that...
  • Page 78 ) associated with the IFC_WIFI_WEP_KEYNUM macro (default ). One or more of the following additional macros must be defined as well. The default is for the keys to remain undefined. IFC_WIFI_WEP_KEY0_BIN IFC_WIFI_WEP_KEY0_HEXSTR IFC_WIFI_WEP_KEY1_BIN IFC_WIFI_WEP_KEY1_HEXSTR IFC_WIFI_WEP_KEY2_BIN IFC_WIFI_WEP_KEY2_HEXSTR IFC_WIFI_WEP_KEY3_BIN IFC_WIFI_WEP_KEY3_HEXSTR RabbitCore RCM5400W...
  • Page 79 "rabbitTest" "now is the time" Using a passphrase is rather slow. It takes a Rabbit 5000 more than 20 seconds to gen- erate the actual 256-bit key from the passphrase. If you use a passphrase and #define...
  • Page 80 It is also possible to redefine any of the above parameters dynamically using the ifcon- function call. Macros for alternative Wi-Fi configurations are provided with the fig() function call, and may be used to change the above default macros or ifconfig() configurations. RabbitCore RCM5400W...
  • Page 81: Configuring Tcp/Ip At Run Time

    6.3.2 Configuring TCP/IP at Run Time There is one basic function call used to configure Wi-Fi and other network settings — . See the Dynamic C TCP/IP User’s Manual, Volume 1 for more informa- ifconfig() tion about this function call. 6.3.3 Other Key Function Calls Remember to call after all the Wi-Fi parameters have been defined.
  • Page 82: Where Do I Go From Here

    6.4 Where Do I Go From Here? NOTE: If you purchased your RCM5400W or RCM5450W through a distributor or through a Rabbit partner, contact the distributor or partner first for technical support. If there are any problems at this point: •...
  • Page 83: Appendix A. Rcm5400W Specifications

    A. RCM5400W PPENDIX PECIFICATIONS Appendix A provides the specifications for the RCM5400W. OEM User’s Manual...
  • Page 84: Electrical And Mechanical Characteristics

    0.72 0.62 0.50 0.50 (13) (18) (16) (13) 2.85 (72) 1.84 (47) Figure A-1. RCM5400W Dimensions NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. All dimensions have a manufacturing tolerance of ±0.01" (0.25 mm). RabbitCore RCM5400W...
  • Page 85 It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM5400W in all directions when the RCM5400W is incorporated into an assembly that includes other printed circuit boards. An “exclusion zone” of 0.08" (2 mm) is recom- mended below the RCM5400W when the RCM5400W is plugged into another assembly.
  • Page 86 Pulse-Width Modulators 4 channels variable-phase or synchronized PWM with 16-bit counter 2-channel input capture can be used to time input signals from Input Capture various port pins 2-channel quadrature decoder accepts inputs Quadrature Decoder from external incremental encoder modules RabbitCore RCM5400W...
  • Page 87 Table A-1. RCM5400W Specifications (continued) Parameter RCM5400W RCM5450W 3.3 V.DC ±5% Power (pins unloaded) 625 mA @ 3.3 V while transmitting/receiving 175 mA @ 3.3 V while not transmitting/receiving Operating Temperature -30°C to +75°C Humidity 5% to 95%, noncondensing One RP-SMA antenna connector Connectors One 2 ×...
  • Page 88: Antenna

    Figure A-3. 0.28 (7.2) 0.39 (10.0) Figure A-3. RCM5400W Development Kit Dipole Antenna NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. All dimensions have a manufacturing tolerance of ±0.01" (0.25 mm). RabbitCore RCM5400W...
  • Page 89: Headers

    A.1.2 Headers The RCM5400W 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 Figure A-4 shows the layout of another board for the RCM5400W to be plugged into.
  • Page 90: Rabbit 5000 Microprocessor Dc Characteristics

    Stresses beyond those listed in Table A-3 may cause permanent damage. The ratings are stress ratings only, and functional operation of the Rabbit 5000 chip at these or any other conditions beyond those indicated in this section is not implied. Exposure to the absolute maximum rating conditions for extended periods may affect the reliability of the Rabbit 5000 chip.
  • Page 91: 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 100 MHz CPU clock with the clock doubler enabled and capacitive loading on address and data lines of less than 70 pF per pin.
  • Page 92 Figure A-5 shows a typical timing diagram for the Rabbit 5000 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...
  • Page 93 The maxi- mum shortening for a pair of clocks combined is shown in the table. Rabbit Semiconductor’s Technical Note TN227, Interfacing External I/O with Rabbit Microprocessor Designs...
  • Page 94: Jumper Configurations

    38 2–3 SMODE1 × 1–2 PE5 PE5 or SMODE0 Output on J1 pin 37 2–3 SMODE0 × 1–2 PE7 PE7 or STATUS Output on J1 pin 39 2–3 STATUS × 1–2 PE0 Reserved for future use. 2–3 A20 RabbitCore RCM5400W...
  • Page 95 Table A-7. RCM5400W Jumper Configurations (continued) Factory Header Description Pins Connected Default × 1–2 ≤ 1MB Flash memory size. 2–3 > 1MB Control disabled—Wi-Fi power × 1–2 supply is always on Wi-Fi power supply control. Control enabled so that the Wi-Fi 2–3 power supply is under microprocessor control...
  • Page 96 RabbitCore RCM5400W...
  • Page 97: Appendix B. Prototyping Board

    B. P PPENDIX ROTOTYPING OARD Appendix B describes the features and accessories of the Proto- typing Board, and explains the use of the Prototyping Board to demonstrate the RCM5400W and to build prototypes of your own circuits. The Prototyping Board has power-supply connec- tions 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 98: Introduction

    Area RX67 Mounting UX12 RX43 UX14 RX97 RX59 RX75 RX57 RX49 RX55 RX73 CX27 VREF AGND CX25 CX23 RX77 RX79 UX16 JP25 Analog User LEDs RCM5400W SMT Prototyping User Module Area Switches Extension Header Figure B-1. Prototyping Board RabbitCore RCM5400W...
  • Page 99: Prototyping Board Features

    B.1.1 Prototyping Board Features —A a 3-pin header is provided for connection to the power supply. Power Connection • Note that the 3-pin header is symmetrical, with both outer pins connected to ground and the center pin connected to the raw V+ input. The cable of the AC adapter provided with the North American version of the Development Kit is terminated with a header plug that connects to the 3-pin header in either orientation.
  • Page 100 • at 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 Rabbit- Core module. NOTE: No analog signals are available on the Prototyping Board with the RCM5400W RabbitCore module installed since no analog signals are available on the RCM5400W’s...
  • Page 101: 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 RX11 UX30 JP18 JP10...
  • Page 102: Power Supply

    Figure B-3. Prototyping Board Power Supply TIP: When you lay out your own power-supply circuit, place the switching voltage regu- lator as far away from the RCM5400W as possible to minimize RF noise, and use low- noise components such as a toroid coil. RabbitCore RCM5400W...
  • Page 103: Using The Prototyping Board

    RCM5400W. Two LEDs (DS2 and DS3) are connected to PB2 and PB3, and two switches (S2 and S3) are connected to PB4 and PB5 to demonstrate the interface to the Rabbit 5000 microprocessor. Reset switch S1 is the hardware reset for the RCM5400W.
  • Page 104 All signals from the RCM5400W module are available on header J2 of the Prototyping Board. The remaining ports on the Rabbit 5000 microprocessor are used for RS-232 serial communication. Table B-2 lists the signals on header J2 as configured by the brdInit() function call where applicable, and explains how they are used on the Prototyping Board.
  • Page 105: Adding Other Components

    B.4.1 Adding Other Components There are pads for 28-pin TSSOP devices, 16-pin SOIC devices, and 6-pin SOT devices that can be used for surface-mount prototyping with these devices. There are also pads that can be used for SMT resistors and capacitors in an 0805 SMT package. Each component has every one of its pin pads connected to a hole in which a 30 AWG wire can be soldered (standard wire wrap wire can be soldered in for point-to-point wiring on the Prototyping Board).
  • Page 106: Analog Features

    RS-232 serial communication protocol. Basically, the chip translates the Rabbit 5000’s signals to RS-232 signal levels. Note that the polarity is reversed in an RS-232 circuit so that a +3.3 V output becomes approxi- mately -10 V and 0 V is output as +10 V.
  • Page 107 RS-232 flow control on an RS-232 port is initiated in software using the serXflowcon- function call from , where is the serial port (C or D). The locations trolOn RS232.LIB of the flow control 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 108: Prototyping Board Jumper Configurations

    +5 V Current Measurement 1–2 Via trace or jumper Connected +3.3 V Current Measurement 1–2 Via trace or jumper Connected × TxD on header J4 1–2 PC0/TxD/LED DS2 PC0 to LED DS2 1–2 n.c. PC0 available on header J2 RabbitCore RCM5400W...
  • Page 109 Table B-4. RCM5400W 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 110 JP25 Thermistor Location 1–2 n.c. NOTE: Jumper connections JP3–JP10, JP12, JP14, JP16, JP18, JP23, and JP24 are made using 0 Ω surface-mounted resistors. Jumper connections JP11, JP13, JP15, JP17, and JP19–JP22 are made using 470 Ω surface-mounted resistors. RabbitCore RCM5400W...
  • Page 111: Appendix C. Power Supply

    C.1.1 Battery-Backup The RCM5400W does not have a battery, but there is provision for a customer-supplied battery to back up the data SRAM and keep the internal Rabbit 5000 real-time clock running. Header J1, shown in Figure C-1, allows access to the external battery. This header makes it possible to connect an external 3 V power supply.
  • Page 112: Battery-Backup Circuit

    Prototyping Board or motherboard since that is where the backup battery would be located. Rabbit’s Technical Note TN235, External 32.768 kHz Oscillator Circuits, provides addi- tional information about the current draw by the real-time clock oscillator circuit. C.1.2 Battery-Backup Circuit Figure C-2 shows the battery-backup circuit.
  • Page 113: Reset Generator

    The +3.3 V supplied to the RCM5400W via header J1 powers most of the onboard circuits. In addition, there is a +1.8 V DC linear regulator that provides the core voltage to the Rabbit 5000 microprocessor. Other linear regulators supply the additional voltage levels needed by the Wi-Fi circuits.
  • Page 114 RabbitCore RCM4400W...
  • Page 115: Index

    JP11 (LN0 buffer/filter to protected variables .... 50 function calls ..... 51 RCM5400W) .... 103 Rabbit Embedded Security brdInit() ......51 JP12 (PB2/LED DS2) . 103 Pack ......5, 53 bus loading ......85 JP13 (LN1 buffer/filter to regulatory compliance ..
  • Page 116 Switch S3) ....103 prototyping area ....98 POWERDOWN.C ..70 RCM5400W ......88 specifications .....96 SMTP.C ......70 JP1 (FPGA chip select, PE6, use of Rabbit 5000 signals 98 WIFI_SCAN.C ..63, 67 or SMODE1 output on J1) WIFI_SCAN ASSOCI- ........88 ATE.C ......67 JP2 (FPGA interrupt output, WIFIDHCPORTSTATIC.C...
  • Page 117 ....83 circuit description ..... 39 serial communication drivers Prototyping Board ..... 96 function calls ........49 Rabbit 5000 DC characteris- ifconfig() ....71, 75 Wi-Fi configuration at tics ......... 84 ifconfig(IF_WIFI0,…) .. 75 compile time ....70 Rabbit 5000 timing diagram ifdown(IF_WIFI0) ..
  • Page 118 RabbitCore RCM4400W...
  • Page 119: Schematics

    CHEMATICS 090-0239 RCM5400W Schematic www.rabbit.com/documentation/schemat/090-0266.pdf 090-0230 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0230.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. OEM User’s Manual...

Table of Contents