Introduction 1.1 RabbitCore RCM2100 Series Features ......1-1 1.2 Advantages of the RabbitCore RCM2100 Series..... 1-2 1.3 Development and Evaluation Tools .
Introduction 1 The RabbitCore RCM2100 series is a family of microprocessor modules designed to be the heart of embedded control systems. In addition to the array of I/O and addressing available on other Z-World products, the RCM2100 series offers an optional integrated Ethernet port. These modules permit LAN and Internet-enabled systems to be built as easily as serial communications- only systems.
Rab- • Five 8-bit timers, two 10-bit timers; five bitCore RCM2100 series. timers are cascadable in pairs Five versions of the RabbitCore RCM2100 series • 2 × 256K flash memory, 512K SRAM are available. Their standard features are summa- •...
In addition to the product-specific information con- plete library of manuals an almost cost-free option. tained in the RabbitCore RCM2100 Series Getting For one-time or infrequent reference, electronic doc- Started and User’s Manual, several higher level uments are more convenient than printed ones—...
Page 10
Print only the sections you will need to charge for a printed and bound manual. refer to more than once. • Print manuals overnight, when appropri- ate, to keep from tying up shared resources during the work day. 1–4 Introduction RabbitCore RCM2100 Series...
RabbitCore RCM2100 series. Appendix A, “RabbitCore RCM2100 Specifications,” provides complete physical and electrical specifi- cations. RabbitCore RCM2100 Series Digital Inputs and Outputs Figure 2–1 shows the subsystems designed into the RabbitCore RCM2100 series. PB0 PA0PA7 PD0PD7 Ethernet: PD4PD7...
Page 12
The RabbitCore RCM2100 series has 40 parallel located on pins PA0–PA7, PD0–PD7, and PE0–PE7. I/O lines grouped in five 8-bit ports available on The pinouts for headers J1 and J2 are shown in headers J1 and J2. The 24 bidirectional I/O lines are Figure 2–2.
Page 13
Table 1: RabbitCore RCM2100 Series Pinout Configurations Pin Name Default Use Alternate Use Notes Disable by removing R20; can also be disabled in PCLK Output (Internal Clock) Output software (Dynamic C 7.03 and later versions) Slave port data bus 4–11...
Page 14
Table 1: RabbitCore RCM2100 Series Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes Input Serial port clock CLKB CLKA is connected to Input Serial port clock CLKA programming port (header J5, pin 3) Input Slave port write /SWR...
Page 15
Table 1: RabbitCore RCM2100 Series Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes (0,0)—start executing No programming cable at address zero attached SMODE1, SMODE0 =1, SMODE1 31–32 SMODE0 (0,1)—cold boot from Cold boot from asyn- slave port With programming cable chronous serial port A (1,0)—cold boot from...
When the Rabbit 2000 provides the clock, the baud rate can be up to 1/4 of the system clock frequency, or 5.52 Mbps for a 22.1 MHz clock speed. 2–6 Hardware Reference RabbitCore RCM2100 Series...
The factory default is for the 0 Ω resistor “jumper” 2.2.2 Ethernet Port at R5 to be installed. In high-noise environments, it Figure 2–3 shows the pinout for the RJ-45 Ethernet may be useful to ground the transformer/connector port (J4). Note that there are two standards for num- assembly directly through the chassis ground.
Serial Port A is also 2.3.1 SRAM the port that is used for software development under The RabbitCore RCM2100 series is designed to Dynamic C. accept 32K to 512K of SRAM packaged in an SOIC The RabbitCore RCM2100 has a 10-pin program case.
#define CLOCK_DOUBLED 0 // set to 1 to double the clock if XTAL<=12.9MHz, Change the serial baud rate to 57,600 bps when the RabbitCore RCM2100 series is operated at 11.05 MHz. Save the change using File > Save.
Page 21
The battery-backup circuit serves two purposes: when the external power goes off. The switch pro- vides an isolation between Vcc and the battery when • It reduces the battery voltage to the real-time Vcc goes low. This prevents the Vcc line from clock, thereby reducing the current consumed draining the battery.
Figure 2–10. The RabbitCore RCM2100 is automatically in pro- gram mode when the PROG connector on the pro- The RabbitCore RCM2100 series is now ready to gramming cable is attached, and is automatically in operate in the run mode.
Software Reference 3 Dynamic C Premier is an integrated development system for writing embed- ded software. It runs on an IBM-compatible PC and is designed for use with Z-World controllers and other controllers based on the Rabbit microprocessor. Chapter 3 provides the libraries, function calls, and sample programs related to the RabbitCore RCM2100.
The periodic interrupt function also hits the hardware watchdog timer. Software or Flash memory or RAM is selected with the “virtual” watchdog timers are available in 3–2 Software Reference RabbitCore RCM2100 Series...
Dynamic C Libraries The sample programs in the Dynamic C SAM- PLES/RCM2100 directory provide further exam- With Dynamic C running, click File > Open, and ples. select Lib. The following list of Dynamic C librar- ies will be displayed. 3.2.2 Serial Communication Drivers The Prototyping Board has room for an RS-232 chip for which the Rabbit serial library, RS232.LIB, provides a set of functions that send and receive...
Program Mode (see Section 2.5, “Programming Cable”) and must be connected to a PC using the programming cable. More complete information on Dynamic C is pro- vided in the Dynamic C Premier User’s Manual. 3–4 Software Reference RabbitCore RCM2100 Series...
Upgrading Dynamic C ply copy over an entire file since you may overwrite a bug fix; of course, you may copy over any pro- Dynamic C patches that focus on bug fixes are grams you have written. Once you are sure the new available from time to time.
RabbitCore RCM2100 Specifications A Appendix A provides the specifications for the RabbitCore RCM2100, and describes the conformal coating. User’s Manual RabbitCore RCM2100 Specifications A–1...
R5 and elected to ground the RJ-45 Ethernet con- nector to the chassis. Table A–3: Capacitance of Rabbit 2000 I/O Ports Input Output I/O Ports Capacitance Capacitance (pF) (pF) Parallel Ports A to E Data Lines BD0–BD7 Address Lines BA0–BA12 A–4 RabbitCore RCM2100 Specifications RabbitCore RCM2100 Series...
Page 33
Figure A–3 shows a typical timing diagram for the Rabbit 2000 microprocessor memory read and write cycles. Memory Read (no wait states) A[19:0] valid T adr T setup D[7:0] valid T hold /CSx valid /OEx Memory Write (no extra wait states) A[19:0] valid T adr...
CMOS Switching = 5.0 V, 25°C Threshold = See Table A–5 CMOS Output Low (sinking) Voltage = 4.5 V = See Table A–5 CMOS Output High (sourcing) 0.7 x V Voltage = 4.5 V A–6 RabbitCore RCM2100 Specifications RabbitCore RCM2100 Series...
A.4 I/O Buffer Sourcing and per pin. Address pin A0 and data pin D0 are rated at 16 mA each. Pins A1–A12 and D1–D7 are each Sinking Limit rated at 8 mA. The absolute maximum operating Unless otherwise specified, the Rabbit I/O buffers voltage on all I/O is V + 0.5 V, or 5.5 V.
Semiconductor Technical Note 303, dures for surface-mounted components. A new con- formal coating should then be applied to offer Conformal Coatings. continuing protection against the effects of mois- ture and contaminants. A–8 RabbitCore RCM2100 Specifications RabbitCore RCM2100 Series...
Power Supply B Appendix B provides information on the current requirements of the RabbitCore RCM2100, and some background on the chip select circuit used in power mange- ment. B.1 Power Supplies The current drain on the battery in a battery-backed circuit must be kept to a minimum.
This delay is typically very small, about 10 ns SRAM. When power is removed from the circuit, to 15ns. the transistors will turn off and isolate /CSRAM B–2 Power Supply RabbitCore RCM2100 Series...
Programming Cable C ™ Appendix C provides additional theoretical information for the Rabbit 2000 microprocessor when using the connectors on the program- DIAG PROG ming cable. The connector is used only when the programming cable is PROG attached to the programming connector (header J5) while a new application is being developed.
Page 40
SMODE1 and SMODE0 pins are not con- cold-boot mode has been disabled. nected to this connector. The programming port is then enabled as a diagnostic port by polling the port periodically to see if communication needs to begin C–2 Programming Cable RabbitCore RCM2100 Series...
Sample Circuits D This appendix details several basic sample circuits that can be used with the RabbitCore RCM2100 series modules. • RS-232/RS-485 Serial Communication • Keypad and LCD Connections • Keypad and LCD Connections • D/A Converter User’s Manual Sample Circuits...
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 sec- ond inverting op-amp. All lows produce 0 V out, FF produces 10 V out. The output can be scaled by chang- ing the feedback resistors on the op-amps.
External Interrupts E Appendix E provides information about using the RabbitCore RCM2100 external interrupts. The Rabbit 2000 microprocessor has four external Figure E–1 illustrates these pins. interrupt inputs on Parallel Port E, which is accessed through pins PE0–PE7 on header J2. Table E–1 lists the general-purpose Parallel Port E I/O or INT0A I/O pins that can be used for external interrupts.
When the edge detector detects the rising or falling SPURIOUS INTERRUPT edge that it is programmed to detect, it sets a flip- flop that drives the output of the edge detector. The Figure E–3: Interrupt Sequences with Lost or Spurious Interrupts E–2 External Interrupts RabbitCore RCM2100 Series...
Single-Interrupt Request Remove R26 and tie the inputs for external interrupt #1 and #0 together by adding a 1 kΩ resistor at R59. Figure E–4 shows the locations of the resistors. Top Side Bottom Side Flash EPROM R58 R59 Figure E–4: Locations of SMT Resistors to Change for External Interrupts Under this configuration, shown in Figure E–5, programmed priority of interrupt #0.
R23, and install 1 kΩ resistors at R25 and R58. Although Dynamic C Premier does not support this Figure E–4 shows the locations of the resistors. option, an external interrupt may be generated using the RealTek RTL8019AS chip, U3. Remove R22 E–4 External Interrupts RabbitCore RCM2100 Series...
Page 51
Index Dynamic C ......3-1 compile in flash memory or additional information ..1-3 jumper settings RAM option ....3-2 memory size .....2-9 libraries ......3-3 operating system framework 3-2 backup-battery circuit ..2-10 upgrades and patches ..3-5 external battery manuals ........1-3 use ........3-2 connections ....
Page 52
....3-4 Run Mode ......2-12 PONG.C ....... 3-4 switching modes .....2-12 Rabbit 2000 timing diagram A-5 RCM2100 ....3-4 relative pin 1 locations ..A-4 TCPIP ......3-4 serial communication drivers 3-3 switching modes ....2-12 Index RabbitCore RCM2100 Series...
Page 53
Schematics The following schematics are included for user reference: 090–0114 RabbitCore RCM2100 090–0116 RCM2100 Prototyping Board 090–0085 Programming Cable User’s Manual Schematics...
Page 54
REVISION HISTORY REVISION APPROVAL PROJECT APPROVAL DOCUMENT APPROVAL DESCRIPTION OF CHANGE DATE ENGINEER DATE CONTROL SRAM SRAM select FLASH 1 FLASH 1 select FLASH 2 FLASH 2 select ETHERNET OPTION PORTS D-E OPTION INTERRUPT/JUMPER OPTIONS APPEND THE FOLLOWING DRAWING CONTENT: DOCUMENTS WHEN CHANGING THIS DOCUMENT: 2900 SPAFFORD ST.
Page 56
REVISION APPROVAL REVISION APPROVAL REVISION HISTORY REVISION HISTORY PROJECT PROJECT APPROVAL APPROVAL DOCUMENT DOCUMENT APPROVAL APPROVAL DESCRIPTION DESCRIPTION ENGINEER ENGINEER DATE DATE CONTROL CONTROL DATE DATE APPEND THE FOLLOWING APPEND THE FOLLOWING DRAWING CONTENT: DRAWING CONTENT: DOCUMENTS WHEN CHANGING DOCUMENTS WHEN CHANGING THIS DOCUMENT: THIS DOCUMENT: 2900 SPAFFORD ST.
Page 58
REVISION HISTORY REVISION HISTORY REVISION APPROVAL REVISION APPROVAL PROJECT PROJECT APPROVAL APPROVAL DOCUMENT DOCUMENT APPROVAL APPROVAL DESCRIPTION DESCRIPTION ENGINEER ENGINEER DATE DATE CONTROL CONTROL DATE DATE APPEND THE FOLLOWING APPEND THE FOLLOWING DRAWING CONTENT: DRAWING CONTENT: DOCUMENTS WHEN CHANGING DOCUMENTS WHEN CHANGING THIS DOCUMENT: THIS DOCUMENT: WORLD...