Rabbit RabbitCore RCM3100 User Manual

Rabbit RabbitCore RCM3100 User Manual

C-programmable module
Hide thumbs Also See for RabbitCore RCM3100:
Table of Contents

Advertisement

Quick Links

Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com
Excellent Integrated System Limited
Excellent Integrated System Limited
Stocking Distributor
Stocking Distributor
Click to view price, real time Inventory, Delivery & Lifecycle Information:
Click to view price, real time Inventory, Delivery & Lifecycle Information:
Digi International
Digi International
101-0533
101-0533
For any questions, you can email us directly:
For any questions, you can email us directly:
sales@integrated-circuit.com
sales@integrated-circuit.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RabbitCore RCM3100 and is the answer not in the manual?

Questions and answers

Summary of Contents for Rabbit RabbitCore RCM3100

  • Page 1 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com Excellent Integrated System Limited Excellent Integrated System Limited Stocking Distributor Stocking Distributor Click to view price, real time Inventory, Delivery & Lifecycle Information: Click to view price, real time Inventory, Delivery &...
  • Page 2 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com RabbitCore RCM3100 C-Programmable Module User’s Manual 019–0115 • 070831–H...
  • Page 3 Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc. Rabbit 3000 and RabbitCore are trademarks of Rabbit Semiconductor Inc. The latest revision of this manual is available on the Rabbit Semiconductor Web site, www.rabbit.com, for free, unregistered download.
  • Page 4: Table Of Contents

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com ABLE OF ONTENTS Chapter 1. Introduction 1.1 RCM3100 Features ..........................1 1.2 Advantages of the RCM3100 .......................3 1.3 Development and Evaluation Tools......................3 1.4 How to Use This Manual ........................3 1.4.1 Additional Product Information ....................3 1.4.2 Online Documentation ........................3...
  • Page 5 B.4.1 Adding Other Components ......................52 B.4.2 Measuring Current Draw ......................52 B.4.3 Other Prototyping Board Modules and Options ................ 53 B.5 Use of Rabbit 3000 Parallel Ports...................... 54 Appendix C. LCD/Keypad Module C.1 Specifications............................. 57 C.2 Contrast Adjustments for All Boards ....................59 C.3 Keypad Labeling..........................
  • Page 6 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com Appendix E. Motor Control Features E.1 Overview ............................89 E.2 Header J6 ............................90 E.3 Using Parallel Port F ..........................91 E.3.1 Parallel Port F Registers ......................91 E.4 PWM Outputs.............................94 E.5 PWM Registers...........................95 E.6 Quadrature Decoder ...........................96...
  • Page 7 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com RabbitCore RCM3100...
  • Page 8: Chapter 1. Introduction

    (main oscillator and timekeeping), and the circuitry necessary for reset and management of battery backup of the Rabbit 3000’s internal real-time clock and the static RAM. Two 34-pin headers bring out the Rabbit 3000 I/O bus lines, parallel ports, and serial ports.
  • Page 9 In addition, there is an RCM3000 series of RabbitCore modules that includes Ethernet con- nectivity. The RabbitCore modules can be programed locally, remotely, or via a network using appropriate interface hardware. Appendix A, “RabbitCore RCM3100 Specifications,” provides detailed specifications for the RCM3100. RabbitCore RCM3100...
  • Page 10: Advantages Of The Rcm3100

    1.4.1 Additional Product Information Information about the RCM3100 and its associated Development Kit and Prototyping Board can be found in the RabbitCore RCM3100 User’s Manual, which is provided on the accompanying CD-ROM in both HTML and Adobe PDF format. In addition to the product-specific information contained in the RabbitCore RCM3100 User’s Manual (this manual), several higher level reference manuals are provided in...
  • Page 11 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com RabbitCore RCM3100...
  • Page 12: Chapter 2. Hardware Setup

    • 10-pin header to DB9 programming cable with integrated level-matching circuitry. • Dynamic C CD-ROM, with complete product documentation on disk. • Getting Started instructions. • A bag of accessory parts for use on the Prototyping Board. • Rabbit 3000 Processor Easy Reference poster. • Registration card. User’s Manual...
  • Page 13: Hardware Connections

    Should you need to remove the RCM3100 module, grasp it with your fingers along the sides by the connectors and gently work the module up to pull the pins away from the sockets where they are installed. Do not remove the module by grasping it at the top and bottom. RabbitCore RCM3100...
  • Page 14: Connect Programming Cable

    Development Kit—the programming cable has red shrink wrap around the RS-232 con- verter section located in the middle of the cable. Programming cables with blue or clear shrink wrap from other from other Rabbit Semiconductor kits are not designed to work with RCM3100 modules.
  • Page 15: Connect Power

    The red and black wires from the connec- tor can then be connected to the positive and negative connections on your power supply. The power supply should deliver 8 V–24 V DC at 8 W. RabbitCore RCM3100...
  • Page 16: Starting Dynamic C

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com 2.3 Starting Dynamic C Once the RCM3100 is connected as described in the preceding pages, start Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on dcrab_XXXX.exe the Dynamic C root directory, where are version-specific characters.
  • Page 17: Where Do I Go From Here

    1. Run all of the sample programs described in Chapter 3 to get a basic familiarity with Dynamic C and the RCM3100 module’s capabilities. 2. For further development, refer to the RabbitCore RCM3100 User’s Manual for details of the module’s hardware and software components.
  • Page 18: Chapter 3. Running Sample Programs

    UNNING AMPLE ROGRAMS To develop and debug programs for the RCM3100 (and for all other Rabbit Semiconductor hardware), you must install and use Dynamic C. Chapter 3 walks you through the sample programs associated with the RCM3100. 3.1 Introduction To help familiarize you with the RCM3100 modules, Dynamic C includes several sample programs.
  • Page 19: Sample Programs

    The test packets and response packets have different codes. Once you have loaded and executed these sample programs and have an understanding of how Dynamic C and the RCM3100 modules interact, you can move on and try the other sample programs, or begin building your own. RabbitCore RCM3100...
  • Page 20: Serial Communication

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com 3.2.1 Serial Communication The following sample programs can be found in the folder. SAMPLES\RCM3100\SERIAL —This program demonstrates hardware flow control by configuring •...
  • Page 21 681 W illustrate RS-485 master/slave com- bias munication. To run these sample pro- termi- 220 W grams, you will need a second Rabbit- nation based system with RS-485, and you bias 681 W will also have to add an RS-485 trans- ceiver such as the SP483E and bias 485–...
  • Page 22: Real-Time Clock

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com 3.2.2 Real-Time Clock If you plan to use the real-time clock functionality in your application, you will need to set the real-time clock.
  • Page 23 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com RabbitCore RCM3100...
  • Page 24: Chapter 4. Hardware Reference

    Chapter 2 describes the hardware components and principal hardware subsystems of the RCM3100. Appendix A, “RabbitCore RCM3100 Specifications,” provides complete physical and electrical specifica- tions. Figure 4 shows these Rabbit-based subsystems designed into the RCM3100. 14.7 MHz 32 kHz crystal...
  • Page 25: Rcm3100 Digital Inputs And Outputs

    Headers J1 and J2 are The signals labeled PD0–PD3, PD6, and PD7 on header J1 (pins 29–34) and the pin that is not connected (pin 33 on header J2) are reserved for future use on other RabbitCore mod- ules. RabbitCore RCM3100...
  • Page 26 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com Figure 6 shows the use of the Rabbit 3000 ports in the RCM3100 RabbitCore modules. PB0, PA0–PA7 PD0–PD7 PB2–PB7 Port A...
  • Page 27 (programming port) Input Input/Output TCLKF Serial Clock F output Input/Output RCLKF Serial Clock F input Output Serial Port F Input Input/Output ATXB Input/Output ARXB Input/Output Input/Output Input/Output Input/Output Input/Output Input/Output Pins 29–34 are reserved for future RCM3100 RabbitCore modules. RabbitCore RCM3100...
  • Page 28 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com Table 2. RCM3100 Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes Reset output from Reset /RES Reset output Reset input Generator Input/Output...
  • Page 29 Cold boot from asynchronous Serial Port A at 2400 bps (programming cable connected) /RESET_IN Input Input to Reset Generator Maximum Current Draw VRAM Output 15 µA Minimum battery VBAT_EXT 3 V battery Input voltage 2.8 V +3.3V Input 3.15–3.45 V DC n.c. RabbitCore RCM3100...
  • Page 30: Memory I/O Interface

    When a 5 V signal is applied to 5 V tolerant pins, they present a high impedance even if the Rabbit power is off. The 5 V tolerant feature allows 5 V devices that have a suitable switching threshold to be connected directly to the RCM3100. This includes HCT family parts operated at 5 V that have an input threshold between 0.8 and 2 V.
  • Page 31: Serial Communication

    Either of the two communicating devices can sup- ply the clock. When the Rabbit 3000 provides the clock, the baud rate can be up to 80% of the system clock frequency divided by 128, or 183,750 bps for a 29.4 MHz clock speed.
  • Page 32: Serial Programming Cable

    3. It can also serve as a general-purpose output. The /RESET_IN pin is an external input that is used to reset the Rabbit 3000 and the RCM3100 onboard peripheral circuits. The serial programming port can be used to force a hard reset on the RCM3100 by asserting the /RESET_IN signal.
  • Page 33: Standalone Operation Of The Rcm3100

    RCM3100 is in the Program Mode. Refer to the for more information on the pro- Rabbit 3000 Microprocessor User’s Manual gramming port and the programming cable. 4.3.2 Standalone Operation of the RCM3100 The RCM3100 must be programmed via the Prototyping Board or via a similar arrange- ment on a customer-supplied board.
  • Page 34: Other Hardware

    4.4.2 Spectrum Spreader The Rabbit 3000 features a spectrum spreader, which helps to mitigate EMI problems. By default, the spectrum spreader is on automatically, but it may also be turned off or set to a stronger setting.
  • Page 35: Memory

    4.5.2 Flash EPROM The RCM3100 can accept 256K to 512K of flash EPROM. 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.
  • Page 36: Chapter 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 devices and other devices based on the Rabbit microprocessor. Chapter 4 provides the libraries and function calls related to the RCM3100.
  • Page 37 LCD display and keypad drivers. • Powerful language extensions for cooperative or preemptive multitasking • Loader utility program to load binary images into Rabbit targets in the absence of Dynamic C. • Provision for customers to create their own source code libraries and augment on-line help by creating “function description”...
  • Page 38: Dynamic C Function Calls

    Port E bits as inputs, or use WrPortI(PEDDR, &PEDDRShadow, 0xFF); to set all the Port E bits as outputs. When using the auxiliary I/O bus on the Rabbit 3000 chip, add the line #define PORTA_AUX_IO // required to enable auxiliary I/O bus to the beginning of any programs using the auxiliary I/O bus.
  • Page 39: Upgrading Dynamic C

    Dynamic C is a complete software development system, but does not include all the Dynamic C features. Rabbit Semicon- ductor also offers add-on Dynamic C modules containing the popular µC/OS-II real-time operating system, as well as PPP, Advanced Encryption Standard (AES), and other select libraries.
  • Page 40: Appendix A. Rabbitcore Rcm3100 Specifications

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com A. R RCM3100 PPENDIX ABBIT PECIFICATIONS Appendix A provides the specifications for the RCM3100, and describes the conformal coating. User’s Manual...
  • Page 41: Electrical And Mechanical Characteristics

    0.100 dia (2.5) R30 U6 1.375 (34.9) 1.850 (47.0) 1.650 (41.9) 1.850 (47.0) Figure A-1. RCM3100 Dimensions NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. All dimensions have a manufacturing tolerance of ±0.01" (0.25 mm). RabbitCore RCM3100...
  • Page 42 Max. asynchronous baud rate = CLK/8 A slave port allows the RCM3100 to be used as a master or as an Slave Interface intelligent peripheral device with Rabbit-based or any other type of processor Real-Time Clock Ten 8-bit timers (6 cascadable from the first),...
  • Page 43: Exclusion Zone

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com Table A-1. RabbitCore RCM3100 Specifications (continued) Feature RCM3100 RCM3110 Operating Temperature –40°C to +85°C Humidity 5% to 95%, noncondensing Connectors (for connection to Two 2 ×17, 2 mm pitch...
  • Page 44: Headers

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com A.1.2 Headers The RCM3100 uses headers at J1 and J2 for physical connection to other boards. J1 and J2 are 2 × 17 SMT headers with a 2 mm pin spacing. J3, the programming port, is a 2 × 5 header with a 2 mm pin spacing.
  • Page 45: Bus Loading

    You must pay careful attention to bus loading when designing an interface to the RCM3100. This section provides bus loading information for external devices. Table A-2 lists the capacitance for the various RCM3100 I/O ports. Table A-2. Capacitance of Rabbit 3000 I/O Ports Input Output...
  • Page 46 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com Figure A-4 shows a typical timing diagram for the Rabbit 3000 microprocessor external I/O read and write cycles. A[15:0] valid...
  • Page 47 If the doubler is not enabled, then every clock is shortened during the low part of the clock period. The maxi- mum shortening for a pair of clocks combined is shown in the table. RabbitCore RCM3100...
  • Page 48: Rabbit 3000 Dc Characteristics

    T = –55°C to +125°C. Note that while the Rabbit 3000 is rated to operate over a voltage range from 3.0–3.6 V, the RCM3100 has a more restrictive operating voltage range of 3.15–3.45 V DC.
  • Page 49: I/O Buffer Sourcing And Sinking Limit

    Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com A.4 I/O Buffer Sourcing and Sinking Limit Unless otherwise specified, the Rabbit 3000 I/O buffers are capable of sourcing and sink- ing 6.8 mA of current per pin at full AC switching speed. Full AC switching assumes a 29.4 MHz CPU clock and capacitive loading on address and data lines of less than 70 pF...
  • Page 50: Conformal Coating

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com A.5 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-5.
  • Page 51: Jumper Configurations

    2–3 Bank Mode × 1–2 128K/256K Flash Memory Size 2–3 512K 1–2 128K/256K RCM3100 Flash Memory Size 2–3 512K 1–2 128K RCM3110 SRAM Size 2–3 512K RCM3100 NOTE: The jumper connections are made using 0 Ω surface-mounted resistors. RabbitCore RCM3100...
  • Page 52: Appendix B. Prototyping Board

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com B. P PPENDIX ROTOTYPING OARD Appendix B describes the features and accessories of the Proto- typing Board, and explains the use of the Prototyping Board to demonstrate the RCM3100 and to build prototypes of your own circuits.
  • Page 53: Introduction

    UX13 PROTOTYPING BOARD RCM2JA RCM2JB RESET RxC TxC /RES STATUS DISPLAY BOARD DISPLAY BOARD RS-232 TxB RxB User LCD/Keypad Reset RS-232 LEDs Master Module Module Switch Extension Headers Signal User Connections Header Switches Figure B-1. RCM30/31/32XX Prototyping Board RabbitCore RCM3100...
  • Page 54: Prototyping Board Features

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com B.1.1 Prototyping Board Features Power Connection —A power-supply jack and a 3-pin header are provided for con- • nection to the power supply. Note that the 3-pin header is symmetrical, with both outer pins connected to ground and the center pin connected to the raw V+ input.
  • Page 55 +5 V or the +3.3 V supplies, respectively. —A motor/encoder header is provided at header J6 for future use. • Motor Encoder —Rabbit Semiconductor’s LCD/keypad module may be plugged • LCD/Keypad Module in directly to headers J7, J8, and J10.
  • Page 56: Mechanical Dimensions And Layout

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com B.2 Mechanical Dimensions and Layout Figure B-2 shows the mechanical dimensions and layout for the Prototyping Board. 1.025 5.55 0.20 (26) (141) +3.3V...
  • Page 57: Power Supply

    The Prototyping Board itself is protected against reverse polarity by a Shottky diode at D2 as shown in Figure B-3. LINEAR POWER REGULATOR SWITCHING POWER REGULATOR +3.3 V +5 V J9/J11 LM1117 DCIN +RAW DL4003 340 µF 10 µF 47 µF 330 µH LM2575 1N5819 Figure B-3. Prototyping Board Power Supply RabbitCore RCM3100...
  • Page 58: Using The Prototyping Board

    RCM3100. Two LEDs (DS1 and DS2) are connected to PG6 and PG7, and two switches (S2 and S3) are connected to PG1 and PG0 to demonstrate the interface to the Rabbit 3000 microprocessor. Reset switch S1 is the hardware reset for the RCM3100.
  • Page 59: Adding Other Components

    +5 V and the +3.3 V regulated voltages respectively. You may remove a jumper and place an ammeter across the pins instead, as shown in the example in Figure B-5, to measure the current being drawn. Figure B-5. Prototyping Board Current-Measurement Option RabbitCore RCM3100...
  • Page 60: Other Prototyping Board Modules And Options

    The RCM3100 has a 2-channel quadrature decoder and a 10-bit free-running PWM counter with four pulse-width registers. These features allow the RCM3100 to be used in a motor control application, although Rabbit Semiconductor does not offer the drivers or a compatible stepper motor control board at this time.
  • Page 61: Use Of Rabbit 3000 Parallel Ports

    Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com B.5 Use of Rabbit 3000 Parallel Ports Table B-2 lists the Rabbit 3000 parallel ports and their use for the RCM30/31/32XX Prototyping Board. Table B-2. RCM30/31/32XX Prototyping Board...
  • Page 62 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com Table B-2. RCM30/31/32XX Prototyping Board Use of Rabbit 3000 Parallel Ports (continued) Port Initial State Input Switch S3 (normally open)
  • Page 63 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com RabbitCore RCM3100...
  • Page 64: Appendix C. Lcd/Keypad Module

    LCD/keypad module on the Prototyping Board. Either version of the LCD/keypad module can be installed at a remote location up to 60 cm (24") away. Contact your Rabbit Semi- conductor sales representative or your authorized Rabbit Semiconductor distributor for further assistance in purchasing an LCD/keypad module.
  • Page 65 NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. All dimen- sions have a manufacturing toler- ance of ±0.01" (0.25 mm). 0.200 0.500 (5.1) (12.7) 1.450 (36.8) 2.200 (55.9) Figure C-2. User Board Footprint for LCD/Keypad Module RabbitCore RCM3100...
  • Page 66: Contrast Adjustments For All Boards

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com C.2 Contrast Adjustments for All Boards Starting in 2005, LCD/keypad modules were factory-configured to optimize their contrast based on the voltage of the system they would be used in. Be sure to select a KDU5V LCD/keypad module for use with the RCM3000/3100/3200 Prototyping Board —...
  • Page 67: Keypad Labeling

    Figure C-4. The keypad legend is located under the blue key- pad matte, and is accessible from the left only as shown in Figure C-5. Keypad label is located under the blue keypad matte. Figure C-5. Removing and Inserting Keypad Label RabbitCore RCM3100...
  • Page 68: Header Pinouts

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com C.4 Header Pinouts Figure C-6 shows the pinouts for the LCD/keypad module. Figure C-6. LCD/Keypad Module Pinouts C.4.1 I/O Address Assignments The LCD and keypad on the LCD/keypad module are addressed by the /CS strobe as explained in Table C-2.
  • Page 69: Mounting Lcd/Keypad Module On The Prototyping Board

    VRAM /RES RC25 /IORD DISPLAY BOARD /IOWR RC27 RC28 RC29 RC26 RCM30/31/32XX SERIES UX13 PROTOTYPING BOARD RCM2JA RCM2JB RESET RxC TxC /RES STATUS DISPLAY BOARD DISPLAY BOARD RS-232 TxB RxB Figure C-7. Install LCD/Keypad Module on Prototyping Board RabbitCore RCM3100...
  • Page 70: Bezel-Mount Installation

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com C.6 Bezel-Mount Installation This section describes and illustrates how to bezel-mount the LCD/keypad module. Fol- low these steps for bezel-mount installation. 1.
  • Page 71 Do not tighten each screw fully before moving on to the next screw. Apply only one or two turns to each screw in sequence until all are tightened manually as far as they can be so that the gasket is compressed and the plastic bezel faceplate is touching the panel. RabbitCore RCM3100...
  • Page 72: Connect The Lcd/Keypad Module To Your Prototyping Board

    Note the locations and connections relative to pin 1 on both the RCM30/31/32XX Proto- typing Board and the LCD/keypad module. Rabbit Semiconductor offers 2 ft. (60 cm) extension cables. Contact your authorized dis- tributor or a Rabbit Semiconductor sales representative for more information.
  • Page 73: Lcd/Keypad Module Function Calls

    C.7 LCD/Keypad Module Function Calls When mounted on the Prototyping Board, the LCD/keypad module uses the auxiliary I/O bus on the Rabbit 3000 chip. Remember to add the line #define PORTA_AUX_IO to the beginning of any programs using the auxiliary I/O bus.
  • Page 74: Lcd Display

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com C.7.3 LCD Display The functions used to control the LCD display are contained in the library GRAPHIC.LIB located in the Dynamic C library directory.
  • Page 75 RETURN VALUE None. SEE ALSO glFillScreen, glBlankScreen, glPlotPolygon, glPlotCircle RabbitCore RCM3100...
  • Page 76 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com void glPlotVPolygon(int n, int *pFirstCoord); Plots the outline of a polygon in the LCD page buffer, and on the LCD if the buffer is unlocked. Any portion of the polygon that is outside the LCD display area will be clipped.
  • Page 77 (in pixels). RETURN VALUE None. SEE ALSO glFillCircle, glPlotPolygon, glFillPolygon RabbitCore RCM3100...
  • Page 78 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com void glFillCircle(int xc, int yc, int rad); Draws a filled circle in the LCD page buffer and on the LCD if the buffer is unlocked. Any portion of the circle that is outside the LCD display area will be clipped.
  • Page 79 RETURN VALUE The x step is returned in the MSB, and the y step is returned in the LSB of the integer result. SEE ALSO Use glGetPfStep() to control the x and y printing step direction. RabbitCore RCM3100...
  • Page 80 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com void glPutChar(char ch, char *ptr, int *cnt, glPutCharInst *pInst) STDIO Provides an interface between the string-handling functions and the graphic library. The STDIO string-formatting function will call this function, one character at a time, until the entire format- ted string has been parsed.
  • Page 81 Sets the drawing method (or color) of pixels drawn by subsequent graphic calls. PARAMETER type value can be one of the following macros. PIXBLACK draws black pixels. PIXWHITE draws white pixels. PIXXOR draws old pixel XOR'ed with the new pixel. RETURN VALUE None. SEE ALSO glGetBrushType RabbitCore RCM3100...
  • Page 82 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com int glGetBrushType(void); Gets the current method (or color) of pixels drawn by subsequent graphic calls. RETURN VALUE The current brush type. SEE ALSO glSetBrushType void glPlotDot(int x, int y);...
  • Page 83 8, otherwise truncates. rows is the number of rows in the window. RETURN VALUE None. SEE ALSO glVScroll, glDown1 RabbitCore RCM3100...
  • Page 84 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com void glDown1(int left, int top, int cols, int rows); Scrolls byte-aligned window down one pixel, top column is filled by current pixel type (color). PARAMETERS left is the top left corner of bitmap, must be evenly divisible by 8, otherwise truncates.
  • Page 85 RETURN VALUE None. SEE ALSO glXPutFastmap, glPrintf RabbitCore RCM3100...
  • Page 86 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com void glXPutFastmap(int left, int top, int width, int height, unsigned long bitmap); Draws bitmap in the specified space. The data for the bitmap are stored in xmem. This function is like glXPutBitmap, except that it is faster.
  • Page 87 LCD display area, the character will not be displayed. NOTE: Execute the function before using this function. TextWindowFrame PARAMETERS *window is a pointer to a font descriptor. ch is a character to be displayed on the LCD. RETURN VALUE None. SEE ALSO TextGotoXY, TextPrintf, TextWindowFrame, TextCursorLocation RabbitCore RCM3100...
  • Page 88 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com void TextPrintf(struct windowFrame *window, char *fmt, ...); Prints a formatted string (much like printf) on the LCD screen. Only printable characters in the font set are printed, also escape sequences, '\r' and '\n' are recognized.
  • Page 89: Keypad

    How long to hold before repeating. 0 = No Repeat. cSpdLo is a low-speed repeat tick. How many times to repeat. 0 = None. cCntLo is a low-speed hold tick. How long to hold before going to high-speed repeat. 0 = Slow Only. RabbitCore RCM3100...
  • Page 90 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com cSpdHi is a high-speed repeat tick. How many times to repeat after low speed repeat. 0 = None. RETURN VALUE None.
  • Page 91 Writes "1" to each row and reads the value. The position of a keypress is indicated by a zero value in a bit position. PARAMETER *pcKeys is the address of the value read. RETURN VALUE None. SEE ALSO keyConfig, keyGet, keypadDef, keyProcess RabbitCore RCM3100...
  • Page 92: Sample Programs

    Board are provided in the directory. SAMPLES\RCM3100 These sample programs use the auxiliary I/O bus on the Rabbit 3000 chip, and so the line is already included in the sample programs. #define PORTA_AUX_IO Each sample program has comments that describe the purpose and function of the pro- gram.
  • Page 93 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com RabbitCore RCM3100...
  • Page 94: Appendix D. Power Supply

    The RCM3100 does not have a battery, but there is provision for a customer-supplied bat- tery to back up SRAM and keep the internal Rabbit 3000 real-time clock running. Header J2, shown in Figure D-1, allows access to the external battery. This header makes it possible to connect an external 3 V power supply.
  • Page 95: Reset Generator

    D.1.2 Reset Generator The RCM3100 uses a reset generator to reset the Rabbit 3000 microprocessor when the volt- age drops below the voltage necessary for reliable operation. The reset occurs between 2.55 V and 2.70 V, typically 2.63 V. The RCM3100 has a reset output, pin 1 on header J2.
  • Page 96: Appendix E. Motor Control Features

    Parallel Port F, along with +5 V. This appendix describes the function of each pin, and the ways they may be used for motion-control applications. It should be read in conjunction with the Rabbit 3000 Microprocessor User’s Manual and the RCM3100 and the RCM3000/RCM3100/RCM3200 Prototyping Board schematics.
  • Page 97: Header J6

    2.2 V typ logic high and/or the 6 mA maximum from the Rabbit 3000. The +5 V supply output is provided for supply- ing interface logic. When used as inputs, the pins on header J6 do not require buffers unless the input voltage will exceed the 5 V tolerance of the processor pins.
  • Page 98: Using Parallel Port F

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com E.3 Using Parallel Port F Parallel Port F is a byte-wide port with each bit programmable for data direction and drive. These are simple inputs and outputs controlled and reported in the Port F Data Register.
  • Page 99 Bit 5 carries PWM[1] output Bit 6 carries PWM[2] output Bit 7 carries PWM[3] output Port F Drive Control Register PFDCR 00111110 (0x3E) xxxxxxxx Bits Value Description Corresponding port bit is active high or low Corresponding port bit is open drain RabbitCore RCM3100...
  • Page 100 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com Table E-2. Parallel Port F Registers (continued) Register Name Mnemonic I/O Address Reset Value Port F Data Direction Register PFDDR 00111111 (0x3F) 00000000 Bits...
  • Page 101: Pwm Outputs

    (65 counts) (64 counts) n=258, spread (65 counts) (65 counts) (65 counts) (64 counts) n=259, spread (65 counts) (65 counts) (65 counts) (65 counts) n=259, normal (260 counts) Figure E-1. PWM Outputs for Various Normal and Spread Modes RabbitCore RCM3100...
  • Page 102: Pwm Registers

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com E.5 PWM Registers There are no default values on reset for any of the PWM registers. Table E-4. PWM Registers PWM LSBs Register Address...
  • Page 103: Quadrature Decoder

    I and Q inputs are sampled in different clock cycles. The Input Capture (see the Rabbit 3000 Microprocessor Users Manual) may be used to measure the pulse width on the I inputs because they come from the odd-numbered port bits.
  • Page 104 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com The Quadrature Decoder generates an interrupt when the counter increments from 0x00 to 0x01 or when the counter decrements from 0x00 to 0xFF. Note that the status bits in the QDCSR are set coincident with the interrupt, and the interrupt (and status bits) are cleared by reading the QDCSR.
  • Page 105 Quadrature Decoder interrupt use Interrupt Priority Quadrature Decoder interrupt use Interrupt Priority Quad Decode Count Register QDC1R Address = 10010100 (0x94) (QDC2R) Address = 10010110 (0x96) Bit(s) Value Description The current value of the Quadrature Decoder read counter is reported. RabbitCore RCM3100...
  • Page 106: Index

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com NDEX function calls dispInit ......66 additional information exclusion zone ...... 36 header pinout ....61 online documentation ..3 I/O address assignments ...
  • Page 107 .........97 RS232.LIB .....31 physical mounting ....37 spectrum spreader time delays macros pinout ........40 USE_2NDFLASH_CODE LCD/keypad module ..61 Rabbit subsystems ....19 ........29 RCM3100 RCM3100 serial communication driv- alternate configurations .20 mounting on Prototyping ers ........31 RCM3100 headers .....18 Board .......6...
  • Page 108 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com specifications (continued) Rabbit 3000 DC characteristics ..41 digital I/O buffer sourcing and sinking limits ..42 timing diagram ....39 RCM3100 ......
  • Page 109 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com RabbitCore RCM3100...
  • Page 110: Schematics

    Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com CHEMATICS 090-0144 RCM3100 Schematic www.rabbit.com/documentation/schemat/090-0144.pdf 090-0137 RCM3000/RCM3100/RCM3200 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0137.pdf 090-0156 LCD/Keypad Module Schematic www.rabbit.com/documentation/schemat/090-0156.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf...
  • Page 111 Distributor of Digi International: Excellent Integrated System Limited Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100 Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com...

This manual is also suitable for:

Rabbitcore rcm3110

Table of Contents