RabbitCore RCM2300 C-Programmable Module User’s Manual 019–0099 • 070831–G
RabbitCore RCM2300 User’s Manual Part Number 019-0099 • 070831–G • Printed in U.S.A. © 2001–20076 Rabbit Semiconductor 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 Rabbit Semiconductor. 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 RabbitCore RCM2300 Features............................................................................................................1 1.2 Advantages of the RabbitCore RCM2300 ............................................................................................2 1.3 Development and Evaluation Tools......................................................................................................3 1.3.1 Development Software ......................
.5 Memory...............................................................................................................................................31 4.5.1 SRAM ........................................................................................................................................31 4.5.2 Flash EPROM ............................................................................................................................31 4.5.3 Dynamic C BIOS Source Files ...........................
1. INTRODUCTION The RabbitCore RCM2300 is a very small advanced core module that incorporates the powerful Rabbit® 2000 microprocessor, flash memory, static RAM, and digital I/O ports, all on a PCB that is just 1.15" × 1.60" (29.2 mm × 40.6 mm). The RCM2300 has a Rabbit 2000 microprocessor operating at 22.
• Provision for customer-supplied backup battery either onboard or via header connections • Four CMOS-compatible serial ports. All the serial ports can be configured asynchronously, and two serial ports can be configured synchronously if so desired. The maximum asynchronous baud rate is 691,200 bps (Dynamic C drivers are capable of handling up to the sustained rate of 345,600 bps), and the maximum synchronous baud rate is 5.5296 Mbps (user-written drivers can sustain a rate of 2.7648 Mbps).
1.3 Development and Evaluation Tools A complete Development Kit, which includes a Prototyping Board and Dynamic C development software, is available for the RCM2300. 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 RCM2300 uses the Dynamic C development environment for rapid creation and debugging of runtime applications.
1.4 How to Use This Manual This user’s manual is intended to give users detailed information on the RCM2300 module. It does not contain detailed information on the Dynamic C development environment. Most users will want more detailed information on some or all of these topics in order to put the RCM2300 module to effective use. 1.4.
1.4.2.2 Printing Electronic Manuals We recognize that many users prefer printed manuals for some uses. Users can easily print all or parts of those manuals provided in electronic form. The following guidelines may be helpful: • Print from the Adobe PDF versions of the files, not the HTML versions. • Print only the sections you will need to refer to more than once. • Print manuals overnight, when appropriate, to keep from tying up shared resources during the work day.
6 RabbitCore RCM2300
2. GETTING STARTED This chapter describes the RCM2300 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 RabbitCore RCM2300 Development Kit. If you purchased an RCM2300 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 three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs: 1. Attach the RCM2300 to the Prototyping Board. 2. Connect the programming cable between the RCM2300 and the 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 a single module in the MASTER position. NOTE: It is important that you line up the pins on headers J4 and J5 of the RCM2300 exactly with the corresponding pins of headers J1 and J2 on the Prototyping Board.
2.1.3 Connect Power Supply When the above connections have been made, you can connect power to the RabbitCore Prototyping Board. Hook the connector from the wall transformer to header J5 on the Prototyping Board as shown in Figure 3. The connector may be attached either way as long as it is not offset to one side.
2.2 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. If you are using a USB port to connect your computer to the RCM2300 module, choose Options > Project Options and select “Use USB to Serial Converter” under the Communications tab. Find the file PONG.C, which is in the Dynamic C SAMPLES folder.
2.3 Where Do I Go From Here? If everything appears to be working, we recommend the following sequence of action: 1. Run all of the sample programs described in Chapter 3 to get a basic familiarity with Dynamic C and the RCM2300’s capabilities. 2. For further development, refer to the RabbitCore RCM2300 User’s Manual for details of the RCM2300’s hardware and software components. A documentation icon should have been installed on your workstation’s desktop; click on it to reach the documentation menu.
3. RUNNING SAMPLE PROGRAMS To develop and debug programs for the RCM2300 (and for all other Rabbit Semiconductor hardware), you must install and use Dynamic C. This chapter provides a tour of the sample programs for the RCM2300 module. 3.1 Sample Programs To help familiarize you with the RCM2300 modules, Dynamic C includes several sample programs.
3.1.1 Getting to Know the RCM2300 The following sample programs can be found in the SAMPLES\RCM2300 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\RCM2300 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 charge-storage 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.
You can then access Serial Port A through HyperTerminal or Tera Term using the programming cable’s DIAG connector to connect the programming header (J1) on the RCM2300 to the PC COM port. Serial Port C can be accessed with your own hookup wire to connect TxC and RxC as shown from header J6 on the Prototyping Board to the 10-pin header to DB9 cable, which is connected to the PC COM port. RxC TxC Serial Port C GND TxB RxB J6 Two sample programs, MASTER.C and SLAVE.
3.1.3 Sample Program Descriptions 3.1.3.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.3.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.3.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 RCM2300. Appendix A, “RabbitCore RCM2300 Specifications,” provides complete physical and electrical specifications. 4.1 RCM2300 Digital Inputs and Outputs Figure 4 shows the subsystems designed into the RCM2300.
The RCM2300 modules have two 26-pin headers to which cables can be connected, or which can be plugged into matching sockets on a production device. The pinouts for these connectors are shown in Figure 5 below. J4 GND PC0 PC2 PC6 PE2 PD4 /IORD PE0 SMODE1 PE4 STATUS A3 A1 J5 VCC PC1 PC3 PC7 PD3 PD5 /IOWR PE1 SMODE0 PE5 PE7 A2 A0 PA0 PA2 PA4 PA6 /RES PB2 PB4 PB7 D6 D4 D2 D0 VCC PA1 PA3 PA5 PA7 PB0 PB3 PB5 D7 D5 D3 D1 VBAT GND Note: These pinouts are as seen on the Bottom Side of the module. Figure 5.
Table 1.
Table 1.
4.1.1 Dedicated Inputs PB0 is a general CMOS input when the Rabbit 2000 is either not using Serial Port B or is using Serial Port B in an asynchronous mode. Four other general CMOS input-only pins are located on PB2–PB5. These pins can also be used for the slave port in master/slave communication between two processors. PB2 and PB3 are slave write and slave read strobes, while PB4 and PB5 serve as slave address lines SA0 and SA1, and are used to access the slave registers.
4.2 Serial Communication The RCM2300 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 RCM2300 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 sustain their operation in an asynchronous mode up to the baud rate of the system clock divided by 64.
In addition to Serial Port A, the Rabbit 2000 startup-mode (SMODE0, SMODE1), status, and reset pins are available on the serial programming port. The two startup mode pins determine what happens after a reset—the Rabbit 2000 is either cold-booted or the program begins executing at address 0x0000. These two SMODE pins can be used as general inputs once the cold boot is complete. The status pin is used by Dynamic C to determine whether a Rabbit microprocessor is present.
4.3 Serial Programming Cable The programming cable is used to connect the RCM2300’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 RCM2300’s programming header, programs can be downloaded and debugged over the serial interface.
4.3.2 Standalone Operation of the RCM2300 The RCM2300 must be programmed via the RCM2200/RCM2300 Prototyping Board or via a similar arrangement on a customer-supplied board. Once the RCM2300 has been programmed successfully, remove the programming cable from the programming connector and reset the RCM2300. The RCM2300 may be reset by cycling the power off/on or by pressing the RESET button on the Prototyping Board. The RCM2300 module may now be removed from the Prototyping Board for end-use installation.
4.4 Other Hardware 4.4.1 Clock Doubler The RCM2300 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 Memory 4.5.1 SRAM The RCM2300 is designed to accept 128K of SRAM packaged in an SOIC case. 4.5.2 Flash EPROM The RCM2300 is also designed to accept 128K to 512K of flash EPROM packaged in a TSOP case. NOTE: Rabbit Semiconductor 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.
32 RabbitCore RCM2300
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 Semiconductor single-board computers and other single-board computers based on the Rabbit microprocessor. Chapter 4 provides the libraries, function calls, and sample programs related to the RCM2300. 5.1 More About Dynamic C Dynamic C has been in use worldwide since 1989.
Dynamic C has a number of standard features: • Full-feature source and/or assembly-level debugger, no in-circuit emulator required. • Royalty-free TCP/IP stack with source code and most common protocols. • Hundreds of functions in source-code libraries and sample programs: X Exceptionally fast support for floating-point arithmetic and transcendental functions. X RS-232 and RS-485 serial communication. X Analog and digital I/O drivers. X I2C, SPI, GPS, file system. X LCD display and keypad drivers.
5.2 I/O The RCM2300 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/RCM2300 directory provide further examples.
5.4 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.
APPENDIX A. RABBITCORE RCM2300 SPECIFICATIONS Appendix A provides the specifications for the RCM2300, and describes the conformal coating.
A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM2300. 1.150 (29.2) 1.060 (26.9) R38 C3 Y1 R41 PD0 PD1 R8 PD2 U6 R36 C27 PD6 D2 D3 R37 Please refer to the RCM2300 footprint diagram later in this appendix for precise header locations. GND RT1 D1 R7 C4 R39 J1 PD7 PE3 C9 VCC R1 PE6 C8 R2 J3 WD R19 U2 R20 C13 R21 R22 C14 R29 VCC VBAT + Q3 Q4 C24 R18 (20.3) R26 C23 R17 Y3 Q5 GND R15 C12 C15 0.
(6.2) 0.24 (3) 0.12 (1) 0.04 It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM2300 in all directions when the RCM2300 is incorporated into an assembly that includes other printed circuit boards. An “exclusion zone” of 0.12" (3 mm) is recommended below the RCM2300 when the RCM2300 is plugged into another assembly using the shortest connectors for headers J4 and J5. Figure A-2 shows this “exclusion zone.” 1.150 0.04 (29.2) (1) 0.04 Exclusion Zone (6.2) 0.
Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM2300. Table A-1. RabbitCore RCM2300 Specifications Parameter Specification Microprocessor Rabbit 2000® at 22.
A.1.1 Headers The RCM2300 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 footprint of another board that the RCM2300 would be plugged into. These values are relative to the header connectors. 0.079 (2.0) 0.935 J4 0.050 (1.3) (23.7) J1 0.645 J2 0.130 dia 0.425 (16.4) 0.715 (18.2) 0.760 (19.3) (10.8) (3.3) J3 0.127 (3.2) 0.
A.2 Bus Loading You must pay careful attention to bus loading when designing an interface to the RCM2300. This section provides bus loading information for external devices. Table A-2 lists the capacitance for the various Rabbit 2000 I/O ports with SRAM and flash memory connected. 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-4 lists the parameters shown in these figures and provides minimum or measured values. Table A-4. 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 (10 ns @ 3.3 V) 14 ns @ 70 pF, 5 V (19 ns @ 3.3 V) Tsetup Data read setup time Min. 2 ns @ 5 V (3 ns @ 3.3 V) Thold Data read hold time Min.
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 22.1 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–A4 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 Conformal Coating The area around the crystal oscillator has had the Dow Corning silicone-based 1-2620 conformal coating applied. The conformally coated area is shown in Figure A-5. The conformal coating protects these high-impedance circuits from the effects of moisture and contaminants over time.
A.6 Jumper Configurations Figure A-6 shows the header locations used to configure the various RCM2300 options via jumpers. Top Side JP1 JP2 Figure A-6. Location of RCM2300 Configurable Positions Table A-7 lists the configuration options. Table A-7.
48 RabbitCore RCM2300
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 RCM2300 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 RCM2300 to a power supply for development. It also provides some basic I/O peripherals (switches and LEDs), as well as a prototyping area for more advanced hardware development. The Prototyping Board can be used without modification for the most basic level of evaluation and development.
B.1.1 Prototyping Board Features • Power Connection—A 3-pin header is provided at J5 for the power supply connection. Note that both outer pins are connected to ground and the center pin is connected to the raw V+ input. The cable from the wall transformer provided with the North American version of the Development Kit ends in a connector that may be connected in either orientation. Users providing their own power supply should ensure that it delivers 7.5–25 V DC at not less than 500 mA.
• Slave Module Connectors—A second set of connectors is pre-wired to permit installation of a second, slave RCM2200 or RCM2300. 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 in the RCM2300 Getting Started Manual, you may wish to expand the Prototyping Board’s capabilities for further experimentation and development.
B.2 Mechanical Dimensions and Layout 4.25 (108) Battery CAUTION Figure B-2 shows the mechanical dimensions and layout for the RCM2300 Prototyping Board. 5.25 (133) Figure B-2. RCM2300 Prototyping Board Dimensions Table B-1 lists the electrical, mechanical, and environmental specifications for the Prototyping Board. Table B-1. RCM2300 Prototyping Board Specifications Parameter Specification Board Size 4.25" × 5.25" × 1.
B.3 Power Supply The RCM2300 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 RCM2300 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. An exacto knife would work nicely to cut the traces. Alternatively, a small standard screwdriver may be carefully and forcefully used to wipe through the PCB traces.
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. J7/J9 GND PC0 PC2 TPOUTLNK PD4 /IORD PE0 TPINPE4 ACT A3 A1 J8/J10 VCC PC1 PC3 TPOUT+ PD3 PD5 /IOWR PE1 TPIN+ PE5 PE7 A2 A0 PA0 PA2 PA4 PA6 /RES PB2 PB4 PB7 D6 D4 D2 D0 VCC PA1 PA3 PA5 PA7 PB0 PB3 PB5 D7 D5 D3 D1 VBAT GND Note: These pinouts correspond to the MASTER/SLAVE positions respectively. 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.
58 RabbitCore RCM2300
APPENDIX C. POWER SUPPLY Appendix C provides information on the current requirements of the RCM2300, and some background on the chip select circuit used in power management. C.1 Power Supplies The RCM2300 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 RCM2300 with no loading at the outputs operating at 22.1 MHz typically draws 108 mA.
The RCM2300 has another battery option available. A customer-installed BR2577A/GA backup battery can be soldered right on the RCM2300 as shown in Figure C-2. The negative battery connection is to the pin 3 hole in the area corresponding to header area J3.
Alternatively, you may wish to add a 2-pin connector with a 2 mm pitch for hooking up to an external backup battery as shown in Figure C-3. R38 C3 Y1 R41 R7 R1 C8 R2 PD0 PD1 R8 PD2 U6 R36 C27 PD6 D2 D3 R37 C4 GND RT1 D1 R39 J1 PD7 PE3 C9 + VCC PE6 C10 JP2 JP1 J2 R23 Q2 R17 R26 R19 U2 R20 C13 R21 R22 C14 C23 - C12 C15 C24 R18 Q3 Q4 Q5 R29 VCC VBAT + Y3 GND R15 G R34 J3 WD C11 U1 R13 + BEN VCC Figure C-3.
C.2.1 Battery Backup Circuits The battery-backup circuit serves three purposes: • It reduces the battery voltage to the SRAM and to the 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. • A voltage, VOSC, is supplied to U6, which keeps the 32.768 kHz oscillator working when the voltage begins to drop.
C.3 Chip Select Circuit The RCM2300 has provision for battery backup, which kicks in to keep VRAM from dropping below 2 V. When the RCM2300 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.
64 RabbitCore RCM2300
APPENDIX D. SAMPLE CIRCUITS This appendix details several basic sample circuits that can be used with the RCM2300.
D.1 RS-232/RS-485 Serial Communication RS-232 1 RCM2300 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 RCM2300 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 RCM2300 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/RCM2300. RCM2300 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 to access 16 bytes on 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 to create up to four thousand 16-byte pages. SRAM RCM2300 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/RCM2300.
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 PE4 E 10 kW 10 kW + 1.
70 RabbitCore RCM2300
INDEX A additional information online documentation .......... 4 reference information .......... 4 B backup battery installing onboard battery . 60 via header J5 ..................... 59 via optional header ............ 61 battery life ............................. 61 battery-backup circuit external battery connections ........................ 59, 61 reset generator ................... 62 bus loading ............................ 42 C Dynamic C ........................ 3, 33 add-on modules ..............
R Rabbit subsystems ................. 21 RCM2300 mounting on Prototyping Board ............................... 8 reset ....................................... 10 Run Mode .............................. 28 switching modes ................ 28 S sample circuits ....................... 65 D/A converter .................... 69 external memory ................ 68 keypad and LCD connections ............................... 67 RS-232/RS-485 serial communication ..................... 66 sample programs .............
SCHEMATICS 090-0119 RCM2300 Schematic www.rabbit.com/documentation/schemat/090-0119.pdf 090-0122 RCM2200/RCM2300 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.