RabbitCore RCM2200 C-Programmable Module with Ethernet User’s Manual 019–0097 • 090417–G
RabbitCore RCM2200 User’s Manual Part Number 019-0097 • 090417–G • Printed in U.S.A. ©2001–2009 Digi International Inc. • All rights reserved. No part of the contents of this manual may be reproduced or transmitted in any form or by any means without the express written permission of Digi International. Permission is granted to make one or more copies as long as the copyright page contained therein is included.
TABLE OF CONTENTS Chapter 1. Introduction 1 1.1 RCM2200 Features ...............................................................................................................................1 1.2 Advantages of the RCM2200 ...............................................................................................................2 1.3 Development and Evaluation Tools......................................................................................................3 1.3.1 Development Software......
.4 Memory .............................................................................................................................................. 27 4.4.1 SRAM......................................................................................................................................... 27 4.4.2 Flash EPROM............................................................................................................................. 27 4.4.3 Dynamic C BIOS Source Files.........................
Appendix D. Sample Circuits 75 D.1 D.2 D.3 D.4 RS-232/RS-485 Serial Communication .............................................................................................76 Keypad and LCD Connections ..........................................................................................................77 External Memory ...............................................................................................................................78 D/A Converter....................................
RabbitCore RCM2200
1. INTRODUCTION The RCM2200 RabbitCore module is designed to be the heart of embedded control systems. The RCM2200 features an integrated Ethernet port and provides for LAN and Internet-enabled systems to be built as easily as serial-communication systems. Throughout this manual, the term RCM2200 refers to the complete series of RCM2200 RabbitCore modules unless other production models are referred to specifically. The RCM2200 has a Rabbit 2000 microprocessor operating at 22.
• Provision for customer-supplied backup battery via connections on header J5 • 10/100-compatible RJ-45 Ethernet port with 10Base-T interface (Ethernet jack not installed on all models) • Raw Ethernet and two associated LED control signals available on 26-pin header • Three CMOS-compatible serial ports: maximum asynchronous baud rate of 691,200 bps, maximum synchronous baud rate of 5,529,600 bps. One port is configurable as a clocked port.
1.3 Development and Evaluation Tools A complete Development Kit, including a Prototyping Board and Dynamic C development software, is available for the RCM2200. The Development Kit puts together the essentials you need to design an embedded microprocessor-based system rapidly and efficiently. 1.3.1 Development Software The RCM2200 module uses the Dynamic C development environment for rapid creation and debugging of runtime applications.
1.5 How to Use This Manual This user’s manual is intended to give users detailed information on the RCM2200 module. It does not contain detailed information on the Dynamic C development environment or the TCP/IP software support for the integrated Ethernet port. Most users will want more detailed information on some or all of these topics in order to put the RCM2200 module to effective use. 1.5.
2. GETTING STARTED This chapter describes the RCM2200 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 RCM2200 Development Kit. If you purchased an RCM2200 module by itself, you will have to adapt the information in this chapter and elsewhere to your test and development setup.
2.1 Connections There are four steps to connecting the Prototyping Board for use with Dynamic C and the sample programs: 1. Attach the RCM2200 module to the Prototyping Board. 2. Connect the programming cable between the RCM2200 module and the workstation PC. 3. Connect the power supply to the Prototyping Board. 2.1.
Although you can install a single module into either the MASTER or the SLAVE position on the Prototyping Board, all the Prototyping Board features (switches, LEDs, serial port drivers, etc.) are connected to the MASTER position. We recommend you install the module in the MASTER position. NOTE: It is important that you line up the pins on headers J4 and J5 of the RCM2200 exactly with the corresponding pins of header sockets J1 and J2 on the Prototyping Board.
2.1.3 Connect Power When all other connections have been made, you can connect power to the RCM2200 Prototyping Board. First, prepare the AC adapter for the country where it will be used by selecting the plug. The RCM2200 Development Kit presently includes Canada/Japan/U.S., Australia/N.Z., U.K., and European style plugs.
To power down the Prototyping Board, unplug the power connector from J5. You should disconnect power before making any circuit adjustments in the prototyping area, changing any connections to the board, or removing the RabbitCore module from the board. 2.1.4 Alternate Power Supply Connections Development kits sold outside North America before 2009 included a header connector that could be connected to 3-pin header J5 on the Prototyping Board.
If Dynamic C appears to compile the BIOS successfully, but you then receive a communication error message when you compile and load the sample program, it is possible that your PC cannot handle the higher program-loading baud rate. Try changing the maximum download rate to a slower baud rate as follows. • Locate the Serial Options dialog in the Dynamic C Options > Project Options > Communications menu. Select a slower Max download baud rate.
3. RUNNING SAMPLE PROGRAMS To develop and debug programs for the RCM2200 (and for all other Rabbit hardware), you must install and use Dynamic C. This chapter provides a tour of the sample programs for the RCM2200. 3.1 Sample Programs To help familiarize you with the RCM2200 modules, several sample Dynamic C programs have been included.
3.1.1 Getting to Know the RCM2200 The following sample programs can be found in the SAMPLES\RCM2200 folder. • EXTSRAM.C—demonstrates the setup and simple addressing to an external SRAM. This program first maps the external SRAM to the I/O Bank 7 register with a maximum of 15 wait states, chip select strobe (PE7), and allows writes. The first 256 bytes of SRAM are cleared and read back. Values are then written to the same area and are read back.
• KEYLCD.C—demonstrates a simple setup for a 2 × 6 keypad and a 2 × 20 LCD. Connect the keypad to Parallel Ports B, C, and D. PB0—Keypad Col 0 PC1—Keypad Col 1 PB2—Keypad Col 2 PB3—Keypad Col 3 PB4—Keypad Col 4 PB5—Keypad Col 5 PD3—Keypad Row 0 PD4—Keypad Row 1 RCM2200/RCM2300 Prototyping Board VCC 11 12 13 14 10 kW resistors PB0 PB2 PB3 PB4 PB5 4 PC1 10 PD3 PD4 J8 J7 10 Keypad Col 0 Col 2 Col 3 Col 4 Col 5 Col 1 Row 0 Row 1 NC NC 11 Connect the LCD to Parallel Port A.
3.1.2 Serial Communication The following sample programs can be found in the SAMPLES\RCM2200 folder. One sample programs, PUTS.C is available to illustrate RS-232 communication. To run this sample program, you will have to add an RS-232 transceiver such as the MAX232 at location U2 and five 100 nF capacitors at C3–C7 on the Prototyping Board. Also install a 2 × 5 IDC header with a pitch of 0.1" at J6 to interface the RS-232 signals. The diagram shows the connections.
Two sample programs, MASTER.C and SLAVE.C, are available to illustrate RS-485 master/ slave communication. To run these sample programs, you will need a second Rabbit-based system with RS-485, and you will also have to add an RS-485 transceiver such as the SP483E and bias resistors to the Prototyping Board. The diagram shows the connections.
3.1.4 Sample Program Descriptions 3.1.4.1 FLASHLED.C This program is about as simple as a Dynamic C application can get—the equivalent of the traditional “Hello, world!” program found in most basic programming tutorials. If you are familiar with ANSI C, you should have no trouble reading through the source code and understanding it. The only new element in this sample application should be Dynamic C’s handling of the Rabbit microprocessor’s parallel ports. The program: 4.
3.1.4.2 FLASHLEDS.C In addition to Dynamic C’s implementation of C-language programming for embedded systems, it supports assembly-language programming for very efficient processor-level control of the module hardware and program flow. This application is similar to FLASHLED.C and TOGGLELED.C, but uses assembly language for the low-level port control within cofunctions, another powerful multitasking tool. Dynamic C permits the use of assembly language statements within C code.
tion of how Dynamic C handles multitasking with costatements and cofunctions, see Chapter 5, “Multitasking with Dynamic C,” and Chapter 6, “The Virtual Driver,” in the Dynamic C User’s Manual. 3.1.4.3 TOGGLELED.C One of Dynamic C’s unique and powerful aspects is its ability to efficiently multitask using cofunctions and costatements. This simple application demonstrates how these program elements work. This sample program uses two costatements to set up and manage the two tasks.
4. HARDWARE REFERENCE Chapter 2 describes the hardware components and principal hardware subsystems of the RCM2200. Appendix A, “RabbitCore RCM2200 Specifications,” provides complete physical and electrical specifications. 4.1 RCM2200 Digital Inputs and Outputs Figure 4 shows the subsystems designed into the RCM2200.
The RCM2200 has 26 parallel I/O lines grouped in five 8-bit ports available on headers J4 and J5. The 16 bidirectional I/O lines are located on pins PA0–PA7, PD3–PD5, and PE0– PE1, PE4, PE5, and PE7. The pinouts for headers J4 and J5 are shown in Figure 5.
Table 1.
Table 1.
4.2 Serial Communication The RCM2200 board does not have an RS-232 or an RS-485 transceiver directly on the board. However, an RS-232 or RS-485 interface may be incorporated on the board the RCM2200 is mounted on. For example, the Prototyping Board supports a standard RS-232 transceiver chip. 4.2.1 Serial Ports There are four serial ports designated as Serial Ports A, B, C, and D. All four serial ports can operate in an asynchronous mode up to the baud rate of the system clock divided by 64.
The RJ-45 connector is shielded to minimize EMI effects to/from the Ethernet signals. Rabbit recommends that an equivalent RJ-45 connector be used on the user board if the customer wishes to have an RJ-45 connector on the user board. NOTE: The RCM2210 is available without the LEDs and the RJ-45 connector if you plan to use your own RJ-45 connector on your user board. 4.2.3 Programming Port The RCM2200 has a 10-pin program header labeled J1.
4.3 Serial Programming Cable The programming cable is used to connect the RCM2200’s programming port to a PC serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to the TTL voltage levels used by the Rabbit 2000. When the PROG connector on the programming cable is connected to the RCM2200’s programming header, programs can be downloaded and debugged over the serial interface.
4.3.2 Standalone Operation of the RCM2200 The RCM2200 must be programmed via the RCM2200/RCM2300 Prototyping Board or via a similar arrangement on a customer-supplied board. Once the RCM2200 has been programmed successfully, remove the programming cable from the programming connector and reset the RCM2200. The RCM2200 may be reset by cycling the power off/on or by pressing the RESET button on the Prototyping Board. The RCM2200 module may now be removed from the Prototyping Board for end-use installation.
4.4 Memory 4.4.1 SRAM The RCM2200 is designed to accept 32K to 512K of SRAM packaged in an SOIC case. 4.4.2 Flash EPROM The RCM2200 is also designed to accept 128K to 512K of flash EPROM packaged in a TSOP case. NOTE: Rabbit recommends that any customer applications should not be constrained by the sector size of the flash EPROM since it may be necessary to change the sector size in the future. Writing to arbitrary flash memory addresses at run time is also discouraged.
4.5 Other Hardware 4.5.1 Clock Doubler The RCM2200 takes advantage of the Rabbit 2000 microprocessor’s internal clock doubler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emissions. The 22.1 MHz frequency is generated using an 11.0592 MHz crystal. The clock doubler is disabled automatically in the BIOS for crystals with a frequency above 12.9 MHz. The clock doubler may be disabled if 22.1 MHz clock speeds are not required.
4.5.2 Spectrum Spreader RCM2200 RabbitCore modules that have a Rabbit 2000 microprocessor labeled IQ4T (or higher) are equipped with a Rabbit 2000 microprocessor that has a spectrum spreader, which helps to mitigate EMI problems. By default, the spectrum spreader is on automatically for RCM2200 modules that carry the IQ4T (or higher) marking when used with Dynamic C 7.30 or later versions, but the spectrum spreader may also be turned off or set to a stronger setting.
30 RabbitCore RCM2200
5. SOFTWARE REFERENCE Dynamic C is an integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with Rabbit single-board computers and other single-board computers based on the Rabbit microprocessor. Chapter 4 provides the libraries and function calls related to the RCM2200. 5.1 More About Dynamic C Dynamic C has been in use worldwide since 1989.
Developing software with Dynamic C is simple. Users can write, compile, and test C and assembly code without leaving the 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 95 or later. Programs can be downloaded at baud rates of up to 460,800 bps after the program compiles.
5.2 I/O The RCM2200 was designed to interface with other systems, and so there are no drivers written specifically for the I/O. The general Dynamic C read and write functions allow you to customize the parallel I/O to meet your specific needs. For example, use WrPortI(PEDDR, &PEDDRShadow, 0x00); to set all the port E bits as inputs, or use WrPortI(PEDDR, &PEDDRShadow, 0xFF); to set all the Port E bits as outputs. The sample programs in the Dynamic C SAMPLES\RCM2200 directory provide further examples. 5.2.
5.3 Serial Communication Drivers Library files included with Dynamic C provide a full range of serial communications support. The RS232.LIB library provides a set of circular-buffer-based serial functions. The PACKET.LIB library provides packet-based serial functions where packets can be delimited by the 9th bit, by transmission gaps, or with user-defined special characters.
5.5 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. The default installation of a patch or bug fix is to install the file in a directory (folder) different from that of the original Dynamic C installation. Rabbit recommends using a different directory so that you can verify the operation of the patch without overwriting the existing Dynamic C installation.
36 RabbitCore RCM2200
6. USING THE TCP/IP FEATURES 6.1 TCP/IP Connections Programming and development can be done with the RCM2200 RabbitCore modules without connecting the Ethernet port to a network. However, if you will be running the sample programs that use the Ethernet capability or will be doing Ethernet-enabled development, you should connect the RCM2200 module’s Ethernet port at this time. Before proceeding you will need to have the following items.
The following options require more care in address selection and testing actions, as conflicts with other users, servers and systems can occur: • LAN — Connect the RCM2200’s Ethernet port to an existing LAN, preferably one to which the development PC is already connected. You will need to obtain IP addressing information from your network administrator.
6.2 Running TCP/IP Sample Programs We have provided a number of sample programs demonstrating various uses of TCP/IP for networking embedded systems. These programs require that the user connect his PC and the RCM2200 board together on the same network. This network can be a local private network (preferred for initial experimentation and debugging), or a connection via the Internet.
The following IP addresses are set aside for local networks and are not allowed on the Internet: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, and 192.168.0.0 to 192.168.255.255. The RCM2200 board uses a 10Base-T type of Ethernet connection, which is the most common scheme. The RJ-45 connectors are similar to U.S. style telephone connectors, except they are larger and have 8 contacts. An alternative to the direct connection using a crossover cable is a direct connection using a hub.
6.3 IP Addresses Explained IP (Internet Protocol) addresses are expressed as 4 decimal numbers separated by periods, for example: 216.103.126.155 10.1.1.6 Each decimal number must be between 0 and 255. The total IP address is a 32-bit number consisting of the 4 bytes expressed as shown above. A local network uses a group of adjacent IP addresses. There are always 2N IP addresses in a local network. The netmask (also called subnet mask) determines how many IP addresses belong to the local network.
6.4 How IP Addresses are Used The actual hardware connection via an Ethernet uses Ethernet adapter addresses (also called MAC addresses.) These are 48-bit addresses and are unique for every Ethernet adapter manufactured. In order to send a packet to another computer, given the IP address of the other computer, it is first determined if the packet needs to be sent directly to the other computer or to the gateway. In either case, there is an IP address on the local network to which the packet must be sent.
6.5 Dynamically Assigned Internet Addresses In many instances, there are no fixed IP addresses. This is the case when, for example, you are assigned an IP address dynamically by your dial-up Internet service provider (ISP) or when you have a device that provides your IP addresses using the Dynamic Host Configuration Protocol (DHCP).
6.6 Placing Your Device on the Internet In many corporate settings, users are isolated from the Internet by a firewall and/or a proxy server. These devices attempt to secure the company from unauthorized network traffic, and usually work by disallowing traffic that did not originate from inside the network. If you want users on the Internet to communicate with your RCM2200, you have several options.
6.7 How to Set IP Addresses in the Sample Programs We have provided a number of sample programs demonstrating various uses of TCP/IP for networking embedded systems. These programs require that you connect your PC and the Coyote together on the same network. This network can be a local private network (preferred for initial experimentation and debugging), or a connection via the Internet. With the introduction of Dynamic C 7.30 we have taken steps to make it easier to run many of our sample programs.
6.8 How to Set Up Your Computer for Direct Connect Follow these instructions to set up your PC or notebook. Check with your administrator if you are unable to change the settings as described here since you may need administrator privileges. The instructions are specifically for Windows 2000, but the interface is similar for other versions of Windows. TIP: If you are using a PC that is already on a network, you will disconnect the PC from that network to run these sample programs.
6.9 Run the PINGME.C Sample Programs Connect the crossover cable from your computer’s Ethernet port to the RCM2200 board’s RJ-45 Ethernet connector. Open this sample program from the SAMPLES\TCPIP\ICMP folder, compile the program, and start it running under Dynamic C. When the program starts running, the green LNK light on the RCM2200 board should be on to indicate an Ethernet connection is made.
6.11 Where Do I Go From Here? NOTE: If you purchased your RCM2200 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 Help menu to get further assistance with Dynamic C. • Check the Rabbit Technical Bulletin Board and forums at www.rabbit.com/support/bb/ and at www.rabbit.com/forums/. • Use the Technical Support e-mail form at www.rabbit.com/support/.
APPENDIX A. RABBITCORE RCM2200 SPECIFICATIONS Appendix A provides the specifications for the RCM2200, and describes the conformal coating.
A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM2200. 2.300 (58.4) 1.060 (3.3) C3 U8 U7 C1 RT1 J2 U2 C30 JP2 JP1 R15 R18 R20 R19 R21 R22 C14 R16 DS2 DS1 Y3 GND 0.625 (15.7) EGND ACT 0.602 (15.3) (6.2) 0.245 0.245 (2.5) (22) (6.2) (2.5) (40.6) J4 (1.6) 1.600 0.062 J5 0.86 (14) 0.55 (58.4) 0.10 2.300 0.10 (1.6) 0.062 (22) 0.86 (14) 0.55 (4.0) 0.
It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM2200 in all directions when the RCM2200 is incorporated into an assembly that includes other printed circuit boards. An “exclusion zone” of 0.16" (4 mm) is recommended below the RCM2200 when the RCM2200 is plugged into another assembly using the shortest connectors for headers J4 and J5. Figure A-2 shows this “exclusion zone.” 2.38 (4) 0.16 (15 0.60 (60.4) 2.300 (58.4) 1.68 (42.6) (4) 0.16 (15) 0.
Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM2200. Table A-1. RabbitCore RCM2200 Specifications Parameter RCM2200 RCM2210 RCM2260 Rabbit 2000® at 22.
A.1.1 Headers The RCM2200 uses headers at J4 and J5 for physical connection to other boards. J4 and J5 are 2 × 13 SMT headers with a 2 mm pin spacing. J1, the programming port, is a 2 × 5 header with a 2 mm pin spacing. Figure A-3 shows the layout of another board for the RCM2200 to be plugged into. These values are relative to the header connectors. A.1.
A.2 Bus Loading You must pay careful attention to bus loading when designing an interface to the RCM2200. This section provides bus loading information for external devices. Table A-2 lists the capacitance for the various RCM2200 I/O ports. Table A-2.
Figure A-4 shows a typical timing diagram for the Rabbit 2000 microprocessor external I/O read and write cycles. External I/O Read (no extra wait states) T1 Tw T2 CLK A[15:0] valid Tadr /CSx /IOCSx TCSx TCSx TIOCSx TIOCSx /IORD TIORD TIORD /BUFEN TBUFEN Tsetup TBUFEN D[7:0] valid Thold External I/O Write (no extra wait states) T1 Tw T2 CLK A[15:0] valid Tadr /CSx /IOCSx /IOWR /BUFEN D[7:0] TCSx TCSx TIOCSx TIOCSx TIOWR TIOWR TBUFEN TBUFEN valid TDHZV TDVHZ Figure A-4.
Table A-3 lists the parameters shown in these figures and provides minimum or measured values. Table A-3. Memory and External I/O Read/Write Parameters Write Parameters Read Parameters Parameter Description Value Tadr Time from CPU clock rising edge to address valid Max. 7 ns @ 20 pF, 5 V 14 ns @ 70 pF, 5 V Tsetup Data read setup time Min. 2 ns @ 5 V Thold Data read hold time Min. 0 ns Tadr Time from CPU clock rising edge to address valid Max.
A.4 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 25.8 MHz CPU clock and capacitive loading on address and data lines of less than 100 pF per pin. Address pin A0 and data pin D0 are rated at 16 mA each. Pins A1–A12 and D1–D7 are each rated at 8 mA. The absolute maximum operating voltage on all I/O is VDD + 0.5 V or 5.5 V.
A.5 Jumper Configurations Figure A-5 shows the header locations used to configure the various RCM2200 options via jumpers. Top Side Flash EPROM JP3 JP4 JP7 JP2 JP5 JP1 JP6 SRAM Bottom Side Figure A-5. Location of RCM2200 Configurable Positions Table A-6 lists the configuration options. Table A-6.
A.6 Conformal Coating The areas around the 32 kHz real-time clock crystal oscillator has had the Dow Corning silicone-based 1-2620 conformal coating applied. The conformally coated area is shown in Figure A-6. The conformal coating protects these high-impedance circuits from the effects of moisture and contaminants over time.
60 RabbitCore RCM2200
APPENDIX B. PROTOTYPING BOARD Appendix B describes the features and accessories of the Prototyping Board, and explains the use of the Prototyping Board to demonstrate the RCM2200 and to build prototypes of your own circuits.
B.1 Prototyping Board The Prototyping Board included in the Development Kit makes it easy to connect an RCM2200 module to a power supply and a PC workstation for development. It also provides some basic I/O peripherals (switches and LEDs), as well as a prototyping area for more advanced hardware development. For the most basic level of evaluation and development, the Prototyping Board can be used without modification.
B.1.1 Prototyping Board Features • Power Connection—A 3-pin header is provided for connection to the power supply. Note that it is symmetrical, with both outer pins connected to ground and the center pin connected to the raw V+ input. The cable of the wall transformer provided with the North American version of the development kit ends in a connector that is correctly connected in either orientation. Users providing their own power supply should ensure that it delivers 8–24 V DC at not less than 500 mA.
B.1.2 Prototyping Board Expansion The Prototyping Board comes with several unpopulated areas, which may be filled with components to suit the user’s development needs. After you have experimented with the sample programs from the RabbitCore RCM2200 User’s Manual, you may wish to expand the board’s capabilities for further experimentation and development. Refer to the Prototyping Board schematic (090–0122) for details as necessary.
B.2 Mechanical Dimensions and Layout 4.25 (108) Battery CAUTION Figure B-2 shows the mechanical dimensions and layout for the RCM2200 Prototyping Board. 5.25 (133) Figure B-2. RCM2200 Prototyping Board Dimensions Table B-1 lists the electrical, mechanical, and environmental specifications for the Prototyping Board. Table B-1. RCM2200 Prototyping Board Specifications Parameter Specification Board Size 4.25" × 5.25" × 1.
B.3 Power Supply The RCM2200 requires a regulated 5 V ± 0.25 V DC power source to operate. Depending on the amount of current required by the application, different regulators can be used to supply this voltage. The Prototyping Board has an onboard 7805 or equivalent linear regulator that is easy to use. Its major drawback is its inefficiency, which is directly proportional to the voltage drop across it. The voltage drop creates heat and wastes power.
To maximize the availability of RCM2200 resources, the demonstration hardware (LEDs and switches) on the Prototyping Board may be disconnected. This is done by cutting the traces below the silk-screen outline of header JP1 on the bottom side of the Prototyping Board. Figure B-4 shows the four places where cuts should be made. Cut the traces between the rows as shown. An exacto knife would work nicely to cut the traces.
circuits can be prototyped using point-to-point wiring with 20 to 30 AWG wire between the prototyping area and the holes at locations J7 and J8. The holes are spaced at 0.1" (2.5 mm), and 40-pin headers or sockets may be installed at J7 and J8. The pinouts for locations J7 and J8, which correspond to headers J1 and J2, are shown in Figure B-5.
B.4.1 Adding Other Components There is room on the Prototyping Board for a user-supplied RS-232 transceiver chip at location U2 and a 10-pin header for serial interfacing to external devices at location J6. A Maxim MAX232 transceiver is recommended. When adding the MAX232 transceiver at position U2, you must also add 100 nF charge storage capacitors at positions C3–C7 as shown in Figure B-7. 2 MAX 32 ry ON 100 nF storage capacitors Figure B-7.
70 RabbitCore RCM2200
APPENDIX C. POWER SUPPLY Appendix C provides information on the current requirements of the RCM2200, and includes some background on the chip select circuit used in power management. C.1 Power Supplies The RCM2200 requires a regulated 5 V ± 0.25 V DC power source. The RabbitCore design presumes that the voltage regulator is on the user board, and that the power is made available to the RabbitCore board through headers J4 and J5. An RCM2200 with no loading at the outputs operating at 22.
The drain on the battery by the RCM2200 is typically 16 µA when no other power is supplied. If a 950 mA·h battery is used, the battery can last more than 6 years: 950 mA·h ------------------------ = 6.8 years. 16 µA The actual life in your application will depend on the current drawn by components not on the RCM2200 and the storage capacity of the battery. Note that the shelf life of a lithium ion battery is ultimately 10 years. The RCM2200 does not drain the battery while it is powered up normally.
C.2 Chip Select Circuit The RCM2200 has provision for battery backup, which kicks in to keep VRAM from dropping below 2 V. When the RCM2200 is not powered, the battery keeps the SRAM memory contents and the real-time clock (RTC) going. The SRAM has a powerdown mode that greatly reduces power consumption. This powerdown mode is activated by raising the chip select (CS) signal line. Normally the SRAM requires Vcc to operate. However, only 2 V is required for data retention in powerdown mode.
74 RabbitCore RCM2200
APPENDIX D. SAMPLE CIRCUITS This appendix details several basic sample circuits that can be used with the RCM2200 modules.
D.1 RS-232/RS-485 Serial Communication RS-232 1 RCM2200 Prototyping Board V+ V C1+ 100 nF J7 3 C1 4 C2+ 5 C2 VCC 100 nF 2 6 100 nF 100 nF 3 PC0 11 T1IN 4 PC1 12 R1OUT 5 PC2 10 T2IN 6 PC3 9 3 PC0 4 D 4 PC1 1 R R2OUT T1OUT 14 TXD R1IN 13 RXD T2OUT 7 TXC R2IN 8 RXC RCM2200 Prototyping Board J7 10 PD3 47 kW 3 2 RS-485 VCC 680 W A 6 B 7 DE 485+ 220 W 485 680 W RE SP483EN Figure D-1. Sample RS-232 and RS-485 Circuits Sample Program: PUTS.
D.2 Keypad and LCD Connections RCM2200 Prototyping Board J8 VCC 10 kW resistors PB0 PB2 PB3 PB4 PB5 10 11 12 13 14 J7 Keypad Row 0 Row 2 Row 3 Row 4 Row 5 Row 1 PC1 PD3 PD4 4 10 11 Col 0 Col 1 NC NC Figure D-2. Sample Keypad Connections Sample Program: KEYLCD.C in SAMPLES\RCM2200. RCM2200 Prototyping Board 2 3 4 5 6 7 8 PA1 PA2 PA3 PA4 PA5 PA6 PA7 100 nF 680 W 3 470 W 1 kW 2.2 kW 4.
D.3 External Memory The sample circuit can be used with an external 64K memory device. Larger SRAMs can be written to using this scheme by using other available Rabbit 2000 ports (parallel ports A to E) as address lines. SRAM RCM2200 Prototyping Board A0A3 A0A3 D0D7 D0D7 /WE /OE /CE /IOWR /IORD PE7 10 kW Vcc Figure D-4. Sample External Memory Connections Sample Program: EXTSRAM.C in SAMPLES\RCM2200.
D.4 D/A Converter The output will initially be 0 V to -10.05 V after the first inverting op-amp, and 0 V to +10.05 V after the second inverting op-amp. All lows produce 0 V out, FF produces 10 V out. The output can be scaled by changing the feedback resistors on the op-amps. For example, changing 5.11 kΩ to 2.5 kΩ will produce an output from 0 V to -5 V. Op-amps with a very low input offset voltage are recommended. HC374 649 kW 324 kW 162 kW CT0CT7 PA0PA7 20 kW E 10 kW 10 kW + 1.
80 RabbitCore RCM2200
INDEX A E J additional information online documentation .......... 4 clock doubler ........................ 28 conformal coating ................. 59 EMI spectrum spreader feature . 29 Ethernet cables ...................... 37 Ethernet connections ....... 37, 40 10Base-T ........................... 40 10Base-T Ethernet card .... 37 additional resources .......... 48 Ethernet cables .................. 40 Ethernet hub ...................... 37 IP addresses ................. 39, 41 steps .................
Prototyping Board .................62 adding RS-232 transceiver 69 dimensions .........................65 expansion area ...................64 features ........................62, 63 header JP1 location ............67 mounting RCM2200 ............6 optional connections to Rabbit 2000 parallel ports .........67 optional header JP1 ...........67 pinout .................................68 power supply .....................66 power supply connections ...8 prototyping area .................68 specifications ....
SCHEMATICS 090-0120 RCM2200 Schematic www.rabbit.com/documentation/schemat/090-0120.pdf 090-0122 RCM2200 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0122.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf You may use the URL information provided above to access the latest schematics directly.