RabbitCore RCM2000 User Manual

C-programmable module
Hide thumbs Also See for RCM2000:

Advertisement

Quick Links

RabbitCore RCM2000
C-Programmable Module
User's Manual
019–0077 • 010808–D

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for RabbitCore RCM2000

  • Page 1 RabbitCore RCM2000 C-Programmable Module User’s Manual 019–0077 • 010808–D...
  • Page 2: Notice To Users

    RabbitCore RCM2000 User’s Manual Part Number 019-0077 • 010808–D • Printed in U.S.A. ©2001 Z-World Inc. • All rights reserved. Z-World reserves the right to make changes and improvements to its products without providing notice. Notice to Users Z-WORLD PRODUCTS ARE NOT AUTHORIZED FOR USE AS...
  • Page 3: Table Of Contents

    ABLE OF ONTENTS Chapter 1. Introduction 1.1 Features ..............................2 1.2 Advantages of Using the RCM2000 .....................3 1.3 Development and Evaluation Tools......................3 1.3.1 Development Kit ...........................3 1.3.2 Documentation ..........................4 Chapter 2. Subsystems 2.1 Programming Cable ..........................6 2.1.1 Detailed Instructions: Changing from Program Mode to Run Mode..........6 2.1.2 Detailed Instructions: Changing from Run Mode to Program Mode..........6...
  • Page 4 C.2 Chip Select Circuit..........................38 Appendix D. Sample Circuits D.1 RS-232/RS-485 Serial Communication .................... 42 D.2 Keypad and LCD Connections......................43 D.3 LCD Connections ..........................44 D.4 External Memory..........................45 D.5 Simple D/A Converter........................46 Appendix E. Programming Cable Schematics RabbitCore RCM2000...
  • Page 5: Chapter 1. Introduction

    RAM. Two 40-pin headers bring out the Rabbit 2000 I/O bus, address lines, data lines, parallel ports, and serial ports. The RCM2000 receives its +5 V power from the user board on which it is mounted. The RCM2000 can interface will all kinds of digital devices through the user board.
  • Page 6: Features

    6.45 Mbps. Two ports are configurable as clocked ports. Appendix A, “Specifications,” provides detailed specifications for the RCM2000. Three versions of the RCM2000 are available. Their standard features are summarized in Table 1. Table 1. RCM2000 Features...
  • Page 7: Advantages Of Using The Rcm2000

    • Programming cable. The programming cable is used to connect your PC serial port directly to the RCM2000 to write and debug C programs that run on the Rabbit 2000. • AC adapter. The AC adapter is used to power the Prototyping Board and the RCM2000.
  • Page 8: Documentation

    • Our documentation is provided in paperless form on the CD-ROM included in the Development Kit. (A paper copy of the “Getting Started” page is included.) Most doc- uments, including this comprehensive RabbitCore RCM2000 User’s Manual, are pro- vided in two formats: HTML and PDF. HTML documents can be viewed with an Internet browser, either Netscape Navigator or Internet Explorer.
  • Page 9: Chapter 2. Subsystems

    2. S UBSYSTEMS Chapter 2 describes the principal subsystems for the RCM2000. • Programming Cable • RCM2000 Digital Inputs and Outputs • Serial Communication • Memory User’s Manual...
  • Page 10: Programming Cable

    J3 on the RCM2000. PROG 4. Reset the RCM2000. You may do this as explained in Figure 1. Figure 2 shows the location of the RESET button on the Prototyping Board. The RCM2000 is now ready to operate in the Program Mode.
  • Page 11: Rcm2000 Digital Inputs And Outputs

    Support Figure 3. RCM2000 Subsystems The RCM2000 has 40 parallel I/O lines grouped in five 8-bit ports available on headers J1 and J2. The 24 bidirectional I/O lines are located on pins PA0–PA7, PD0-PD7, and PE0- PE7. The pinouts for headers J1 and J2 are shown in Figure 4.
  • Page 12 The ports on the Rabbit 2000 microprocessor used in the RCM2000 are configurable, and so the factory defaults can be reconfigured. Table 2 lists the Rabbit 2000 factory defaults and the alternate configurations. Table 2. RCM2000 Pinout Configurations Pin Name...
  • Page 13 Table 2. RCM2000 Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes 1–13 A[12:0] Output Rabbit 2000 address bus STAT Output (Status) Output Output Input Output Input Output Input Output Input Output Connected to program- ming port Input 16 mA sourcing and 23–26...
  • Page 14: Dedicated Inputs

    Input Pullup Resistors Figure 5. Locations of Digital Input Pullup Resistors NOTE: All the digital input pullup resistors are located on the bottom side of RCM2000 boards marked 175-0168 PB2–PB5 can instead be used for the slave port. 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 (SD0–SD7), which is the alternate assignment for Parallel...
  • Page 15: Memory I/O Interface

    Thirteen of the Rabbit 2000 address lines (A0–A12) and all the data lines (D0–D7) are available as outputs on the RCM2000. I/0 write (/IOWR), I/0 read (/IORD), buffer enable (/BUFEN), and Watchdog Output (/WDO) are also available for interfacing to external devices.
  • Page 16: Serial Communication

    Rabbit 2000 Microprocessor User’s Manual provides more information related to the bootstrap mode. The programming port is used to start the RCM2000 in a mode where it will download a program from the port and then execute the program. The programming port transmits information to and from a PC while a program is being debugged.
  • Page 17: Clock Doubler

    #define CLOCK_DOUBLED 0 // set to 1 to double the clock if XTAL<=12.9MHz, 3. Change the serial baud rate to 57,600 bps when the RCM2000 is operated at 12.9 MHz or 9.2 MHz. 4. Save the change using File >...
  • Page 18: Memory

    2.6 Memory 2.6.1 SRAM The RCM2000 is designed to accept 32K to 512K of SRAM packaged in an SOIC case. The existing standard models of the RCM2000 come with 128K or 512K of SRAM. Figure 6 shows the locations and the jumper settings for the jumpers at JP1 used to set the SRAM size.
  • Page 19: Dynamic C Bios Source Files

    A Flash Memory Bank Select jumper configuration option exists at JP3 with 0 Ω surface- mounted resistors. This provision allows the code space in the flash memory to be split in half so that one flash memory chip can emulate the two flash memory chips found on some Z-World single-board computers.
  • Page 20 RabbitCore RCM2000...
  • Page 21: Chapter 3. Software Reference

    Rabbit micropro- cessor. Chapter 3 provides the libraries, function calls, and sam- ple programs related to the RCM2000. 3.1 More About Dynamic C Dynamic C has been in use worldwide since 1989. Dynamic C is specially designed for programming embedded systems.
  • Page 22: Operating System Framework

    NOTE: Do not depend on the flash sector size remaining constant on all boards. Due to the volatility of the flash market, the RCM2000 and Dynamic C were designed to accommodate flash devices with various sector sizes. When using flash EPROM, the compile to a file is followed by a download to the flash EPROM.
  • Page 23: I/O

    3.2 I/O The RCM2000 was designed to interface with other systems, and so there are no drivers written specifically for this purpose. 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);...
  • Page 24: Serial Communication Drivers

    For more information, see the Dynamic C Premier User’s Manual and Tech- nical Note 213, Rabbit 2000 Serial Port Software. RabbitCore RCM2000...
  • Page 25: Appendix A. Specifications

    A. S PPENDIX PECIFICATIONS Appendix A provides the specifications for the RCM2000, and describes the conformal coating. User’s Manual...
  • Page 26: Electrical And Mechanical Specifications

    2.30 (58.4) 1.90 (48.3) Figure A-1. RCM2000 Dimensions Table A-1 provides the pin 1 locations for the RCM2000 headers viewed from the top side (as in Figure A-1). Table A-1. RCM2000 Header Pin 1 Locations Pin 1 (x,y) Header Description...
  • Page 27 Table A-2 lists the electrical, mechanical, and environmental specifications for the RCM2000. Table A-2. RCM2000 Specifications Parameter Specification 1.90" × 2.30" × 0.50" Board Size (48.3 mm × 58.4 mm × 12.7 mm) Operating Temperature –40°C to +85°C Storage Temperature –55°C to +125°C...
  • Page 28: Headers

    J2 are 2 × 20 SMT headers with a 2 mm pin spacing. J3 is a 2 × 5 header with a 2 mm pin spacing. Figure A-2 shows the layout of another board for the RCM2000 to be plugged in to. These values are relative to the header connectors.
  • Page 29: Bus Loading

    A.2 Bus Loading This You must pay careful attention to bus loading when designing an interface to the RCM2000. section provides bus loading for external devices. Table A-3 lists the capacitance for the various RCM2000 I/O ports. Table A-3. Capacitance of RCM2000 I/O Ports...
  • Page 30 T is the data setup time relative to the clock. Tsetup is specified from setup 30%/70% of the V voltage level. Add 1.5 ns to T for each 10 pF of additional bus loading above 70 pF. RabbitCore RCM2000...
  • Page 31: Rabbit 2000 Dc Characteristics

    A.3 Rabbit 2000 DC Characteristics Table A-5 outlines the DC characteristics for the Rabbit 2000 at 5.0 V over the recom- mended operating temperature range from T = –40°C to +85°C, V = 4.5 V to 5.5 V. Table A-5. 5.0 Volt DC Characteristics Symbol Parameter Test Conditions...
  • Page 32: I/O Buffer Sourcing And Sinking Limit

    Some of the values listed are different from those listed in the Rabbit 2000 Microproces- sor User’s Manual to take into account external loading of the Rabbit 2000 while it is part of the RCM2000. Loads that exceed the values listed above need to be buffered. RabbitCore RCM2000...
  • Page 33: Appendix B. Prototyping Board

    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 RCM2000 and to build prototypes of your own circuits. User’s Manual...
  • Page 34: Mechanical Dimensions And Layout

    B.1 Mechanical Dimensions and Layout Figure B-1 shows the mechanical dimensions and layout for the RCM2000 Prototyping Board. RS-232 4.30 (110) Figure B-1. RCM2000 Prototyping Board Dimensions Table B-1 lists the electrical, mechanical, and environmental specifications for the Proto- typing Board..
  • Page 35: Power Supply

    B.2 Power Supply The RCM2000 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 LM340-T5 or equivalent. The LM340-T5 is an inexpensive linear regulator that is easy to use.
  • Page 36: Bottom Side

    Figure B-3) is a mirror image of the top side pinout. The Prototyping Board provides the user with RCM2000 connection points brought out con- veniently to labeled points at headers J2 and J4 on the Prototyping Board. Small to medium circuits can be prototyped using point-to-point wiring with 20 to 30 AWG wire between the prototyping area and the holes at locations J2 and J4.
  • Page 37 /RES_IN /WDO /BUFEN Figure B-4. RCM2000 Prototyping Board Pinout (Top View) A pair of small holes capable of holding 30 AWG wire appears to the side of each hole pair at locations J2 and J4 for convenience of point-to-point wiring when headers are installed.
  • Page 38: Adding Other Components

    30 AWG wire can be soldered (standard wire wrap wire can be soldered in for point-to-point wiring on the Prototyping Board). Because the traces are very thin, carefully determine which set of holes is connected to which surface mount pad. RabbitCore RCM2000...
  • Page 39: Appendix C. Power Management

    The RCM2000 requires a regulated 5 V ± 0.25 V DC power source. An RCM2000 with no loading at the outputs operating at 18.432 MHz typically draws 88 mA, and an RCM2000 operating at 25.8048 MHz typically draws 120 mA. The RCM2000 will consume 13 mA to 15 mA of additional current when the programming cable is used to connect J3 to a PC.
  • Page 40: Battery-Backup Circuit

    The drain on the battery by the RCM2000 is typically 10 µA when no other power is sup- plied. If a 950 mA·h battery is used, the battery can last more than 6 years: 950 mA·h ----------------------- - 10.8 years (shelf life = 10 years).
  • Page 41: Power To Vram Switch

    The reset occurs between 4.50 V and 4.75 V, typically 4.63 V. The RCM2000 has a reset output, pin 37 on header J3, presented to the headers. The reset generator has a reset input, pin 38 on header J3, that can be used to force the RCM2000 to reset.
  • Page 42: Chip Select Circuit

    The current drain on the battery in a battery-backed circuit must be kept to a minimum. When the RCM2000 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.
  • Page 43 User’s Manual...
  • Page 44 RabbitCore RCM2000...
  • Page 45: Appendix D. Sample Circuits

    D. S PPENDIX AMPLE IRCUITS Appendix D provides these sample circuits that incorporate the RCM2000. • RS-232/RS-485 Serial Communication • Keypad and LCD Connections • LCD Connections • External Memory • Simple D/A Converter User’s Manual...
  • Page 46: Rs-232/Rs-485 Serial Communication

    100 nF C2– T1IN T1OUT T2IN T2OUT R1OUT R1IN R2OUT R2IN Rabbit 2000 Core Module RS-485 680 Ω 485+ 220 Ω 485– 680 Ω 47 kΩ SP483EN Figure D-1. Sample RS-232 and RS-485 Circuits Sample Program: PUTS.C SAMPLES/SERIAL RabbitCore RCM2000...
  • Page 47: Keypad And Lcd Connections

    D.2 Keypad and LCD Connections Rabbit 2000 Core Module 10 kΩ Keypad resistors Row 0 Row 2 Row 3 Row 4 Row 5 Row 1 Col 0 Col 1 Figure D-2. Sample Keypad Connections Sample Program: KEYLCD.C SAMPLES/COREMODULE 2x20 LCD Rabbit 2000 Core Module Figure D-3.
  • Page 48: Lcd Connections

    Figure D-4. Sample LCD Connections Sample Program: LCD_DEMO.C SAMPLES/COREMODULE The shaded part of the circuit in Figure D-4 can be used to drive a second LCD, but addi- tional software not included in will have to be written. LCD_DEMO.C RabbitCore RCM2000...
  • Page 49: External Memory

    D.4 External Memory The sample circuit can be used with an external 64 Kbit 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. 8K ×...
  • Page 50: Simple D/A Converter

    1.19 kΩ 40.2 kΩ V– < –12 V 4.99 kΩ 20 kΩ 10 kΩ +5 V +5 V 5.11 kΩ 47 kΩ 47 kΩ Figure D-6. Sample D/A Converter Connections A sample program is not available at this time. RabbitCore RCM2000...
  • Page 51: Appendix E. Programming Cable

    Otherwise, the connector on the programming DIAG cable allows the programming cable to be used as an RS-232 to CMOS level converter for serial communication, which is appropriate for monitoring or debugging an RCM2000 system while it is running. User’s Manual...
  • Page 52 TXA to one of the SMODE pins and then test for the connection by raising PC6 (by configuring it as a general output bit) and reading the SMODE pin after the cold-boot mode has been disabled. RabbitCore RCM2000...
  • Page 53 Once you establish that the programming port will never again be needed for program- ming, it is possible to use the programming port for additional I/O lines. Table E-1 lists the pins available for this alternate configuration. Table E-1. RCM2000 Programming Port Pinout Configurations Pin Name Default Use...
  • Page 54 RabbitCore RCM2000...
  • Page 55: Schematics

    CHEMATICS 090-0097 RCM2000 Schematic 090-0099 RCM2000 Prototyping Board Schematic 090-0128 Programming Cable Schematic User’s Manual...
  • Page 56 REVISION APPROVAL REVISION HISTORY PROJECT APPROVAL DOCUMENT APPROVAL DESCRIPTION ENGINEER DATE CONTROL DATE APPEND THE FOLLOWING DRAWING CONTENT: DOCUMENTS WHEN CHANGING THIS DOCUMENT: 2900 SPAFFORD ST. DAVIS, CA 95616 APPROVALS: INITIAL RELEASE 530 - 757 - 4616 SIGNATURES DATE NONE...
  • Page 57 NONE...
  • 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: 2900 SPAFFORD ST.
  • Page 59 NONE NONE...
  • Page 60 REVISION APPROVAL REVISION HISTORY PROJECT APPROVAL DOCUMENT APPROVAL DESCRIPTION ENGINEER DATE CONTROL DATE APPEND THE FOLLOWING DRAWING CONTENT: DOCUMENTS WHEN CHANGING WORLD THIS DOCUMENT: 2900 SPAFFORD ST. DAVIS, CA 95616 APPROVALS: INITIAL RELEASE 530 - 757 - 4616 SIGNATURES DATE NONE...

Table of Contents