Download Print this page

RabbitCore RCM2100 User Manual

C-programmable module with ethernet
Hide thumbs Also See for RCM2100:

Advertisement

Quick Links

RabbitCore RCM2100
C-Programmable Module with Ethernet
User's Manual
019–0091 • 011201–E

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for RabbitCore RCM2100

  • Page 1 RabbitCore RCM2100 C-Programmable Module with Ethernet User’s Manual 019–0091 • 011201–E...
  • Page 2 RabbitCore RCM2100 User’s Manual Part Number 019-0091 • 011201–E • 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 CRITICAL...
  • Page 3 1.4.3 Using Online Documentation......................4 1.4.3.1 Finding Online Documents ....................5 1.4.3.2 Printing Electronic Manuals....................5 Chapter 2. Hardware Reference 2.1 RCM2100 Series Digital Inputs and Outputs ..................7 2.1.1 Dedicated Inputs .........................12 2.1.2 Dedicated Outputs........................12 2.1.3 Memory I/O Interface .........................12 2.1.4 Additional I/0 ..........................12 2.2 Serial Communication ........................13...
  • Page 4 Appendix A. RabbitCore RCM2100 Specifications A.1 Electrical and Mechanical Characteristics ..................28 A.1.1 Headers ............................31 A.1.2 Physical Mounting........................31 A.2 Bus Loading ............................32 A.3 Rabbit 2000 DC Characteristics ......................34 A.4 I/O Buffer Sourcing and Sinking Limit..................... 35 A.5 Conformal Coating ..........................
  • Page 5 RAM. Two 40-pin headers bring out the Rabbit 2000 I/O bus, address lines, data lines, parallel ports, and serial ports. The RCM2100 receives its +5 V power from the user board on which it is mounted. The RCM2100 can interface with all kinds of CMOS-compatible digital devices through the user board.
  • Page 6 5.52 Mbps. Two ports are configurable as clocked ports. Appendix A, “RabbitCore RCM2100 Specifications,” provides detailed specifications for the RabbitCore RCM2100 series. Four versions of the RabbitCore RCM2100 series are available. Their standard features are summarized in Table 1. Table 1. RCM2100 Series Models Model...
  • Page 7 1.3 Development and Evaluation Tools A complete Development Kit, including a Prototyping Board, accessory components and Dynamic C development software, is available to accompany the RCM2100 module. The Development Kit puts together the essentials you need to design an embedded micropro- cessor-based system rapidly and efficiently.
  • Page 8 It does not contain detailed information on the Dynamic C development environ- ment or the TCP/IP software support for the integrated Ethernet port. Most users will want more detailed information on some or all of these topics in order to put the RCM2100 module to effective use.
  • Page 9 Providing this documentation in electronic form saves an enormous amount of paper by not printing copies of manuals that users don’t need. It reduces the number of outdated manuals we have to discard from stock as well, and it makes providing a complete library of manuals an almost cost-free option.
  • Page 10 RabbitCore RCM2100...
  • Page 11 Chapter 2 describes the hardware components and principal hardware subsystems of the RabbitCore RCM2100 series. Appendix A, “RabbitCore RCM2100 Specifications,” provides complete physical and electrical specifications. 2.1 RCM2100 Series Digital Inputs and Outputs Figure 1 shows the subsystems designed into the RCM2100 series. PB0– PA0–PA7 PD0–PD7 Ethernet: PD4–PD7...
  • Page 12 The RCM2100 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 2.
  • Page 13 Table 1. RCM2100 Pinout Configurations Pin Name Default Use Alternate Use Notes PCLK Output (Internal Clock) Output Turned off in software Slave port data bus 4–11 PA[7:0] Parallel I/O SD0–SD7 Buffered Rabbit 2000 12–24 BA[12:0] Output address bus Output Input...
  • Page 14 Table 1. RCM2100 Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes Serial port clock Input CLKB CLKA is connected to Serial port clock Input programming port (header CLKA J5, pin 3) Input Slave port write /SWR Input Slave port read /SRD...
  • Page 15 Table 1. RCM2100 Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes (0,0)—start executing at No programming cable address zero attached SMODE0 =1, SMODE1 SMODE1, 31–32 SMODE0 (0,1)—cold boot from Cold boot from slave port With programming cable asynchronous serial port attached (1,0)—cold boot from...
  • Page 16 /RES_IN is an external input used to reset the Rabbit 2000 microprocessor and the Rabbit- Core RCM2100 memory. /RES_OUT is an output from the reset circuitry that can be used to reset other peripheral devices.
  • Page 17 2.2 Serial Communication The RCM2100 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 RCM2100 is mounted on. For example, the Prototyping Board supports a standard RS-232 transceiver chip.
  • Page 18 Figure 5 to attach the RCM2100 board to the chassis ground, thereby grounding the transformer/connector assembly. Insert screw with ring terminal and ground other end of wire to chassis Resistor Figure 5. R5 and Chassis Ground Locations...
  • Page 19 2.3 Memory 2.3.1 SRAM The RCM2100 series is designed to accept 32K to 512K of SRAM packaged in an SOIC case. The existing standard models of the RCM2100 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 20 NOTE: Only the Normal Mode (pins 1–2 connected at JP5), which corresponds to using the full code space, is supported at the present time. 2.3.3 Dynamic C BIOS Source Files The Dynamic C BIOS source files handle different SRAM and flash EPROM sizes auto- matically. RabbitCore RCM2100...
  • Page 21 #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 RabbitCore RCM2100 series is operated at 11.05 MHz. 4. Save the change using File >...
  • Page 22 Mode 1. Attach the programming cable to header J3 on the RCM2100. 2. Reset the RCM2100. You may do this as explained in Figure 7. Figure 8 shows the location of the RESET button on the Prototyping Board. The RCM2100 is now ready to operate in the Program Mode.
  • Page 23 Rabbit microprocessor. Chapter 3 provides the libraries, function calls, and sample programs related to the RCM2100. 3.1 More About Dynamic C Dynamic C has been in use worldwide since 1989. It is specially designed for program- ming embedded systems, and features quick compile and interactive debugging in the real environment.
  • Page 24 NOTE: Do not depend on the flash memory sector size or type. Due to the volatility of the flash memory market, the RCM2100 and Dynamic C were designed to accommo- date flash devices with various sector sizes.
  • Page 25 . The following list of File > Open Dynamic C libraries will be displayed. There is no unique library that is specific to the RCM2100. The functions in the above libraries are described in the Dynamic C Premier User’s Manual. User’s Manual...
  • Page 26 3.2.1 I/O The RCM2100 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);...
  • Page 27 3.2.2 Serial Communication Drivers Library files included with Dynamic C provide a full range of serial communications sup- port. The library provides a set of circular-buffer-based serial functions. The RS232.LIB library provides packet-based serial functions where packets can be delim- PACKET.LIB ited by the 9th bit, by transmission gaps, or with user-defined special characters.
  • Page 28 The Compile RCM2100 must be in 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 provided in the Dynamic C Premier User’s Manual.
  • Page 29 A special edition of Dynamic C, Dynamic C SE, is included on the CD that comes with the RabbitCore RCM2100 Development Kit, and has been customized with all the librar- ies and features needed to develop and run an application on the RCM2100.
  • Page 30 RabbitCore RCM2100...
  • Page 31 A. R RCM2100 PPENDIX ABBIT PECIFICATIONS Appendix A provides the specifications for the RCM2100, and describes the conformal coating. User’s Manual...
  • Page 32 3.50 (89) 2.00 (51) Figure A-1. RCM2100 Dimensions Table A-1 provides the pin 1 locations for the RCM2100 headers viewed from the top side (as in Figure A-1). Table A-1. RCM2100 Header Pin 1 Locations Pin 1 (x,y) Header Description...
  • Page 33 EMI interference between adjacent boards. An “exclusion zone” of 0.12" (3 mm) is recom- mended below the RCM2100 when the RCM2100 is plugged into another assembly using the shortest connectors for headers J1 and J2 on the RCM2100. Figure A-2 shows this “exclusion zone.”...
  • Page 34 Table A-2 lists the electrical, mechanical, and environmental specifications for the RCM2100. Table A-2. RCM2100 Specifications Parameter Specification 2.00" × 3.50" × 0.80" Board Size (51 mm × 89 mm × 20 mm) Operating Temperature –40°C to +70°C Humidity 5% to 95%, noncondensing Input Voltage 4.75 V to 5.25 V DC...
  • Page 35 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-3 shows the layout of another board for the RCM2100 to be plugged in to. These values are relative to the header connectors.
  • Page 36 8 pF 12 pF Table A-4 lists the external capacitive bus loading for the various RCM2100 output ports. Be sure to add the loads for the devices you are using in your custom system and verify that they do not exceed the values in Table A-4.
  • Page 37 Figure A-4 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 /OEx Memory Write (no extra wait states) A[19:0] valid T adr...
  • Page 38 CMOS Input High Voltage CMOS Switching Threshold V = 5.0 V, 25°C = See Table A-6 (sinking) CMOS Output Low Voltage = 4.5 V = See Table A-6 (sourcing) 0.7 x V CMOS Output High Voltage = 4.5 V RabbitCore RCM2100...
  • Page 39 + 0.5 V, or 5.5 V. Table A-6 shows the AC and DC output drive limits of the parallel I/O buffers when the Rabbit 2000 is used in the RCM2100. Table A-6. I/O Buffer Sourcing and Sinking Capability Output Drive Pin Name †...
  • Page 40 Figure A-5. RCM2100 Areas Receiving Conformal Coating Any components in the conformally coated area may be replaced using standard soldering procedures for surface-mounted components. A new conformal coating should then be applied to offer continuing protection against the effects of moisture and contaminants.
  • Page 41 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 RCM2100 and to build prototypes of your own circuits. User’s Manual...
  • Page 42 B.1 Mechanical Dimensions and Layout Figure B-1 shows the mechanical dimensions and layout for the RCM2100 Prototyping Board. 5.25 (133) Figure B-1. RCM2100 Prototyping Board Dimensions Table B-1 lists the electrical, mechanical, and environmental specifications for the Proto- typing Board.
  • Page 43 B.2 Power Supply The RCM2100 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 44 Figure B-3) is a mirror image of the top side pinout. The Prototyping Board provides the user with RCM2100 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 45 STATUS /BBUFEN /BIORD Figure B-4. RCM2100 Prototyping Board Pinout (Top View) A pair of small holes capable of holding 30 AWG wire appears below each hole pair at locations J2 and J4 for convenience in point-to-point wiring when headers are installed.
  • Page 46 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 RCM2100...
  • Page 47 C.1 Power Supplies The RCM2100 requires a regulated 5 V ± 0.25 V DC power source. The RCM2100 design presumes that the voltage regulator is on the user board, and that the power is made avail- able to the RCM2100 board through headers J1 and J2.
  • Page 48 The drain on the battery by the RCM2100 is typically 16 µ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...
  • Page 49 VRAM. When the RCM2100 is not resetting (pin 2 on U3 is high), the /RESET line will be high. This turns on Q3, causing its collector to go low. This turns on Q2, allowing VRAM to nearly equal Vcc.
  • Page 50 The current drain on the battery in a battery-backed circuit must be kept to a minimum. When the RCM2100 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 51 D. S PPENDIX AMPLE IRCUITS This appendix details several basic sample circuits that can be used with the RCM2100 series modules. • RS-232/RS-485 Serial Communication • Keypad and LCD Connections • External Memory • D/A Converter User’s Manual...
  • Page 52 100 nF C1– 100 nF C2– T1IN T1OUT T2IN T2OUT R1OUT R1IN R2OUT R2IN RabbitCore RCM2100 RS-485 680 W 485+ 220 W 485– 680 W 47 kW SP483EN Figure D-1. Sample RS-232 and RS-485 Circuits Sample Program: PUTS.C SAMPLES/SERIAL RabbitCore RCM2100...
  • Page 53 Row 0 Row 2 Row 3 Row 4 Row 5 Row 1 Col 0 Col 1 Figure D-2. Sample Keypad Connections Sample Program: KEYLCD2.C SAMPLES/RCM2100 2x20 LCD RabbitCore RCM2100 Figure D-3. Sample LCD Connections Sample Program: KEYLCD2.C in SAMPLES/RCM2100. User’s Manual...
  • Page 54 Rabbit 2000 ports (parallel ports A to E) as address lines. 8K × 8 RabbitCore SRAM RCM2100 BA0–BA12 A0–A12 D0–D7 BD0–BD7 /IOW /IOR 10 kW Figure D-4. Sample External Memory Connections Sample Program: EXTSRAM2.C SAMPLES/RCM2100 RabbitCore RCM2100...
  • Page 55 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Ω...
  • Page 56 RabbitCore RCM2100...
  • Page 57 DIAG ming cable to be used as an RS-232 to CMOS level converter for serial communication, which is appropriate for monitoring or debugging an RCM2100 system while it is running. User’s Manual...
  • Page 58 This allows a conversation with a device that does not have an asynchronous serial port but that has two output signal lines and one input signal line. RabbitCore RCM2100...
  • Page 59 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. RCM2100 Programming Port Pinout Configurations Pin Name Default Use...
  • Page 60 RabbitCore RCM2100...
  • Page 61 ....24 upgrades and patches ..25 pin 1 locations ....... 28 PONG.C ......24 use ........20 pin configurations ....9 RCM2100 ...... 24 programming port ..... 55 TCPIP ......24 pinout serial communication drivers Ethernet port ......13 Ethernet port .....
  • Page 62 ....30 exclusion zone ....29 header footprint ....31 headers .......31 physical mounting .....31 pin 1 locations ....28 Rabbit 2000 DC characteris- tics .........34 Rabbit 2000 timing diagram relative pin 1 locations ..31 switching modes ....18 RabbitCore RCM2100...
  • Page 63 CHEMATICS 090-0114 RCM2100 Schematic 090-0116 RCM2100 Prototyping Board Schematic 090-0128 Programming Cable Schematic User’s Manual...
  • Page 64 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 65 BANK SELECT BATTERY BACK-UP CONFORMAL COATING NONE...
  • Page 66 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 67 NONE NONE...
  • Page 68 REVISION APPROVAL REVISION HISTORY PROJECT APPROVAL DOCUMENT APPROVAL DESCRIPTION ENGINEER DATE CONTROL DATE APPEND THE FOLLOWING DRAWING CONTENT: DOCUMENTS WHEN CHANGING THIS DOCUMENT: WORLD 2900 SPAFFORD ST. DAVIS, CA 95616 APPROVALS: INITIAL RELEASE 530 - 757 - 4616 SIGNATURES DATE NONE...