20-101-1265 Rabbit Semiconductor, 20-101-1265 Datasheet

MODULE MINICORE RCM5600W

20-101-1265

Manufacturer Part Number
20-101-1265
Description
MODULE MINICORE RCM5600W
Manufacturer
Rabbit Semiconductor
Series
MiniCore™r
Datasheet

Specifications of 20-101-1265

Frequency
2.4GHz
Modulation Or Protocol
802.11 b/g
Applications
General Purpose
Voltage - Supply
3.15 V ~ 3.45 V
Current - Receiving
625mA
Current - Transmitting
625mA
Data Interface
Connector, Mini PCI express
Memory Size
1 MB Flash, 1MB SRAM
Antenna Connector
U.FL
Operating Temperature
-30°C ~ 55°C
Package / Case
Module
Wireless Frequency
2.4 GHz
Security
64/128 bit WEP
Operating Voltage
3.3 V
Antenna
U.FL Connector
Operating Temperature Range
- 30 C to + 55 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Power - Output
-
Sensitivity
-
Data Rate - Maximum
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
Rabbit 5000
Other names
316-1174
MiniCore RCM5600W
C-Programmable Wi-Fi Core Module
OEM User’s Manual
019–0174_F

Related parts for 20-101-1265

20-101-1265 Summary of contents

Page 1

... MiniCore RCM5600W C-Programmable Wi-Fi Core Module OEM User’s Manual 019–0174_F ...

Page 2

... MiniCore RCM5600W User’s Manual Part Number 019-0174 • Printed in U.S.A. ©2010 Digi International Inc. • All rights reserved. Digi International reserves the right to make changes and improvements to its products without providing notice. ® ® Rabbit , MiniCore , and Dynamic C ® Wi- registered trademark of the Wi-Fi Alliance. ® ...

Page 3

... Japan ............................................................................................................................................9 Chapter 2: Getting Started 2.1 Install Dynamic C ............................................................................................................................... 11 2.2 Hardware Connections........................................................................................................................ 12 2.2.1 Step 1 — Prepare the Interface Board for Development ..........................................................12 2.2.2 Step 2 — Install Module on Interface Board ............................................................................13 2.2.3 Step 3 — Connect Antenna .......................................................................................................14 2.2.4 Step 4 — Connect USB Cable ..................................................................................................14 2.3 Run a Sample Program ....................................................................................................................... 16 2 ...

Page 4

Standalone Operation of the RCM5600W ............................................................................... 37 4.5 Other Hardware .................................................................................................................................. 38 4.5.1 Clock Doubler .......................................................................................................................... 38 4.5.2 Spectrum Spreader .................................................................................................................... 38 4.6 Memory .............................................................................................................................................. 39 4.6.1 SRAM ....................................................................................................................................... 39 4.6.2 Flash Memory ........................................................................................................................... 39 4.6.3 Encryption RAM Memory ...

Page 5

... E.3 Using the Serial Communication Accessory Board ......................................................................... 113 E.3.1 Configuration ..........................................................................................................................114 E.3.2 Add Additional Boards ...........................................................................................................116 Appendix F: Power Supply F.1 Power Supplies ................................................................................................................................. 117 F.1.1 Battery Backup ........................................................................................................................118 F.1.2 Battery-Backup Circuit ...........................................................................................................119 F.1.3 Reset Generator .......................................................................................................................119 F.1.4 Onboard Power Supplies .........................................................................................................120 93 101 109 117 ...

Page 6

...

Page 7

... PCI Express socket on the motherboard the RCM5600W is mounted on. The RCM5600W receives its +3.3 V power from the motherboard on which it is mounted. The RCM5600W can interface with other CMOS-compatible digital devices through the motherboard. OEM User’s Manual 1. I NTRODUCTION 1 ...

Page 8

... SDLC/HDLC serial ports. • Airoha single-chip 802.11b/g transceiver • External I/O bus can be configured for 8 data lines, 8 address lines (shared with parallel I/O lines), and I/O read/write • 1MB SRAM and 1MB serial flash memory (4MB serial flash memory on the RCM5650W) • ...

Page 9

... Competitive pricing when compared with the alternative of purchasing and assembling individual components. • Easy C-language program development and debugging • Rabbit Field Utility to download compiled Dynamic C .bin files. • Generous memory size allows large programs with tens of thousands of lines of code, and substantial data storage. OEM User’s Manual 3 ...

Page 10

... Step 1 — Install Dynamic C Before doing any development, you must install Dynamic C. Insert the CD from the Development Kit in your PC’s CD-ROM drive. If the installation does not auto-start, run the setup.exe program in the root directory of the Dynamic C CD. Install any Dynamic C modules after you install Dynamic C . ...

Page 11

... Rabbit sales representative or authorized distributor 1.3.5 Online Documentation The online documentation is installed along with Dynamic C, and an icon for the docu- mentation menu can be placed on the workstation’s desktop. Double-click this icon to reach the menu. If the icon is missing, use your browser to find and load the folder, found in the Dynamic C installation folder ...

Page 12

... Reorient or relocate the receiving antenna. • 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. ...

Page 13

... FCC identification number electronically. This exterior label can use wording such as the following: “Contains Transmitter Module FCC ID: MCQ-MCWIFI” or “Contains FCC ID: MCQ-MCWIFI.” Any similar wording that expresses the same meaning may be used. The following caption must be included with documentation for any device incorporating the RCM5600W MiniCore module. Caution — ...

Page 14

Industry Canada Labeling RCW5600W This Class B digital apparatus complies with Canadian standard ICES-003. Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada. RCW5650W This Class B digital apparatus complies with Canadian standard ...

Page 15

... Europe The marking shall include as a minimum: • the name of the manufacturer or his trademark; • the type designation; • equipment classification, (see below). Receiver Class Highly reliable SRD communication media, e.g., serving human life 1 inherent systems (may result in a physical risk to a person). ...

Page 16

MiniCore RCM5600W ...

Page 17

... Dynamic C. If you have not yet installed Dynamic C version 10.50 (or a later version now by inserting the Dynamic C CD from the Development Kit in your PC’s CD-ROM drive. If autorun is enabled, the CD installation will begin automatically. If autorun is disabled or the installation does not start, use the Windows or Windows Disk Explorer to launch The installation program will guide you through the installation process ...

Page 18

... Remember to use ESD protection regardless of whether you are working with the RCM5600W module on the Interface Board or in your own OEM application. 2.2.1 Step 1 — Prepare the Interface Board for Development Insert a short plastic standoff supplied from the Development Kit in one of the corner holes from the bottom of the Interface Board, then secure it with a long plastic standoff from above as shown in Figure 2 ...

Page 19

... Step 2 — Install Module on Interface Board Position the RCM5600W module with the edge connectors facing the mini PCI Express socket J1A at an angle as shown in Figure 3 below. Insert the edge connectors into the mini PCI Express socket J1A, then press down on the opposite edge of the RCM5600W module to snap it into place in holder J1B ...

Page 20

... P1 on the RCM5600W, and attach the antenna to the antenna RP-SMA connector. 2.2.4 Step 4 — Connect USB Cable The USB cable connects the RCM5600W to the PC running Dynamic C to download pro- grams and to monitor the RCM5600W module during debugging. It also supplies power to the Interface Board and the RCM5600W via the USB interface ...

Page 21

... Your PC should recognize the new USB hardware, and the LEDs next to the USB connec- tor on the Interface Board 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 USB Programming Cable\WinXP_2K the USB drivers ...

Page 22

... Channel—the channel the access point is on (1–11). • Signal—the signal strength of the access point. • MAC—the hardware (MAC) address of access point. • Access Point SSID—the SSID the access point is using. 16 menu. Select the “Communications” tab ...

Page 23

... AC adapter from dialog on the “Communications” tab in the Dynamic C menu. Select a slower Max download baud rate. Click dialog on the “Communications” tab in the Dynamic C menu. Choose a lower debug baud rate. Click , check that the COM port OK to save ...

Page 24

... If the sample program ran fine, you are now ready other sample programs and to develop your own applications. The source code for the sample programs is provided to allow you to modify them for your own use. The RCM5600W User’s Manual also provi des complete hardware reference information for the RCM5600W, the Interface Board, the Proto- typing Board, and the accessory boards in the Deluxe Development Kit. For advanced development topics, refer to the Dynamic C User’ ...

Page 25

... Dynamic application development tool. NOTE: The sample programs assume that you have at least an elementary grasp of ANSI C. If you do not, see the introductory pages of the Dynamic C User’s Manual for a sug- gested reading list. In order to run the sample programs discussed in this chapter and elsewhere in this manual, 1. Your RCM5600W must be installed on the Interface Board as described in Chapter 2, “ ...

Page 26

... CAUTION: Do not jumper pins 1–3 on header JP1 on the Inter- face Board. —demonstrates the use of costatements to flash LED DS1 on the Inter- • FLASHLED.C face Board. PD0 on the RCM5600W is used to drive the LED. —monitors switch S1 and LED DS1 on the Interface Board. LED • ...

Page 27

... Digital I/O accessory board to the antenna bracket. Figure 6. Install Digital I/O Accessory Board Pins 1–2, 3–4, 5–6, and 7–8 on headers JP5 and JP8 on the Digital I/O accessory board must be jumpered. Pins 2–4 and 3–5 on header JP7 on the Digital I/O accessory board must also be jumpered ...

Page 28

... SERIALTOSERIAL.C sory board and lights LEDs DS1–DS4 when the corresponding pushbutton switch is pressed. LEDs DS1–DS2 on the Digital I/O accessory board are controlled by PA4–PA7, and switches S1–S4 are controlled by PB4–PB7 respectively. The sample program sends messages from Serial Port B to Serial Port C to indicate that a switch was pressed. ...

Page 29

... Chapter 4 describes the hardware components and principal hardware subsystems of the RCM5600W. Appendix A, “RCM5600W Specifica- tions,” provides complete physical and electrical specifications. Figure 7 shows the Rabbit-based subsystems designed into the RCM5600W. Figure 7. RCM5600W Subsystems OEM User’s Manual 4. H ARDWARE R EFERENCE ...

Page 30

RCM5600W Digital Inputs and Outputs Figure 8 shows the RCM5600W pinouts for the edge connector. The edge connectors are designed to interface with a 52-pin mini PCI Express socket. 24 Figure 8. RCM5600W Pinouts MiniCore RCM5600W ...

Page 31

... Figure 9 shows the use of the Rabbit 5000 microprocessor ports in the RCM5600W mod- ules. Figure 9. Use of Rabbit 5000 Ports The ports on the Rabbit 5000 microprocessor used in the RCM5600W are configurable, and so the factory defaults can be reconfigured. Table 2 lists the Rabbit 5000 factory defaults and the alternate configurations. OEM User’s Manual 25 ...

Page 32

... LNK 8 ACT 9 PE0 Input/Output 10 PE1 Input/Output 11 PE2 Input/Output 12 PE3 Input/Output 13 PE5 Input/Output 26 Alternate Use I/O Strobe I0 A20 Timer C0 TCLKF INT0 QRD1B I/O Strobe I1 A21 Timer C1 RXD/RCLKF INT1 QRD1A Input Capture I/O Strobe I2 A22 Timer C2 TXF DREQ0 QRD2B I/O Strobe I3 A23 Timer C3 ...

Page 33

... Input/Output 15 PE7 Input/Output 16 /RESET_IN Input 17 PD0 Input/Output 18 PD1 Input/Output 19 PD2 Input/Output 20 PD3 Input/Output OEM User’s Manual Default Use Alternate Use I/O Strobe I6 PWM2 TXE DREQ0 I/O Strobe I7 PWM3 RXA/RXE/SCLKC DREQ1 Input Capture I/O Strobe I0 Timer C0 D8 INT0 SCLKD/TCLKF QRD1B IA6 ...

Page 34

Table 2. RCM5600W Pinout Configurations (continued) Pin Pin Name Default Use 21 PC0 Input/Output 22 PC1 Input/Output 23 PC2 Input/Output 24 PC3 Input/Output 25 PC4 Input/Output 26 PC5 Input/Output 27 PB0 Input/Output 28 /RESET Reset output 29 PB2 Input/Output 30 ...

Page 35

... PC6 Input/Output 49 SMODE Input 50 PC7 Input/Output 51 GND 52 +3 n.c. = Not Connected. OEM User’s Manual Default Use Alternate Use /SCS External I/O Address IA4 /SLAVATN External I/O Address IA5 Slave port data bus (SD0–SD7) External I/O data bus (ID0–ID7) ...

Page 36

... Parallel Port A can also be used as an external I/O data bus to isolate external I/O from the main data bus. Parallel Port B pins PB2–PB7 can also be used as an external address bus. When using the external I/O bus for any other reason, you must add the following line at the beginning of your program ...

Page 37

... RCM5600W is operating in the Run Mode. Serial Port B, shared by the RCM5600W module’s serial flash and by the A/D converter in the Wi-Fi circuit, is set clocked serial port. Since this serial port is set up for syn- chronous serial communication, you will lose the peripheral functionality if you try to use the serial port in the asynchronous mode ...

Page 38

... Programming Port The RCM5600W programming port is accessed via the USB connector (J5) on the Inter- face Board. The programming port uses the Rabbit 5000’s Serial Port A for communica- tion. Dynamic C uses the programming port to download and debug programs. The programming port is also used to cold-boot the Rabbit 5000 on the RCM5600W after a reset ...

Page 39

... VCO, PLL, and power amplifier necessary to implement an 802.11b/g radio. The AL2236 can transmit and receive data 11Mbits/s in the 802.11b mode and Mbits/s in the 802.11g mode. It supports 802.11b/g channels 1–13 (2.401 GHz to 2.472 GHz). Channel 14 is not used. The data modulate the channel carrier in such a way produce a spread spectrum signal within the 22 MHz channel bandwidth of the selected channel ...

Page 40

... Many countries specify the channel range and power limits for Wi-Fi devices operated within their borders, and these limits are set automatically in the RCM5600W in firmware according to the country or region. For example, only channels 1–11 are authorized for use in the United States or Canada, and so channels 12 and 13 are disabled. See Section 6.2.4.1 for additional information and sample programs demonstrating how to configure an end device to meet the regulatory channel range and power limit requirements ...

Page 41

... The RP-SMA connector must be firmly attached to a bracket or soldered to a grounded location. If you are using a bracket, it must make firm contact with a ground such as the plated, grounded mounting hole provided on the Interface Board. OEM User’s Manual Region Macro Number ...

Page 42

... V. This happens when the RCM5600W is installed on the Interface Board, and pins 1–2 on header JP1 on the Interface Board are jumpered. When the SMODE pins are pulled low by removing the jumpers from pins 1–2 on header JP1 on the Interface Board, the Rabbit 5000 will operate in the Run Mode once the RCM5600W is reset ...

Page 43

... RCM5600W. The RCM5600W may be reset by cycling power off/ pressing the RESET button on the Interface Board. The jumper across pins 1–2 on header JP1 on the Interface Board must be removed in order for the RCM5600W to operate in the Run Mode after it is reset. The RCM5600W module may now be removed from the Inter- face Board for end-use installation ...

Page 44

... Other Hardware 4.5.1 Clock Doubler The RCM5600W takes advantage of the Rabbit 5000 microprocessor’s internal clock dou- bler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emissions. The 73.73 MHz frequency specified for the RCM5600W model is generated using a 36.864 MHz crystal. ...

Page 45

... RCM5600W boards have 1MB of SRAM installed at U10. 4.6.2 Flash Memory RCM5600W boards have 1MB of serial flash memory installed at U4. The RCM5650W has 4MB of serial flash memory installed at U4. A “user block” area is defined to store persistent data. The function calls and Block() readUserBlock() for additional information ...

Page 46

MiniCore RCM5600W ...

Page 47

... Dynamic C development environment. Debugging occurs while the application runs on the target. Alternatively, users can compile a program to an image file for later loading. Dynamic C runs on PCs under Windows NT and later— see Rabbit’s Technical Note TN257, Running Dynamic C additional information if you are using a Dynamic C under Windows Vista ...

Page 48

... Standard debugging features:  Breakpoints—Set breakpoints that can disable interrupts.  Single-stepping—Step into or over functions at a source or machine code level, µC/OS-II aware.  Code disassembly—The disassembly window displays addresses, opcodes, mnemonics, and machine cycle times. Switch between debugging at machine-code level and source-code level by simply opening or closing the disassembly window.  ...

Page 49

... For more information, see the Dynamic C Function Reference Manual and Rabbit Semiconductor’s Technical Note TN213, Rabbit Serial Port Software, both included with the online documentation. ...

Page 50

Serial Flash Memory Use The RCM5600W module has a serial flash memory that contains the user block and stores the application program. Two function calls are provided to work with the serial boot flash. These function calls are in ...

Page 51

... SPI port is being used by device n if more than _SPI_MAXTIME milliseconds elapse while waiting for the SPI port to become available, one of the following two runtime errors will occur: ERR_SPI_MUTEX_ERROR (when using µC/OS-II) or -ETIME (if not using µC/OS-II). OEM User’s Manual sbfWriteFlash 45 ...

Page 52

... Pay attention to the instructions associated with the user block function calls in the Dynamic C LIB\Rabbit4000\BIOSLIB\IDBLOCK.LIB library. 5.2.5 Wi-Fi Drivers Complete information on the Wi-Fi libraries and function calls is provided in Chapter 6. Additional information on TCP/IP is provided in the Dynamic C TCP/IP User’s Manual the Dynamic C SAMPLES\USERBLOCK ...

Page 53

... Pins PB0, PB1, PC6, PC7, PD4, PD7, and PE4 are configured separately by the BIOS and associ- ated libraries. Parallel port H is configured automatically as part of the 16-bit memory setup, and cannot be used as a general purpose I/O port. RETURN VALUE None. OEM User’s Manual LIB\Rabbit4000\RCM5xxx\RCM56xxW.LIB folder illustrate the use of SAMPLES\RCM5600W brdInit ...

Page 54

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/ 5.3.1 Add-On Modules Starting with Dynamic C version 10.40, Dynamic C includes the popular µC/OS-II real- time ...

Page 55

... PCI, PCMCIA, CompactFlash, USB and SD/MMC interfaces, and Wi-Fi devices such as Web-based cameras and print servers. 802.11b/g can operate in one of two modes—in a managed-access mode (BSS), called an infrastructure mode unmanaged mode (IBSS), called the ad-hoc mode. The 802.11 standard describes the details of how devices access each other in either of these modes ...

Page 56

Commands issued to the chip set in the interface allow a host program to override the default configurations and execute functions implemented on the interface cards, for example, scanning for hosts ...

Page 57

... 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 Interface Board as described in Chapter 2, “Get- ting Started.” 2. Dynamic C must be installed and running on your PC. 3. The USB cable must connect the USB connector on the Interface Board to your PC. ...

Page 58

... Wi-Fi Setup Figure 12 shows how your development setup might look once you’re ready to proceed. 52 Figure 12. Wi-Fi Host Setup MiniCore RCM5600W ...

Page 59

... USB port to program the RCM5600W module. You will need either an access point for an existing Wi-Fi network that you are allowed to access and have 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. OEM User’s Manual 53 ...

Page 60

... FIG 5 or TCPCONFIG 1 #define TCPCONFIG 5 NOTE: TCPCONFIG 0 is not supported for Wi-Fi applications. There are some other “standard” configurations for mented in the LIB\Rabbit4000\TCPIP\TCP_CONFIG.LIB is available in the Dynamic C TCP/IP User’s Manual. 54 library. This macro "255.255.255.0" "10.10.6.1" "10.10.6.1" (no DHCP) and TCPCONFIG 1 at the beginning of your program. ...

Page 61

... 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 RCM5600W module. ...

Page 62

... Connection program is running, you will be able to select the network from a list of available networks. 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.” 56 tab, and check . Now click on ...

Page 63

... The sample programs in Section 6.2.4.1 show how to set up the country- or region-specific attributes, but do not show the basic setup of a wireless network. The sample programs in Section 6.2.4.2 show the setup and operation of a wireless network — the sample program is ideal to demonstrate that the RCM5600W has been hooked up correctly and that the Wi-Fi setup is correct so that an access point can be found ...

Page 64

... RCM5600W will be deployed for any other requirements. 58 —demonstrates how the multi-domain options from the #define WIFI_REGION_VERBOSE —demonstrates how the region or country can be set at #define IFC_ STDIO window will dis- win- ...

Page 65

... The Dynamic C VERBOSE window will then display a menu that allows you to complete the configuration of the user interface. 6.2.4.2 Wi-Fi Operation —demonstrates the runtime selection of a static IP configura- • WIFIDHCPORTSTATIC.C tion or DHCP. The SAMPLES\TCPIP\DHCP.C ples of using DHCP with your application ...

Page 66

... KEY_1 "0123456789abcdef0123456789" #define IFC_WIFI_SSID AP_0 #define _PRIMARY_STATIC_IP MY_ADDRESS_0 Modify the access point names and keys to match your access points and network. —sends out a series of pings to a RabbitCore or MiniCore module on • WIFIPINGYOU.C an ad-hoc Wi-Fi network. This sample program uses some predefined macros. The first macro specifies the default TCP/IP configuration from the Dynamic C library ...

Page 67

... Before you run this sample program, configure the Dynamic C library and your TCPCONFIG 1. Use macro definitions in the “Defines” tab in the Dynamic C Options > Project Options menu to modify any parameter settings. If you are not using DHCP, set the IP parameters to values appropriate to your network. ...

Page 68

... IFC_WIFI_SSID "rabbitTest" The next macro specifies a suitable pre-shared key to use instead of the passphrase. The key may be entered either as 64 hexadecimal digits ASCII string characters. Authentication should be set to “open system,” which basically means that knowing the key is sufficient to allow access. #define IFC_WIFI_WPA_PSK_HEXSTR \ " ...

Page 69

... Specify the CCMP cypher suite, and enter a suitable pre-shared key. The key may be entered either as 64 hexadecimal digits ASCII string characters. Authentication should be set to “open system,” which basically means that knowingt the key is sufficient to allow access. TIP: There is a good chance of typos since the key is long. First, enter the key in this sample program macro, then copy and paste it to your access point ...

Page 70

... Once you compile and run this sample program, LED DS1 on the Interface Board will go on with a brief toggle off when a ping is sent, and the LED will go off for a longer duration when a ping is received. —This program demonstrates using the SMTP library to send an e-mail when • SMTP.C the S1 switch on the Interface Board is pressed ...

Page 71

... Digital I/O accessory board to the antenna bracket. Figure 13. Install Digital I/O Accessory Board Pins 1–2, 3–4, 5–6, and 7–8 on headers JP5 and JP8 on the Digital I/O accessory board must be jumpered. Pins 2–4 and 3–5 on header JP7 on the Digital I/O accessory board must also be jumpered. ...

Page 72

... BROWSELED.C Four “device LEDs” are created along with four buttons to toggle them. Users can use their Web browser to change the status of the lights. The DS1, DS2, DS3, and DS4 LEDs on the Digital I/O accessory board will match those on the Web page. As long as ...

Page 73

... Figure 14. Install Serial Communication Accessory Board Pins 1–2, 3–4, 5–6, and 7–8 on header JP5 on the Serial Communication accessory board must be jumpered. Pins 1–2 and 3–4 on header JP7 on the Serial Communication acces- sory board must also be jumpered. ...

Page 74

Each serial port can be associated with a specific TCP port. The Rabbit will listen on each of these TCP ports for a connection, which will then be associated with a specific serial port. Data will then be shuttled between ...

Page 75

... The use of quotation marks in the examples described in this chapter is important since the absence of quotation marks will be flagged with warning messages when encrypted librar- ies are used. Wi-Fi Parameters • Access Point SSID— IFC_WIFI_SSID the macro to a string for the SSID of the access point in the infra- IFC_WIFI_SSID structure (BSS) mode, or the SSID of the ad-hoc network in the ad-hoc (IBSS) mode ...

Page 76

... The following encryption options are available. IFPARAM_WIFI_ENCR_NONE — no encryption is used. • IFPARAM_WIFI_ENCR_ANY — any type of encryption is used. • IFPARAM_WIFI_ENCR_WEP — use WEP encryption. You will need to define at least • one WEP key (see below). IFPARAM_WIFI_ENCR_TKIP — use TKIP or WPA encryption. You will need to • ...

Page 77

... IFC_WIFI_WPA_PSK_HEXSTR \ "57A12204B7B350C4A86A507A8AF23C0E81D0319F4C4C4AE83CE3299EFE1FCD27" is valid for the SSID "rabbitTest" 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 WIFI_VERBOSE_PASSPHRASE corresponding to that passphrase and SSID. • Authentication algorithm— ...

Page 78

... Type “TCPCONFIG” in the Function Search field, and hit <ctrl-H> <Enter> . Scroll down to the section on “Wi-Fi Configuration.” The Dynamic C TCP/IP User’s Manual.(Volume 1) provides additional information about these macros and Wi-Fi also possible to redefine any of the above parameters dynamically using the function call ...

Page 79

... 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 ...

Page 80

... Use the Technical Support e-mail form at www.rabbit.com/support/. If the sample programs ran fine, you are now ready to go on. An Introduction to TCP/IP and the Dynamic C TCP/IP User’s Manual.provide background and reference information on TCP/IP, and are available on the CD and on our Web site ...

Page 81

... Appendix A provides the specifications for the RCM5600W. OEM User’s Manual A A. RCM5600W PPENDIX S PECIFICATIONS 75 ...

Page 82

A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM5600W and RCM5650W. Figure A-1. RCM5600W and RCM5650W Dimensions 76 MiniCore RCM5600W ...

Page 83

... It is recommended that you allow for an “exclusion zone” of 0.08" (2 mm) around the RCM5600W top and bottom and 0.04" (1 mm) around the three non-connector edges when the RCM5600W is incorporated into an assembly that includes other printed circuit boards. This “exclusion zone” that you keep free of other components and boards will allow for sufficient air flow, and will help to minimize any electrical or electromagnetic interference between adjacent boards. Figure A-2 shows this “ ...

Page 84

... I/0 lines configurable with four layers of General-Purpose I/O Additional Inputs Additional Outputs External I/O Bus 6 high-speed, CMOS-compatible ports: • Serial Ports • Serial Rate Slave port allows the RCM5600W to be used as an intelligent Slave Interface peripheral device slaved to a master processor Real-Time Clock Timers Watchdog/Supervisor ...

Page 85

... Connectors Board Size Typical Average Antenna Output Power Compliance OEM User’s Manual RCM5600W 3. (min.) – 3. (max.) 625 mA @ 3.3 V while transmitting/receiving 3.3 V while not transmitting/receiving –30°C to +55° 95%, noncondensing Edge connectors for interface with 52-pin mini PCI Express socket 1.20" × 2.00" × 0.40" ...

Page 86

... The RCM5600W is mounted on the Interface Board via a mini PCI Express connector and a corresponding locking latch connector. These are offered by manufacturers as a matched set, although in some cases different manufacturer’s parts may be interchange- able. Table A-2 lists the recommended parts for the mini PCI Express connector and the locking latch connector used for the Interface Board ...

Page 87

... Follow the PCB design and layout recommendations and considerations provided by the manufacturer for the connector and latch that you select. The RCM5600W may also be mounted with standoffs instead of a latch connector — this is the type of mounting recommended for the RCM5600W to maximize both the vibration resistance and the ground connections via the standoffs between the RCM5600W and the board it is mounted on ...

Page 88

... The Rabbit 5000 Microprocessor User’s Manual , provides complete specifications and timing diagrams for the Rabbit 5000 mentation microprocessor. Rabbit’s Technical Note TN227, Interfacing External I/O with Rabbit Microprocessor Designs which is also included with the online documentation, contains suggestions for , interfacing I/O devices to the Rabbit 5000 microprocessors ...

Page 89

... PPENDIX Appendix B describes the features and accessories of the Inter- face Board, and explains the use of the Interface Board to dem- onstrate the RCM5600W. The Interface Board has power-supply connections and a USB interface to program the RCM5600W. OEM User’s Manual B. I NTERFACE B OARD ...

Page 90

B.1 Introduction The Interface Board included in the Development Kit makes it easy to connect an RCM5600W module to a power supply and a PC workstation for development. The Interface Board is shown below in Figure B-1, with its main ...

Page 91

... One LED is connected to PD0 on the RCM5600W module, and may be driven as an output indicator by sample applications. OEM User’s Manual —The raw DC voltage is routed to a 3.3 V linear regulator. pin. Pressing the switch forces a hardware reset of the system. —The Interface Board provides a 52-pin mini PCI Express ...

Page 92

... Maximum Current Draw (including user-added circuits) Other Connectors Standoffs/Spacers 86 Specification 2.50" × 3.75" × 0.60" (64 mm × × 15 mm) –40°C to +85° 95%, noncondensing + +3 nominal 750 mA max. for USB supply, 1.5 A for separate power supply One 2 × 25 IDC header sockets, 0.1" pitch, ...

Page 93

... SMT header socket with a 0.1" pin spacing. Figure B-3 shows the layout of another board to be plugged into the Interface Board — this footprint is identical for the Interface Board and the two accessory boards. The values are relative to the mounting hole ...

Page 94

... A separate power supply is required whenever the Interface Board is not connected to the PC. A jumper on header JP2 controls the current limiting applied to the power drawn via the mini USB connector — the current is nominally limited to 700 mA when a jumper is installed (default), and is nominally limited to 500 mA when no jumper is installed. 88 ...

Page 95

... The Interface Board provides the user with RCM5600W connection points brought out con- veniently to header socket J2. Other boards such as the Prototyping Board or the accessory boards from the Deluxe Development Kit can be plugged into header socket J2. The pinouts for header socket J2 are shown in Figure B-5. Figure B-5. Interface Board Pinout OEM User’s Manual 89 ...

Page 96

... When additional boards are installed, the board-to-board spacing is 0.7" (17.8 mm). Multiple boards should be installed in this sequence from bottom to top. • Interface Board with RCM5600W installed. • Prototyping Board. • Serial Communication accessory board. • Digital I/O accessory board. ...

Page 97

... The RCM5600W will operate in Run Mode when these pins are not jumpered. OEM User’s Manual Pins Connected SMODE pins pulled up 1–2 * (Programming Mode) 3–4 Reserved for future use 5–6 LED DS1 connected 7–8 Switch S1 connected 1–2 Nominal 700 mA n.c. Nominal 500 mA Factory Default × ...

Page 98

MiniCore RCM5600W ...

Page 99

... Appendix C describes the features and accessories of the Proto- typing Board, and explains the use of the Prototyping Board to build prototypes of your own circuits. The Prototyping Board mounts on the Interface Board from which it receives its power and signals. OEM User’s Manual C. P ROTOTYPING B OARD ...

Page 100

... Figure C-1, with its main features identified. C.1.1 Prototyping Board Features Power Connection —Power is supplied to the Prototyping Board via the RCM5600W • header socket connections. —The power LED lights whenever power is connected to the Prototyping • Power LED Board. • Module Extension Headers duplicated below header J2. Developers can solder wires directly into the appropriate holes, or, for more flexible development × ...

Page 101

... C.2 Mechanical Dimensions and Layout Figure C-2 shows the mechanical dimensions and layout for the Prototyping Board. Figure C-2. Prototyping Board Dimensions OEM User’s Manual 95 ...

Page 102

... Prototyping Area Connectors Standoffs/Spacers 96 Specification 2.50" × 3.75" × 0.52" (64 mm × × 13 mm) –40°C to +85° 95%, noncondensing +3 1.7" × 2.7" (40 mm × 70 mm) throughhole, 0.1" spacing, additional space for SMT components Two 2 × 25 IDC header sockets, 0.1" pitch (a 2 × ...

Page 103

... J12 are 2 × 25 SMT header sockets with a 0.1" pin spacing. Figure C-3 shows the layout of another board to be plugged into the Interface Board — this footprint is identical for the Prototyping Board and the two accessory boards. The values are relative to the mounting hole ...

Page 104

... The holes in the prototyping area are spaced at 0.1" (2.5 mm). +3.3 V and GND traces run along the left edge of the Prototyping Board for easy access. Small to medium circuits can be prototyped using point-to-point wiring with AWG wire between the prototyping area, the +3.3 V and GND traces, and the surrounding area where surface-mount compo- nents may be installed ...

Page 105

... Insert additional plastic standoffs/connectors as shown to hold the board firmly in place and to hold another board if desired—note that one plastic standoff/connector needs to be inserted “upside down” to secure the Prototyping Board to the antenna bracket. When additional boards are installed, the board-to-board spacing is 0.7" (17.8 mm). ...

Page 106

MiniCore RCM5600W ...

Page 107

... I/O accessory board, and explains how to use the Digital I/O accessory board. The Digital I/O accessory board mounts on the Interface Board or other board already installed on the Interface Board from which it receives its power and signals. OEM User’s Manual D. D I/O A IGITAL ...

Page 108

... I/O Switches and LEDs —Four momentary-contact, normally open switches are con- • nected to PB4–PB7 on the RCM5600W module and may be read as an input by sample applications. Four LEDs are connected to PA4–PA7 on the RCM5600W module, and may be driven as an output indicator by sample applications. ...

Page 109

... Board Connectors Standoffs/Spacers OEM User’s Manual Specification 2.50" × 3.75" × 0.52" (64 mm × × 13 mm) –40°C to +85° 95%, noncondensing +3 (typical) Two 2 × 25 IDC header sockets, 0.1" pitch (a 2 × 25 IDC header strip is included to connect the Digital I/O accessory board to the board below it) ...

Page 110

... J2 and J12 are 2 × 25 SMT header sockets with a 0.1" pin spacing. Figure D-3 shows the layout of another board to be plugged into the Digital I/O accessory board — this foot- print is identical for the Prototyping Board and the two accessory boards. The values are relative to the mounting hole ...

Page 111

... D.3 Using the Digital I/O Accessory Board The Digital I/O accessory board provides the user with RCM5600W connection points brought out conveniently to labeled points below header J2. The pinouts for header socket J2 are shown in Figure D-4. Figure D-4. MiniCore Boards Pinout OEM User’s Manual 105 ...

Page 112

... The pushbutton switches may be configured active high (pulled down) or active low (pulled up) via jumper settings on header JP7 for the four switches installed. Jumpers on JP12 may be set similar way after additional switches are installed at S5–S8. Figure D-5. Pushbutton Switch Configuration The four LED output indicators are set up as sinking outputs. Four additional LEDs may be installed at DS5– ...

Page 113

... DS8 * Switches S1–S4 are pulled high or low via jumpers on header JP7. † Switches S5–S8 are pulled high or low via jumpers on header JP12 (not stuffed). NOTE: Switches S5–S8, LEDs DS5–DS8, and the corresponding configuration headers JP10–JP14 and circuits are not stuffed. ...

Page 114

... Insert additional plastic standoffs/connectors as shown to hold the board firmly in place and to hold another board if desired—note that one plastic standoff/connector needs to be inserted “upside down” to secure the Prototyping Board or other accessory board above the antenna bracket. When additional boards are installed, the board-to-board spacing is 0.7" (17.8 mm). ...

Page 115

... Communication accessory board, and explains how to use the Serial Communication accessory board. The Serial Communica- tion accessory board mounts on the Interface Board or other board already installed on the Interface Board from which it receives its power and signals. OEM User’s Manual ERIAL OMMUNICATION ...

Page 116

... See Figure E-4 for the header pinouts. RS-232 Headers —Serial Ports C and D are brought out as 3-wire RS-232 ports on • headers J4 and J3 respectively. Header J3 can be set 5-wire RS-232 serial port with flow control provided by Serial Port C ...

Page 117

... Board Connectors Standoffs/Spacers OEM User’s Manual Specification 2.50" × 3.75" × 0.52" (64 mm × × 13 mm) –40°C to +85° 95%, noncondensing +3 (typical) Two 2 × 25 IDC header sockets, 0.1" pitch (a 2 × 25 IDC header strip is included to connect the Serial Communication accessory board to the board below it) Two 2 × ...

Page 118

... J2 and J12 are 2 × 25 SMT header sockets with a 0.1" pin spacing. Figure E-3 shows the layout of another board to be plugged into the Serial Communica- tion accessory board — this footprint is identical for the Prototyping Board and the two accessory boards. The values are relative to the mounting hole. ...

Page 119

... J2. The pinouts for header socket J2 and the RS-232 headers at J3 and J4 are shown in Figure E-4. Figure E-4. Serial Communication Accessory Board Pinout The remaining RS-232 header positions at J5 and J6, and the RS-485 screw-terminal header position at J1 are unstuffed. OEM User’s Manual 113 ...

Page 120

... PD2 J1 Serial Port F PD3 * Configured via header JP7. † Configured via header JP10 (unstuffed). ‡ Termination and bias resistors enabled via header JP13 (unstuffed). NOTE: Headers J1, J5, J6, and the associated circuits and configuration headers are not stuffed. 114 Connected via Header Pins 1– ...

Page 121

... Figure E-5 shows the locations of the configurable header positions. Figure E-5. Location of Configurable Jumpers on Serial Communication Accessory Board OEM User’s Manual 115 ...

Page 122

... Insert additional plastic standoffs/connectors as shown to hold the board firmly in place and to hold another board if desired—note that one plastic standoff/connector needs to be inserted “upside down” to secure the Prototyping Board or other accessory board above the antenna bracket. When additional boards are installed, the board-to-board spacing is 0.7" (17.8 mm). ...

Page 123

... F.1 Power Supplies The RCM5600W requires a regulated 3.15 V – 3. power source. The MiniCore design presumes that the voltage regulator is on the user board, and that the power is made available to the RCM5600W board through the edge connectors. ...

Page 124

F.1.1 Battery Backup The RCM5600W does not have a battery, but there is provision for a customer-supplied battery to keep the Rabbit 5000 real-time clock running. The edge connector, shown in Figure F-1, allows access to the external battery. This ...

Page 125

... It reduces the battery voltage to real-time clock, thereby limiting the current consumed by the real-time clock and lengthening the battery life. • It ensures that current can flow only out of the battery to prevent charging the battery. • Switches to battery power only when the +3.3 V system power supply is off. ...

Page 126

... The +3.3 V supplied to the RCM5600W powers most of the onboard circuits. In addition, there linear regulator that provides the core voltage to the Rabbit 5000 micro- processor. Other linear regulators supply the additional voltage levels needed by the Wi-Fi circuits. Figure F-3. RCM5600W Onboard Power Supplies 120 MiniCore RCM5600W ...

Page 127

... C certifications ........................... 6 Europe ................................. 8 FCC ..................................... 6 Industry Canada .................. 7 labeling requirements .......... 7 OEM User’s Manual clock doubler ........................ 36 compiler options ................... 39 connectors accessory kit ...................... 80 design and layout recommen- dations ........................... 78 mini PCI Express ........ 78, 80 PCB footprint with latch connector ...................... 78 PCB footprint with standoffs ...

Page 128

... RCM5600W mounting on Interface Board .......................................11 Run Mode ..............................34 switching modes ................34 S sample programs ...................18 accessory boards Digital I/O ................19, 63 Serial Communication ...65 getting to know the RCM5600W FLASHLED.C ...............18 SERIALTOSERIAL.C ...............................19, 20 TOGGLESWITCH.C ...............................18, 19 hardware setup ..................17 PC/notebook configuration 53 TCP_CONFIG.LIB ...........52 USERBLOCK_CLEAR.C 44 USERBLOCK_INFO.C ....44 Wi-Fi BROWSELED.C ...........64 PINGLED.C ......60, 63, 64 PINGLED_STATS.C .........................62, 63, 64 PINGLED_WPA_PSK.C ...

Page 129

... U USB cable connections ....................... 12 user block function calls ..................... 44 readUserBlock() ............ 37 writeUserBlock() ........... 37 V VBAT RAM memory ........... 37 W Wi-Fi additional resources .......... 72 bring interface down ......... 71 bring interface up .............. 71 circuit description ............. 31 function calls ifconfig() ................. 67, 71 ifconfig(IF_WIFI0,… ifdown(IF_WIFI0) ........ 71 ifup(IF_WIFI0) ............. 71 sock_init() ..................... 71 sock_init_or_exit(1) ...... 71 tcp_tick(NULL) ............ 71 sample programs ............... 55 123 ...

Page 130

MiniCore RCM5600W ...

Related keywords