Rabbit RabbitCore RCM4100 User Manual

C-programmable core module
Table of Contents

Advertisement

Quick Links

RabbitCore RCM4100
C-Programmable Core Module
User's Manual
019–0153 • 090508–G

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Rabbit RabbitCore RCM4100

  • Page 1 RabbitCore RCM4100 C-Programmable Core Module User’s Manual 019–0153 • 090508–G...
  • Page 2 Rabbit and Dynamic C are registered trademarks of Digi International Inc. Rabbit 4000 and RabbitCore are trademarks of Digi International Inc. The latest revision of this manual is available on the Rabbit Web site, www.rabbit.com, for free, unregistered download. Digi International Inc.
  • Page 3: Table Of Contents

    ABLE OF ONTENTS Chapter 1. Introduction 1.1 RCM4100 Features ..........................2 1.2 Advantages of the RCM4100 .......................4 1.3 Development and Evaluation Tools......................5 1.3.1 RCM4110 Development Kit ......................5 1.3.2 RCM4100 Analog Development Kit ....................6 1.3.3 Software ............................6 1.3.4 Online Documentation ........................6 Chapter 2. Getting Started 2.1 Install Dynamic C ..........................7 2.2 Hardware Connections..........................8 2.2.1 Step 1 —...
  • Page 4 A.1 Electrical and Mechanical Characteristics ..................68 A.1.1 A/D Converter ........................... 72 A.1.2 Headers ............................73 A.2 Rabbit 4000 DC Characteristics ......................74 A.3 I/O Buffer Sourcing and Sinking Limit..................... 75 A.4 Bus Loading ............................75 A.5 Jumper Configurations ........................78 A.6 Conformal Coating ..........................
  • Page 5: Chapter 1. Introduction

    Throughout this manual, the term RCM4100 series refers to the complete series of RCM4100 RabbitCore modules unless other production models are referred to specifically. The RCM4100 has a Rabbit 4000 microprocessor operating at up to 58.98 MHz, static RAM, flash memory, an 8-channel A/D converter, two clocks (main oscillator and time- keeping), and the circuitry necessary for reset and management of battery backup of the Rabbit 4000’s internal real-time clock and the static RAM.
  • Page 6: Rcm4100 Features

    • Small size: 1.41" × 1.88" × 0.49" (36 mm × 48 mm × 12 mm) • Microprocessor: Rabbit 4000 running at up to 58.98 MHz • Up to 40 general-purpose I/O lines configurable with up to four alternate functions •...
  • Page 7 The RCM4100 series is programmed over a standard PC USB port through a programming cable supplied with the Development Kit. NOTE: The RabbitLink cannot be used to program RabbitCore modules based on the Rabbit 4000 microprocessor. Appendix A provides detailed specifications for the RCM4100 series. User’s Manual...
  • Page 8: Advantages Of The Rcm4100

    • Easy C-language program development and debugging • Rabbit Field Utility to download compiled Dynamic C .bin files, and cloning board options for rapid production loading of programs. • Generous memory size allows large programs with tens of thousands of lines of code, and substantial data storage.
  • Page 9: Development And Evaluation Tools

    Dynamic C . VREF AGND are available for all RCM4100 RabbitCore module models. CX25 CX23 RX77 RX79 JP25 UX16 Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc. Getting Started Prototyping Board Instructions Figure 1. RCM4110 Development Kit User’s Manual...
  • Page 10: Rcm4100 Analog Development Kit

    Starting with Dynamic C version 10.40, Dynamic C includes the popular µC/OS-II real- time operating system, point-to-point protocol (PPP), FAT file system, RabbitWeb, and other select libraries. Rabbit also offers for purchase the Rabbit Embedded Security Pack featuring the Secure Sockets Layer (SSL) and a specific Advanced Encryption Standard (AES) library.
  • Page 11: Chapter 2. Getting Started

    2.1 Install Dynamic C To develop and debug programs for the RCM4100 series (and for all other Rabbit hard- ware), you must install and use Dynamic C. If you have not yet installed Dynamic C version 10.01 (or a later version), do so now by inserting the Dynamic C CD from the RCM4100 Development Kit in your PC’s CD-ROM...
  • Page 12: Hardware Connections

    RX81 RCM1 /IOWR /RST_IN VBAT JP16 RX83 JP12 JP14 UX30 JP18 RX11 JP10 UX10 RX67 UX12 RX43 UX14 RX97 RX59 RX75 RX49 RX55 RX57 RX73 CX27 VREF AGND CX25 CX23 RX77 RX79 UX16 JP25 Figure 2. Insert Standoffs RabbitCore RCM4100...
  • Page 13: Step 2 - Attach Module To Prototyping Board

    2.2.2 Step 2 — Attach Module to Prototyping Board Turn the RCM4100 module so that the mounting holes line up with the corresponding holes on the Prototyping Board. Insert the metal standoffs as shown, secure them from the bottom using two screws and washers, then insert the module’s header J2 on the bottom side into socket RCM1 on the Prototyping Board.
  • Page 14: Power Connector

    NOTE: Either a serial or a USB programming cable was supplied with this Development Kit. If you have a serial programming cable, an RS-232/USB converter (Rabbit Part No. 20-151-0178) is available to allow you to use the serial programming cable with a USB port.
  • Page 15: Step 4 - Connect Power

    LEDs in the shrink-wrapped area of the programming cable will flash — if you get an error message, you will have to install USB drivers. Drivers for Windows XP are available in the Dynamic C Drivers\Rabbit USB Programming Cable\ folder — double-click to install the USB drivers. Drivers for WinXP_2K DPInst.exe...
  • Page 16: Run A Sample Program

    If you receive the message , the programming cable No Rabbit Processor Detected may be connected to the wrong COM port, a connection may be faulty, or the target sys- tem may not be powered up. First, check to see that the power LED on the Prototyping Board is lit and that the jumper across pins 5–6 of header JP10 on the Prototyping Board is...
  • Page 17: Where Do I Go From Here

    2.4.1 Technical Support NOTE: If you purchased your RCM4100 through a distributor or through a Rabbit partner, contact the distributor or partner first for technical support. If there are any problems at this point: • Use the Dynamic C menu to get further assistance with Dynamic C.
  • Page 18 RabbitCore RCM4100...
  • Page 19: Chapter 3. Running Sample Programs

    AMPLE ROGRAMS To develop and debug programs for the RCM4100 series (and for all other Rabbit hardware), you must install and use Dynamic C. This chapter provides a tour of its major features with respect to the RCM4100 series. 3.1 Introduction To help familiarize you with the RCM4100 series of modules, Dynamic C includes several sample programs.
  • Page 20: Sample Programs

    —demonstrates the use of cofunctions and costatements to flash LEDs • FLASHLED2.C DS2 and DS3 on the Prototyping Board at different rates. Once you have compiled and run this program, LEDs DS2 and DS3 will flash on/off at different rates. RabbitCore RCM4100...
  • Page 21 —demonstrates how to implement a function in RAM to reduce power • LOW_POWER.C consumption by the Rabbit microprocessor. There are four features that lead to the low- est possible power draw by the microprocessor. 1. Run the CPU from the 32 kHz crystal.
  • Page 22: Serial Communication

    You can observe the output in the STDIO window as you type in Tera Term, and you can also use the Dynamic C STDIO window to clear the buffer. The Tera Term serial utility can be downloaded from hp.vector.co.jp/authors/VA002416/teraterm.html. RabbitCore RCM4100...
  • Page 23 —This program demonstrates basic RS-232 serial • SIMPLE3WIRE.C communication. Lower case characters are sent by TxC, and are RxC TxC received by RxD. The characters are converted to upper case and are TxD RxD sent out by TxD, are received by RxC, and are displayed in the Dynamic C window.
  • Page 24 STDIO Note that the I/O lines that carry the Serial Port E and F signals are not the Rabbit 4000 defaults. The Serial Port E and F I/O lines are configured by calling the library function that was generated by the Rabbit 4000 utility program.
  • Page 25: A/D Converter Inputs (Rcm4100 Only)

    3.2.2 A/D Converter Inputs (RCM4100 only) The following sample programs are found in the folder. SAMPLES\RCM4100\ADC AD_CAL_ALL.C —Demonstrates how to recalibrate all the single-ended analog input • channels with one gain using two known voltages to generate the calibration constants for each channel.
  • Page 26: Downloading And Uploading Calibration Constants

    —Demonstrates how to read the analog calibration constants from • UPLOADCALIB.C the user block using a terminal emulation utility such as Tera Term. Start Tera Term or another terminal emulation program on your PC, and configure the serial parameters as follows. RabbitCore RCM4100...
  • Page 27 • Baud rate 19,200 bps, 8 bits, no parity, 1 stop bit • Enable Local Echo option • Feed options — Receive = CR Transmit = CR + LF Follow the remaining steps carefully in Tera Term to avoid overwriting previously saved calibration data when using same the file name.
  • Page 28: Real-Time Clock

    Set the real-time clock using the sample program from SETRTCKB.C the Dynamic C folder, using the onscreen prompts. The SAMPLES\RTCLOCK sample program in the Dynamic C folder provides RTC_TEST.C SAMPLES\RTCLOCK additional examples of how to read and set the real-time clock. RabbitCore RCM4100...
  • Page 29: Chapter 4. Hardware Reference

    Chapter 4 describes the hardware components and principal hardware subsystems of the RCM4100 series. Appendix A, “RCM4100 Specifi- cations,” provides complete physical and electrical specifications. Figure 5 shows the Rabbit-based subsystems designed into the RCM4100. 32 kHz 29.49 MHz SRAM ®...
  • Page 30: Rcm4100 Digital Inputs And Outputs

    = not connected Note: These pinouts are as seen on the Bottom Side of the module. Figure 6. RCM4100 Series Pinout standard 2 × 25 IDC header with a nominal 1.27 mm pitch. Headers J2 is a RabbitCore RCM4100...
  • Page 31 Figure 7 shows the use of the Rabbit 4000 microprocessor ports in the RCM4100 series of modules. PB2–PB7 PD0–PD7 PA0–PA7 Port A Port B Port D PC0, PC2 Port C Port E PE0–PE7 ABBIT ® (Serial Ports C & D)
  • Page 32 External I/O Address IA7 /SWR Input/Output External I/O Address IA0 /SRD Input/Output External I/O Address IA1 Input/Output External I/O Address IA2 Input/Output External I/O Address IA3 /SCS Input/Output External I/O Address IA4 /SLAVATN Input/Output External I/O Address IA5 RabbitCore RCM4100...
  • Page 33 Table 2. RCM4100 Series Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes I/O Strobe I0 Input/Output Timer C0 TCLKF Serial Port D RXD/TXD I/O Strobe I1 Input/Output Timer C1 RCLKF Input Capture TXC/TXF Input/Output I/O Strobe I2 Timer C2 RXC/TXC/RXF Serial Port C I/O Strobe I3...
  • Page 34 PE5 is the default PE5/SMODE0 Input/Output PWM1 configuration RXB/RCLKE Input Capture I/O Strobe I6 PWM2 PE6 is the default PE6/SMODE1 Input/Output configuration DREQ0 I/O Strobe I7 PWM3 PE7 is the default PE7/STATUS Input/Output RXA/RXE/SCLKC configuration DREQ1 Input Capture RabbitCore RCM4100...
  • Page 35 Table 2. RCM4100 Series Pinout Configurations (continued) Pin Name Default Use Alternate Use Notes I/O Strobe I0 Timer C0 Input/Output INT0 SCLKD/TCLKF QRD1B I/O Strobe I1 Timer C1 Input/Output INT1 RXD/RCLKF QRD1A Input Capture I/O Strobe I2 Timer C2 Input/Output DREQ0 TXF/SCLKC QRD2B...
  • Page 36: Memory I/O Interface

    Ground 4.1.1 Memory I/O Interface The Rabbit 4000 address lines (A0–A19) and all the data lines (D0–D7) are routed inter- nally to the onboard flash memory and SRAM chips. I/0 write (/IOWR) and I/0 read (/IORD) are available for interfacing to external devices.
  • Page 37: Serial Communication

    4.2 Serial Communication The RCM4100 series board does not have any serial driver or receiver chips directly on the board. However, an Ethernet or other serial interface may be incorporated on the board the RCM4100 is mounted on. For example, the Prototyping Board has an RS-232 trans- ceiver chip.
  • Page 38: Using The Serial Ports

    Table 3 summarizes the possible parallel port pins for the serial ports and their clocks. Table 3. Rabbit 4000 Serial Port and Clock Pins PC6, PC7, PD6 PD6, PE6, PC6 Serial Port A PC7, PD7, PE7 PD7, PE7, PC7 Serial Port E...
  • Page 39: Programming Port

    The two startup mode pins determine what happens after a reset—the Rabbit 4000 is either cold-booted or the program begins executing at address 0x0000. The status pin is used by Dynamic C to determine whether a Rabbit microprocessor is present. The status output has three different programmable functions: 1.
  • Page 40: Programming Cable

    The programming cable is used to connect the programming port of the RCM4100 series of modules to a PC serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to the CMOS voltage levels used by the Rabbit 4000. When the...
  • Page 41: Standalone Operation Of The Rcm4100

    RCM4100 modules are in the Program Mode. Refer to the for more information on the pro- Rabbit 4000 Microprocessor User’s Manual gramming port. 4.3.2 Standalone Operation of the RCM4100 Once an RCM4100 series module has been programmed successfully, remove the pro- gramming cable from the programming connector and reset the RCM4100 series module.
  • Page 42: A/D Converter (Rcm4100 Only)

    RCM4100 module is mounted. The A/D converter multiplexes converted signals from eight single-ended or four differential inputs to Serial Port B on the Rabbit 4000. The eight analog input pins, LN0–LN7, each have an input impedance of 6–7 MΩ, depending on whether they are used as single-ended or differential inputs.
  • Page 43 If a device such as a battery is connected across two channels for a differential measurement, AIN0 and it is not referenced to 2.2 nF analog ground, then the current Device from the device will flow 2.2 nF through both sets of attenuator –...
  • Page 44: A/D Converter Power Supply

    The analog section is isolated from digital noise generated by other components by way of a low-pass filter composed of L1, C1, and C2 on the RCM4100 as shown in Figure 12. The +V analog power supply powers the A/D converter chip. +3.3 V 100 nF 2.2 nF Figure 12. Analog Supply Circuit RabbitCore RCM4100...
  • Page 45: Other Hardware

    The clock doubler on the RCM4100 is disabled by default. 4.5.2 Spectrum Spreader The Rabbit 4000 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 46: Memory

    All RCM4100 modules also have 512K of flash EPROM installed at U11. NOTE: Rabbit 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 47: Chapter 5. Software Reference

    It runs on an IBM-compatible PC and is designed for use with single-board computers and other devices based on the Rabbit microprocessor. Chapter 5 describes the libraries and function calls related to the RCM4100 series. 5.1 More About Dynamic C Dynamic C has been in use worldwide since 1989.
  • Page 48: Library Functions

    LCD display and keypad drivers. • Powerful language extensions for cooperative or preemptive multitasking • Loader utility program to load binary images into Rabbit-based 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 49: 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 4000 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 50 The sample code below shows how a protected variable is defined and how its value can be restored. main() { protected int state1, state2, state3; _sysIsSoftReset(); // restore any protected variables Additional information on variables is available in the Dynamic C User’s protected Manual. RabbitCore RCM4100...
  • Page 51: Prototyping Board Function Calls

    The sample programs in the Dynamic C folder illustrate the use of SAMPLES\RCM4100 the function calls. Other generic functions applicable to all devices based on Rabbit microprocessors are described in the Dynamic C Function Reference Manual. 5.2.4.1 Board Initialization brdInit void brdInit(void);...
  • Page 52: Alerts

    (e.g., PADR) dataport the input port bit (0–7) to poll portbit the value of 0 or 1 to receive value the duration of the timeout in seconds (enter 0 for no timeout) timeout RETURN VALUE None. RabbitCore RCM4100...
  • Page 53: Analog Inputs (Rcm4100 Only)

    5.2.5 Analog Inputs (RCM4100 only) The function calls used with the Prototyping Board features and the A/D converter on the RCM4100 model are in the Dynamic C LIB\Rabbit4000\RCM4xxx\ADC_ADS7870.LIB library. Dynamic C v. 10.07 or later is required to use the A/D converter function calls. anaInConfig unsigned int anaInConfig(unsigned int instructionbyte, unsigned int cmd, long brate);...
  • Page 54 Enter 0 for this parameter thereafter, for example, anaInConfig(0x00, 0x00, 9600); // resets device and sets byte rate RETURN VALUE 0 on write operations data value on read operations SEE ALSO anaInDriver, anaIn, brdInit RabbitCore RCM4100...
  • Page 55 anaInDriver int anaInDriver(unsigned int cmd); DESCRIPTION Reads the voltage of an analog input channel by serial-clocking an 8-bit command to the A/D converter by its Direct Mode method. This function assumes that Mode1 (most significant byte first) and the A/D converter oscillator have been enabled. See anaIn- Config() for the setup.
  • Page 56 A value corresponding to the voltage on the analog input channel: 0–2047 for 11-bit conversions -2048–2047 for 12-bit conversions ADTIMEOUT (-4095) if the conversion is incomplete or busy bit timeout ADOVERFLOW (-4096) for overflow or out of range SEE ALSO anaInConfig, anaIn, brdInit RabbitCore RCM4100...
  • Page 57 anaIn int anaIn(unsigned int channel, int opmode, int gaincode); DESCRIPTION Reads the value of an analog input channel using the Direct Mode method of addressing the A/D converter. Note that it takes about 1 second to ensure an internal capacitor on the A/D converter is charged when the function is called the first time.
  • Page 58 A value corresponding to the voltage on the analog input channel: 0–2047 for single-ended conversions -2048–2047 for differential conversions ADTIMEOUT (-4095) if the conversion is incomplete or busy bit timeout ADOVERFLOW (-4096) for overflow or out of range SEE ALSO anaIn, anaInConfig, anaInDriver RabbitCore RCM4100...
  • Page 59 anaInCalib int anaInCalib(int channel, int opmode, int gaincode, int value1, float volts1, int value2, float volts2); DESCRIPTION Calibrates the response of the desired A/D converter channel as a linear function using the two conversion points provided. Four values are calculated and placed into global tables _adcCalibS, _adcCalibD, and adcCalibM to be later stored into simulat- ed EEPROM using the function anaInEEWr().
  • Page 60 A/D converter volts2 channel value (0 to +20 V or 4 to 20 mA) RETURN VALUE 0 if successful. -1 if not able to make calibration constants. SEE ALSO anaIn, anaInVolts, anaInmAmps, anaInDiff, anaInCalib, brdInit RabbitCore RCM4100...
  • Page 61 anaInVolts float anaInVolts(unsigned int channel, unsigned int gaincode); DESCRIPTION Reads the state of a single-ended analog input channel and uses the previously set calibration constants to convert it to volts. PARAMETERS the channel number (0 to 7) corresponding to LN0 to LN7. channel Single-Ended †...
  • Page 62 RETURN VALUE A voltage value corresponding to the voltage on the analog input channel. ADTIMEOUT (-4095) if the conversion is incomplete or busy bit timeout. ADOVERFLOW (-4096) for overflow or out of range. SEE ALSO anaInCalib, anaIn, anaInmAmps, brdInit RabbitCore RCM4100...
  • Page 63 anaInDiff float anaInDiff(unsigned int channel, unsigned int gaincode); DESCRIPTION Reads the state of differential analog input channels and uses the previously set calibra- tion constants to convert it to volts. PARAMETERS the channel number (0 to 7) corresponding to LN0 to LN7. channel Voltage Range channel...
  • Page 64 A voltage value corresponding to the voltage differential on the analog input channel. ADTIMEOUT (-4095) if the conversion is incomplete or busy bit timeout. ADOVERFLOW (-4096) for overflow or out of range. SEE ALSO anaInCalib, anaIn, anaInmAmps, brdInit RabbitCore RCM4100...
  • Page 65 anaInmAmps float anaInmAmps(unsigned int channel); DESCRIPTION Reads the state of an analog input channel and uses the previously set calibration con- stants to convert it to current. PARAMETERS the channel number (0 to 7) corresponding to LN0 to LN7. channel 4–20 mA Channel Code Input Lines...
  • Page 66 +AIN1* +AIN2 +AIN2 -AIN3 +AIN2* +AIN3 +AIN3 -AIN2* +AIN3 +AIN4 +AIN4 -AIN5 +AIN4 +AIN5 +AIN5 -AIN4* +AIN5 +AIN6 +AIN6 -AIN7* +AIN6 +AIN7 +AIN7 -AIN6* +AIN7* read all channels for selected opmode ALLCHAN * Not accessible on Prototyping Board. RabbitCore RCM4100...
  • Page 67 anaInEERd (continued) the gain code of 0 to 7. The gaincode parameter is ignored when gaincode channel is ALLCHAN. Gain Voltage Range Gain Code Multiplier ×1 0–22.5 ×2 0–11.25 ×4 0–5.6 ×5 0–4.5 ×8 0–2.8 ×10 0–2.25 ×16 0–1.41 ×20 0–1.126 * Applies to Prototyping Board.
  • Page 68 +AIN1* +AIN2 +AIN2 -AIN3 +AIN2* +AIN3 +AIN3 -AIN2* +AIN3 +AIN4 +AIN4 -AIN5 +AIN4 +AIN5 +AIN5 -AIN4* +AIN5 +AIN6 +AIN6 -AIN7* +AIN6 +AIN7 +AIN7 -AIN6* +AIN7* read all channels for selected opmode ALLCHAN * Not accessible on Prototyping Board. RabbitCore RCM4100...
  • Page 69 anaInEEWr (continued) the gain code of 0 to 7. The gaincode parameter is ignored when gaincode channel is ALLCHAN. Gain Voltage Range Gain Code Multiplier ×1 0–22.5 ×2 0–11.25 ×4 0–5.6 ×5 0–4.5 ×8 0–2.8 ×10 0–2.25 ×16 0–1.41 ×20 0–1.126 * Applies to Prototyping Board.
  • Page 70: Upgrading Dynamic C

    Starting with Dynamic C version 10.40, Dynamic C includes the popular µC/OS-II real- time operating system, point-to-point protocol (PPP), FAT file system, RabbitWeb, and other select libraries. Rabbit also offers for purchase the Rabbit Embedded Security Pack featuring the Secure Sockets Layer (SSL) and a specific Advanced Encryption Standard (AES) library.
  • Page 71: Appendix A. Rcm4100 Specifications

    A. RCM4100 S PPENDIX PECIFICATIONS Appendix A provides the specifications for the RCM4100 series of modules, and describes the conformal coating. User’s Manual...
  • Page 72: Electrical And Mechanical Characteristics

    C28 R21 R17 R16 0.19 0.72 0.50 (18) (13) 1.88 (48) 1.41 (36) Figure A-1. RCM4100 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 RCM4100...
  • Page 73 It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM4100 modules in all directions when the RCM4100 is incorporated into an assembly that includes other printed circuit boards. An “exclusion zone” of 0.08" (2 mm) is recom- mended below the RCM4100 module when the RCM4100 is plugged into another assem- bly.
  • Page 74 Resolution • A/D Conversion Time 180 µs (including 120 µs raw count and Dynamic C) Can be configured for 8 data lines and Auxiliary I/O Bus 6 address lines (shared with parallel I/O lines), plus I/O read/write RabbitCore RCM4100...
  • Page 75 Table A-1. RCM4100 Specifications (continued) Parameter RCM4100 RCM4110 RCM4120 6 high-speed, CMOS- 6 high-speed, CMOS-compatible ports: compatible ports: • all 6 configurable as asynchronous (with IrDA), • all 6 configurable as 4 as clocked serial (SPI), and 2 as SDLC/HDLC asynchronous (with •...
  • Page 76: A/D Converter

    ±2.5 LSB Differential Linearity ±0.5 LSB Dynamic Characteristics Throughput Rate 52 ksamples/s Voltage Reference = 2.048 V and 2.5 V Accuracy ±0.05% ±0.25% Buffer Amp Source Current 20 mA Buffer Amp Sink Current 200 µA Short-Circuit Current 20 mA RabbitCore RCM4100...
  • Page 77: Headers

    A.1.2 Headers The RCM4100 series uses a header at J2 for physical connection to other boards. J2 is a 2 × 25 SMT header with a 1.27 mm pin spacing. J1, the programming port, is a 2 × 5 header with a 1.27 mm pin spacing. Figure A-3 shows the layout of another board for the RCM4100 to be plugged into.
  • Page 78: Rabbit 4000 Dc Characteristics

    Stresses beyond those listed in Table A-3 may cause permanent damage. The ratings are stress ratings only, and functional operation of the Rabbit 4000 chip at these or any other conditions beyond those indicated in this section is not implied. Exposure to the absolute maximum rating conditions for extended periods may affect the reliability of the Rabbit 4000 chip.
  • Page 79: I/O Buffer Sourcing And Sinking Limit

    A.3 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 29.4 MHz CPU clock with the clock doubler enabled and capacitive loading on address and data lines of less than 70 pF per pin.
  • Page 80 Figure A-4 shows a typical timing diagram for the Rabbit 4000 microprocessor external I/O read and write cycles. External I/O Read (no extra wait states) A[15:0] valid T adr /CSx T CSx T CSx /IOCSx T IOCSx T IOCSx /IORD...
  • Page 81 The maxi- mum shortening for a pair of clocks combined is shown in the table. Technical Note TN227, Interfacing External I/O with Rabbit Microprocessor Designs, contains suggestions for interfacing I/O devices to the Rabbit 4000 microprocessors. User’s Manual...
  • Page 82: Jumper Configurations

    1–2 LN5 RCM4100 LN5 or PD5 on J2 pin 45 2–3 PD5 RCM4110 1–2 LN4 RCM4100 LN4 or PD4 on J2 pin 44 2–3 PD4 RCM4110 1–2 LN3 RCM4100 LN3 or PD3 on J2 pin 43 2–3 PD3 RCM4110 RabbitCore RCM4100...
  • Page 83 Table A-8. RCM4100 Jumper Configurations Factory Header Description Pins Connected Default 1–2 512K Data SRAM Size × 2–3 256K 1–2 LN1 RCM4100 LN1 or PD1 on J2 pin 41 2–3 PD1 RCM4110 × 1–2 PE5 JP10 PE5 or SMODE0 Output on J2 2–3 SMODE0 ×...
  • Page 84: Conformal Coating

    A new conformal coating should then be applied to offer continuing protection against the effects of moisture and contaminants. NOTE: For more information on conformal coatings, refer to Technical Note 303, Con- formal Coatings. RabbitCore RCM4100...
  • Page 85: 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 RCM4100 series of modules and to build proto- types of your own circuits. The Prototyping Board has power- supply connections and also provides some basic I/O peripherals (RS-232, LEDs, and switches), as well as a prototyping area for more advanced hardware development.
  • Page 86: Introduction

    Area RX67 Mounting UX12 RX43 UX14 RX97 RX59 RX75 RX57 RX49 RX55 RX73 CX27 SMT Prototyping VREF AGND CX25 CX23 RX77 RX79 Area UX16 JP25 Analog User LEDs RCM4100 User Module Switches Extension Header Figure B-1. Prototyping Board RabbitCore RCM4100...
  • Page 87: Prototyping Board Features

    B.1.1 Prototyping Board Features —A a 3-pin header is provided for connection to the power supply. Power Connection • 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. The cable of the AC adapter provided with the North American version of the Development Kit is terminated with a header plug that connects to the 3-pin header in either orientation.
  • Page 88 +3.3 V supply. —A 2032 lithium-ion battery rated at 3.0 V, 220 mA·h, provides • Backup Battery battery backup for the RCM4100 series SRAM and real-time clock. RabbitCore RCM4100...
  • Page 89: Mechanical Dimensions And Layout

    B.2 Mechanical Dimensions and Layout Figure B-2 shows the mechanical dimensions and layout for the Prototyping Board. 2.735 (69.5) 1.935 (49.1) RESET UX49 UX47 +5 V /RST_OUT /IORD +3.3 V RX81 RCM1 /IOWR /RST_IN VBAT RX83 JP16 JP12 JP14 RX11 UX30 JP18 JP10...
  • Page 90: 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 +3.3 V SWITCHING POWER REGULATOR +5 V LM1117 DCIN DL4003 47 µF 330 µF 10 µF 10 µF 330 µH LM2575 B140 Figure B-3. Prototyping Board Power Supply RabbitCore RCM4100...
  • Page 91: Using The Prototyping Board

    (S2 and S3) are connected to PB4 and PB5 to demonstrate the interface to the Rabbit 4000 microprocessor. Reset switch S1 is the hardware reset for the RCM4100. The Prototyping Board provides the user with RCM4100 connection points brought out con- veniently to labeled points at header J2 on the Prototyping Board.
  • Page 92 Selected signals from the Rabbit 4000 microprocessor are available on header J2 of the Prototyping Board. The remaining ports on the Rabbit 4000 microprocessor are used for RS-232 serial communication. Table B-2 lists the signals on header J2 and explains how they are used on the Prototyping Board.
  • Page 93: Adding Other Components

    B.4.1 Adding Other Components There are pads for 28-pin TSSOP devices, 16-pin SOIC devices, and 6-pin SOT devices that can be used for surface-mount prototyping with these devices. There are also pads that can be used for SMT resistors and capacitors in an 0805 SMT package. Each component has every one of its pin pads connected to a hole in which a 30 AWG wire can be soldered (standard wire wrap wire can be soldered in for point-to-point wiring on the Prototyping Board).
  • Page 94: Analog Features (Rcm4100 Only)

    Table B-3. Positive A/D Converter Input Voltage Ranges Max. Voltage Min. Voltage Gain A/D Converter Resolution (with prescaler) Multiplier Actual Gain (mV) +22.528 ×1 +11.264 ×2 +5.632 ×4 2.75 +4.506 ×5 2.20 +2.816 ×8 1.375 +2.253 ×10 1.100 +1.408 ×16 14.4 0.688 +1.126 ×20 0.550 RabbitCore RCM4100...
  • Page 95 Adjacent input channels are paired; moving the jumper on JP 23 changes both of the paired channels (LN4_IN–LN5_IN), and moving the jumper on JP24 changes LN0_IN– LN1_IN and LN2_IN–LN3_IN. At the present time Rabbit does not offer the software drivers to work with single-ended negative voltages, but the differential mode described below may be used to measure negative voltages.
  • Page 96: Thermistor Input

    Sample programs are available to illustrate how to read and calibrate the various A/D inputs for the single-ended operating mode. Mode Read Calibrate Single-Ended, one channel — AD_CAL_CHAN.C Single-Ended, all channels AD_RDVOLT_ALL.C AD_CAL_ALL.C RabbitCore RCM4100...
  • Page 97: Serial Communication

    B.4.4 Serial Communication The Prototyping Board allows you to access five of the serial ports from the RCM4100 series of modules. Table B-5 summarizes the configuration options. Note that Serial Ports E and F can be used only with the Prototyping Board. Table B-5.
  • Page 98: B.4.4.1 Rs-232

    RS-232 serial communication protocol. Basically, the chip translates the Rabbit 4000’s signals to RS-232 signal levels. Note that the polarity is reversed in an RS-232 circuit so that a +3.3 V output becomes approxi- mately -10 V and 0 V is output as +10 V.
  • Page 99: Prototyping Board Jumper Configurations

    B.5 Prototyping Board Jumper Configurations Figure B-8 shows the header locations used to configure the various Prototyping Board options via jumpers. UX49 JP16 JP12 JP14 JP18 JP10 JP24 JP23 JP25 Figure B-8. Location of Configurable Jumpers on Prototyping Board Table B-6 lists the configuration options using either jumpers or 0 Ω surface-mount resistors. Table B-6.
  • Page 100 1–2 Connected: PB5 to Switch S3 JP18 PB5/Switch S3 n.c. PB5 available on header J2 JP19 LN4 buffer/filter to RCM4100 1–2 Connected JP20 LN5 buffer/filter to RCM4100 1–2 Connected JP21 LN6 buffer/filter to RCM4100 1–2 Connected JP22 LN7 buffer/filter to RCM4100 1–2 Connected RabbitCore RCM4100...
  • Page 101 Table B-6. Prototyping Board Jumper Configurations (continued) Factory Header Description Pins Connected Default × 1–2 Tied to analog ground JP23 LN4_IN–LN6_IN 2–3 Tied to VREF × 1–2 Tied to analog ground JP24 LN0_IN–LN3_IN 2–3 Tied to VREF JP25 Thermistor Location 1–2 n.c.
  • Page 102 RabbitCore RCM4100...
  • Page 103: Appendix C. Power Supply

    C.1.1 Battery Backup The RCM4100 series of modules do not have a battery, but there is provision for a cus- tomer-supplied battery to back up the data SRAM and keep the internal Rabbit 4000 real- time clock running. Header J2, shown in Figure C-1, allows access to the external battery. This header makes it possible to connect an external 3 V power supply.
  • Page 104: Battery-Backup Circuit

    • A voltage, VOSC, is supplied to U6, which keeps the 32.768 kHz oscillator working when the voltage begins to drop. C.1.3 Reset Generator The RCM4100 series of modules uses a reset generator to reset the Rabbit 4000 micropro- cessor when the voltage drops below the voltage necessary for reliable operation. The RabbitCore RCM4100...
  • Page 105 reset occurs between 2.85 V and 3.00 V, typically 2.93 V. Since the RCM4100 modules will operate at voltages as low as 3.0 V, exercise care when operating close to the 3.0 V minimum voltage (for example, keep the power supply as close as possible to the RCM4100) since your RCM4100 could reset unintentionally.
  • Page 106 RabbitCore RCM4100...
  • Page 107: Index

    JP13 (LN1 buffer/filter to external battery connec- protected variables .... 45 RCM4100) ....96 tions ......99 Rabbit Embedded Security JP14 (PB3/LED DS3) ... 96 real-time clock ....100 Pack ......6, 66 JP15 (LN2 buffer/filter to reset generator ....100 sample programs ....
  • Page 108 ....88 output on J2) ....79 software libraries specifications .....86 JP2 (PD2 or A/D converter PACKET.LIB ....45 use of Rabbit 4000 signals 88 output on J2) ....78 RS232.LIB .....45 JP3 (PD6 or A/D converter serial ports ......33 output on J2) ....78 programming port ....35...
  • Page 109 ....70 exclusion zone ....69 header footprint ....73 Prototyping Board ..... 86 Rabbit 4000 DC characteris- tics ......... 74 Rabbit 4000 timing dia- gram ......76 relative pin 1 locations ..73 spectrum spreader ... 41, 77 subsystems digital inputs and outputs ..
  • Page 110 RabbitCore RCM4100...
  • Page 111: Schematics

    CHEMATICS 090-0228 RCM4100 Schematic www.rabbit.com/documentation/schemat/090-0228.pdf 090-0230 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0230.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf 090-0252 USB Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0252.pdf You may use the URL information provided above to access the latest schematics directly. User’s Manual...

Table of Contents