Rabbit Coyote BL2500 User Manual

C-programmable, with ethernet
Table of Contents

Advertisement

Quick Links

Coyote (BL2500)
C-Programmable Single-Board Computer with Ethernet
User's Manual
019–0120_M

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Rabbit Coyote BL2500

  • Page 1 Coyote (BL2500) C-Programmable Single-Board Computer with Ethernet User’s Manual 019–0120_M...
  • Page 2 Rabbit and Dynamic C are registered trademarks of Digi International Inc. Rabbit 3000, RabbitCore, and RabbitNet are trademarks of Digi International Inc. The latest revision of this manual is available on the Rabbit Web site, www.rabbit.com. Digi International Inc. www.rabbit.com...
  • Page 3: Table Of Contents

    ABLE OF ONTENTS Chapter 1. Introduction 1.1 Features ..............................1 1.1.1 OEM Versions..........................2 1.2 Development and Evaluation Tools......................3 1.2.1 Development Kit ...........................3 1.2.2 Software ............................4 1.2.3 Connectivity Tools........................4 1.2.4 DIN Rail Mounting ........................5 1.3 RabbitNet Peripheral Cards ........................6 1.4 CE Compliance .............................7 1.4.1 Design Guidelines .........................8 1.4.2 Interfacing the BL2500 to Other Devices ..................8 Chapter 2.
  • Page 4 A.1.1 Exclusion Zone .......................... 68 A.1.2 Physical Mounting........................69 A.2 Conformal Coating ..........................70 A.3 Jumper Configurations ........................71 A.4 Use of Rabbit 3000 Parallel Ports ..................... 72 Appendix B. Power Supply B.1 Power Supplies ..........................75 B.2 Batteries and External Battery Connections..................76 B.2.1 Power to VRAM Switch ......................
  • Page 5 Appendix D. RabbitNet D.1 General RabbitNet Description......................85 D.1.1 RabbitNet Connections ......................85 D.1.2 RabbitNet Peripheral Cards......................86 D.2 Physical Implementation........................87 D.2.1 Control and Routing........................87 D.3 Function Calls ............................88 D.3.1 Status Byte ..........................94 Index Schematics User’s Manual...
  • Page 6 Coyote (BL2500)
  • Page 7: Chapter 1. Introduction

    Two standard models—one with Ethernet, one without— ® feature the Rabbit 3000 microprocessor running at 29.4 MHz, with standard 256K flash and 128K SRAM. These compact boards are rich with the I/O (including one A/D input and two D/A outputs) designers need for embedded control and monitor- ing applications, and the Coyote's compact board size of 3.95"...
  • Page 8: Oem Versions

    A/D Converter Input * 512K options available The BL2500 consists of a main board with a RabbitCore module. Refer to the RabbitCore module manuals, available on Rabbit’s site, for more information on the RabbitCore modules, including their schematics. Appendix A provides detailed specifications.
  • Page 9: Development And Evaluation Tools

    0.156" crimp terminals; 1 × 2, 1 × 4, and 1 × 10 friction-lock connectors. • Nylon machine screws to serve as legs for the BL2500 board during development. • Rabbit 3000 Processor Easy Reference poster. • Registration card. Figure 1. BL2500/OEM2500 Development Kit...
  • Page 10: Software

    Rabbit sales representative or authorized distributor. 1.2.3 Connectivity Tools Rabbit also has available additional tools and parts to allow you to make your own wiring assemblies in quantity to interface with the friction-lock connectors on the Coyote. • Connectivity Kit (Part No. 101-0581)—Six 1 × 10 friction-lock connectors (0.1" pitch) with sixty 0.1"...
  • Page 11: Din Rail Mounting

    1.2.4 DIN Rail Mounting The Coyote may be mounted in 100 mm DIN rail trays as shown in Figure 2. BL2500 Tray Side Modular PC Board Trays DIN Rail Figure 2. Mounting Coyote in DIN Rail Trays DIN rail trays are typically mounted on DIN rails with “feet.” Table 2 lists Phoenix Contact part numbers for the DIN rail trays, rails, and feet.
  • Page 12: Rabbitnet Peripheral Cards

    1.3 RabbitNet Peripheral Cards RabbitNet™ is an SPI serial protocol that uses a robust RS-422 differential signalling interface (twisted-pair differential signaling) to run at a fast 1 Megabit per second serial rate. The Coyote has two RabbitNet ports, each of which can support one peripheral card. Distances between a master processor unit and peripheral cards can be up to 10 m or 33 ft.
  • Page 13: Ce Compliance

    These limits apply over the range of 30–230 MHz. The limits are 7 dB higher for frequen- cies above 230 MHz. Although the test range goes to 1 GHz, the emissions from Rabbit- based systems at frequencies above 300 MHz are generally well below background noise levels.
  • Page 14: Design Guidelines

    • When connecting the BL2500 single-board computer to outdoor cables, the customer is responsible for providing CE-approved surge/lightning protection. • Rabbit recommends placing digital I/O or analog cables that are 3 m or longer in a metal conduit to assist in maintaining CE compliance and to conform to good cable design practices.
  • Page 15: Chapter 2. Getting Started

    2. G ETTING TARTED Chapter 2 explains how to connect the programming cable and power supply to the BL2500. 2.1 Preparing the BL2500 for Development Position the BL2500 as shown below in Figure 3. Attach the four nylon 4-40 × ¼ machine screws and nuts supplied with the Development Kit in the holes at the corners as shown.
  • Page 16: Bl2500 Connections

    (Part No. 20-101-0513). If you are using a BL2500 with the optional 10/100Base-T Ethernet interface, you will need the programming cable that has a blue shrink wrap around the RS-232 level converter (Part No. 20-101-0542). Other Rabbit programming cables might not be voltage-compatible or their connector sizes may be different.
  • Page 17 2. When all other connections have been made, you can connect power to the BL2500. Connect the AC adapter to header J2 on the BL2500 as shown in Figure 5. Match the friction lock tab on the friction-lock connector to the back of header J2 on the BL2500 as shown.
  • Page 18: Hardware Reset

    3. Apply power. Plug in the AC adapter. CAUTION: Unplug the power supply while you make or otherwise work with the connections to the headers. This will protect your BL2500 from inadvertent shorts or power spikes. 2.2.1 Hardware Reset A hardware reset is done by unplugging the AC adapter, then plugging it back in, or by shorting out the reset pads on the back of the BL2500 (see Figure 6).
  • Page 19: Installing Dynamic C

    2.3 Installing Dynamic C If you have not yet installed Dynamic C version 7.33 (or a later version), do so now by inserting the Dynamic C CD from the BL2500/OEM2500 Development Kit in your PC’s CD-ROM drive. The CD will auto-install unless you have disabled auto-install on your PC. If the CD does not auto-install, click Start >...
  • Page 20: Starting Dynamic C

    Dynamic C will not do the initial BIOS compile and load until the first time you compile a program.) If you receive the message No Rabbit Processor Detected , the programming cable may be connected to the wrong COM port, a connection may be faulty, or the target system may not be powered up.
  • Page 21: Pong.c

    Section 5.2.3, “Run the PINGME.C Demo,” tests the TCP/IP portion of the board. 2.6 Where Do I Go From Here? NOTE: If you purchased your BL2500 through a distributor or Rabbit partner, contact the distributor or partner first for technical support.
  • Page 22: Using The Coyote In High-Vibration Environments

    2.7 Using the Coyote In High-Vibration Environments If you plan to use your Coyote in a high-vibration environment, the RabbitCore module may be secured more solidly to a swage on the Coyote main board using a 2-56 × ¼" machine screw as shown in Figure 7. TVS1 RS485 TERMINATION RESISTORS Figure 7.
  • Page 23: Chapter 3. Subsystems

    The memory and microprocessor are located on the RabbitCore module. If you have more than one Coyote or other Rabbit products built around RabbitCore modules, take care not to swap the RabbitCore modules since they contain system ID block information and cali- bration constants that are unique to the board they were originally installed on.
  • Page 24: Coyote Pinouts

    3.1 Coyote Pinouts The Coyote pinouts are shown in Figure 9. Analog Ground RabbitNet Analog Analog Outputs Input Power Supply RS-232 Digital Outputs Digital Inputs Digital Inputs RS-485 Ethernet Clocked CMOS Figure 9. Coyote Pinouts Coyote (BL2500)
  • Page 25: Headers

    3.1.1 Headers Standard Coyote models are equipped with five 1 × 10 friction-lock connector terminals (J1, J3, J9, J11, and J12) where pin 9 is removed to polarize the connector terminals, a 2 × 5 RS-232 signal header, a 2 × 5 programming header, and an RJ-45 Ethernet jack on the RabbitCore module.
  • Page 26: Indicators

    The Coyote’s RabbitCore module has two LEDs next to the RJ-45 Ethernet jack, one to indicate an Ethernet link ( ) and one to indicate Ethernet activity ( User-programmable LEDs driven by the Rabbit 3000 • DS1—PB6 (yellow), • DS2—PB7 (red), •...
  • Page 27: Digital I/O

    22 k series resistor and a 10 nF capacitor. Factory Default Rabbit 3000 ™ Microprocessor Figure 10. Coyote Digital Inputs [Pulled Up—Factory Default] Coyote series boards can be made to order in...
  • Page 28: Digital Outputs

    3.3.2 Digital Outputs The Coyote has eight digital outputs, OUT0–OUT7, each of which can sink up to 200 mA. Figure 12 shows a wiring diagram for using the digital outputs in a sinking configuration. SINKING OUTPUTS Current Flow Figure 12. Coyote Digital Outputs +K is an externally supplied voltage of 3.3–40 V DC, and should be capable of delivering all the load currents.
  • Page 29: Analog Features

    3.4 Analog Features 3.4.1 A/D Converter The A/D converter, shown in Figure 13, compares the DA0 voltage to AD0, the voltage presented to the A/D converter. DA0 therefore cannot be used for the D/A converter when the A/D converter is being used. Figure 13.
  • Page 30: D/A Converters

    ±5%, the pulse-width modulated outputs might not reach the full 0 V and 3.3 V rails out of the Rabbit 3000 microprocessor, and the gain resistors used in the circuit have a 1% tolerance. For these reasons, each Coyote needs to be calibrated individually, with the constants held in software, to be able to rely on an absolute accuracy.
  • Page 31 3.3 V with respect to the time the signal is at 0 V to achieve any desired voltage between 0 and 3.3 V. It is very easy to do pulse-width modulation with the Rabbit 3000 microprocessor because the chip’s architecture includes an advanced PWM feature.
  • Page 32 The full D/A converter voltage range of 0–3.3 V cannot be realized because of the voltage tolerances associated with the voltage regulator, the Rabbit 3000 PWM output, and the op- amp rail. The circuit can achieve an actual voltage range of 0.1–3.3 V.
  • Page 33: Serial Communication

    3.5 Serial Communication The Coyote has two RS-232 serial ports, which can be configured as one RS-232 serial channel (with RTS/CTS) or as two RS-232 (3-wire) channels. The Coyote also has one RS- 485 serial channel, one clocked CMOS serial channel, and two SPI serial ports with RS- 422.
  • Page 34: Rs-232

    RS-232 serial communication protocol. Basically, the chip translates the Rabbit 3000’s CMOS/TTL 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 approximately -6 V and 0 V is output as...
  • Page 35: Rs-485

    3.5.2 RS-485 The Coyote has one RS-485 serial channel, which is connected to the Rabbit 3000 Serial Port D through an RS-485 transceiver. The half-duplex communication uses PA4 to con- trol the transmit enable on the communication line. Using this scheme a strict master/slave relationship must exist between devices to insure that no two devices attempt to drive the bus simultaneously.
  • Page 36 The Coyote comes with a 220  termination resistor and two 681  bias resistors installed and enabled. The load these bias and termination resistors present to the RS-485 transceiver limits the number of Coyotes in a multidrop network to one master and nine slaves, unless the bias and termination resistors are removed.
  • Page 37: Programming Port

    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 RCM3400 onboard peripheral circuits. The serial programming port can be used to force a hard reset on the RCM3400 by asserting the /RESET_IN signal.
  • Page 38: Ethernet Port

    3.5.5 Ethernet Port Figure 17 shows the pinout for the RJ-45 Ethernet port (header J4 on the RabbitCore mod- ule). Note that some Ethernet connectors are numbered in reverse to the order used here. RJ-45 Plug RJ-45 Jack Figure 17. RJ-45 Ethernet Port Pinout Two LEDs are placed next to the RJ-45 Ethernet jack, one to indicate an Ethernet link ) and one to indicate Ethernet activity ( The transformer/connector assembly ground is connected to the RabbitCore module...
  • Page 39: Serial Programming Cable

    PROG gramming cable is attached, and is automatically in Run Mode when no programming cable is attached. When the Rabbit 3000 is reset, the operating mode is determined by the status of the SMODE pins. When the programming cable’s connector is attached, PROG the SMODE pins are pulled high, placing the Rabbit 3000 in the Program Mode.
  • Page 40: Other Hardware

    3.7 Other Hardware 3.7.1 Clock Doubler The Coyote takes advantage of the Rabbit 3000 microprocessor’s internal clock doubler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emissions. The 29.4 MHz frequency specified for the Coyote is generated using a 14.7456 MHz crystal.
  • Page 41: Spectrum Spreader

    3.7.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. The means for doing so is through a simple configuration macro as shown below.
  • Page 42: Memory

    The Coyote is also designed to accept 128K to 512K of flash memory. The standard Coyote’s RabbitCore modules comes with one 256K flash memory. NOTE: Rabbit recommends that any customer applications should not be constrained by the sector size of the flash memory since it may be necessary to change the sector size in the future.
  • Page 43: Chapter 4. Software

    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 4 provides the libraries, function calls, and sample pro- grams related to the Coyote.
  • Page 44  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 45: Upgrading Dynamic C

    The default installation of a patch or bug fix is to install the file in a directory (folder) dif- ferent from that of the original Dynamic C installation. Rabbit recommends using a differ- ent directory so that you can verify the operation of the patch without overwriting the existing Dynamic C installation.
  • Page 46: Accessing And Downloading Dynamic C Libraries

    TYPES.LIB You will be able to use the revamped Dynamic C installation with the Coyote and you will continue to be able to use this installation with all the other Rabbit products you were able to use before. Coyote (BL2500)
  • Page 47: Sample Programs

    4.2 Sample Programs Sample programs are provided in the Dynamic C folder. The sample program SAMPLES demonstrates the output to the window. The various directories in the STDIO PONG.C folder contain specific sample programs that illustrate the use of the correspond- SAMPLES ing Dynamic C libraries.
  • Page 48: A/D Converter Inputs

    —Demonstrates basic initialization for a simple RS-232 3-wire loop- • SIMPLE3WIRE.C back displayed in the STDIO window. —This program transmits and then receives an ASCII string on Serial • SWITCHCHAR.C Ports E and F when a switch is pressed. It also displays the serial data received from both ports in the window.
  • Page 49: Using System Information From The Rabbitcore Module

    Coyote to the ID block associated with the RabbitCore module. The sample program WRITE_IDBLOCK.C, available on the Rabbit Web site at www.rabbit.com/support/feature_downloads.shtml, provides specific instructions and an example.
  • Page 50: Coyote Libraries

    —used to configure the BL2500 for use with RabbitNet peripheral • RN_CFG_BL25.LIB cards. —libraries specific to using TCP/IP functions. • TCPIP Other generic functions applicable to all devices based on the Rabbit 3000 microprocessor are described in the Dynamic C Function Reference Manual. Coyote (BL2500)
  • Page 51: Coyote Function Calls

    4.4 Coyote Function Calls 4.4.1 Board Initialization void brdInit (void); Call this function at the beginning of your program. This function initializes Parallel Ports A through G for use with the Coyote. The ports are initialized according to Table A-3. Summary of initialization 1.
  • Page 52: Digital I/O

    4.4.2 Digital I/O void digOut(int channel, int value); Sets the state of digital outputs OUT0–OUT7, whereOUT0–OUT7 are sinking outputs. A run-time error will occur for the following conditions: channel or value is out of range. brdInit was not called first. PARAMETERS channel is the digital output channels (0–7)
  • Page 53 int digIn(int channel); Reads the state of an input channel (IN00–IN15). A run-time error will occur for the following conditions: channel out of range. brdInit digIn was not executed before executing PARAMETER channel is the input channel number (0–15) RETURN VALUE The logic state of the input (0 or 1).
  • Page 54: Leds

    4.4.3 LEDs void ledOut(int led, int value); LED on/off control. PARAMETERS is the LED to control 0 = LED DS1 1 = LED DS2 2 = LED DS3 3 = LED DS4 value is used to control whether the LED is on or off 0 = OFF 1 = ON RETURN VALUE...
  • Page 55: Serial Communication

    For more information, see the Dynamic C Function Reference Manual and Technical Note 213, Rabbit Serial Port Software. Use the following function calls with the Coyote.
  • Page 56: Analog Inputs

    4.4.5 Analog Inputs unsigned int anaIn(unsigned int channel); Uses D/A converter channel DA0 to search through the full voltage range for a match to the input voltage on channel AD0. This is done using a 10-step successive-approximation binary search, which nominally takes 86 ms.
  • Page 57 float anaInVolts(unsigned int channel); Reads the voltage of a single-ended analog input channel using D/A channel DA0 for comparison to find a match to the input voltage on channel AD0. This is done using a 10-step successive-approximation binary search, which nominally takes 86 ms. Call pwmOutConfig() and pwm_init() before using this function.
  • Page 58 int anaInEERd(unsigned int channel); Reads the calibration constants, gain, and offset for an input based on its designated channel code position into global table _adcCalibS . Use the sample program USERBLOCK_INFO.C SAMPLES\USERBLOCK to get the addresses reserved for the calibration data constants and the addresses available for use in your program.
  • Page 59: Analog Outputs

    4.4.6 Analog Outputs unsigned long pwm_init(unsigned long frequency); This function from the R3000.LIB library in Lib\Rabbit3000 sets the base frequency for the PWM pulses and enables the PWM driver on all four channels. The base frequency is the frequency without pulse spreading. Pulse spreading will increase the frequency by a factor of 4. PARAMETER frequency is the frequency (in Hz) RETURN VALUE...
  • Page 60 int pwmOut(unsigned int channel, int rawdata); Sets a voltage (0 to V ) on an analog output channel given a data point on the 1024 clock count cycle. Call pwmOutConfig() and pwm_init() before using this function. (An exception error will occur if these functions were not been called previously.) PARAMETERS channel is the PWM output channel to write: 0 for DA0, 1 for DA1...
  • Page 61 int anaOutCalib(int channel, int value1, float volts1,int value2, float volts2); Calibrates the response of the D/A converter channel as a linear function using the two conversion points provided. Values are calculated and placed into global table _dacCalibS for analog inputs to be stored later into simulated EEPROM using the function anaOutEEWr().
  • Page 62 int anaOutEEWr(unsigned int channel); Writes the calibration constants, gain, and offset for an output based on its designated channel code position into global table _adcCalibS . Use the sample program USERBLOCK_INFO.C SAMPLES\USERBLOCK to get the addresses reserved for the calibration data constants and the addresses available for use in your program.
  • Page 63: Rabbitnet Port

    4.4.7 RabbitNet Port The function calls described in this section are used to configure the BL2500 for use with RabbitNet peripheral cards. The user’s manual for the specific peripheral card you are using contains additional function calls related to the RabbitNet protocol and the individ- ual peripheral card.
  • Page 64 void rn_sp_enable(int portnum); This is a macro that enables or asserts the BL2500 RabbitNet port select prior to data transfer. PARAMETERS portnum = 0 RETURN VALUE None void rn_sp_disable(int portnum); This is a macro that disables or deasserts the BL2500 RabbitNet port select to invalidate data transfer. PARAMETERS portnum = 0 RETURN VALUE...
  • Page 65: Chapter 5. Using The Tcp/Ip Features

    • Two RJ-45 straight-through Ethernet cables and a hub, or an RJ-45 crossover Ethernet cable. The Ethernet cables and Ethernet hub are available from Rabbit in a TCP/IP tool kit. More information is available at www.rabbit.com. 1. Connect the AC adapter and the programming cable as shown in Chapter 2, “Getting Started.”...
  • Page 66 3. Apply Power Plug in the AC adapter. The Coyote is now ready to be used. NOTE: A hardware RESET is accomplished by unplugging the AC adapter, then plug- ging it back in, or by momentarily grounding the reset pins on the back of the Coyote. When the PROG connector of the programming cable connects the Coyote to your PC, and Dynamic C is running, a RESET occurs when you press <Ctrl-Y>...
  • Page 67: Tcp/Ip Sample Programs

    5.2 TCP/IP Sample Programs We have provided a number of sample programs demonstrating various uses of TCP/IP for networking embedded systems. These programs require that you connect your PC and the Coyote together on the same network. This network can be a local private network (pre- ferred for initial experimentation and debugging), or a connection via the Internet.
  • Page 68: How To Set Up Your Computer's Ip Address For A Direct Connection

    5.2.2 How to Set Up your Computer’s IP Address for a Direct Connection When your computer is connected directly to the Coyote via an Ethernet connection, you need to assign an IP address to your computer. To assign the PC the address with the netmask , do the following.
  • Page 69: Run The Pingme.c Demo

    5.2.3 Run the PINGME.C Demo Connect the crossover cable from your computer’s Ethernet port to the Coyote’s RJ-45 Ethernet connector. Open this sample program from the folder, SAMPLES\TCPIP\ICMP compile the program, and start it running under Dynamic C. When the program starts run- ning, the green LNK light on the Coyote should be on to indicate an Ethernet connection is made.
  • Page 70: Running More Demo Programs With A Direct Connection

    5.3 Where Do I Go From Here? NOTE: If you purchased your Coyote through a distributor or Rabbit partner, contact the distributor or partner first for technical support. If there are any problems at this point: •...
  • Page 71: Appendix A. Specifications

    A. S PPENDIX PECIFICATIONS Appendix A provides the specifications for the Coyote. User’s Manual...
  • Page 72: Electrical And Mechanical Specifications

    A.1 Electrical and Mechanical Specifications Figure A-1 shows the mechanical dimensions for the Coyote. CAUTION Dig Outputs Dig Inputs Dig Inputs Figure A-1. Coyote Dimensions NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. Coyote (BL2500)
  • Page 73 Table A-1 lists the electrical, mechanical, and environmental specifications for the Coyote. Table A-1. Coyote Specifications Feature BL2500 BL2510 ® Microprocessor Rabbit 3000 at 29.4 MHz 10/100-compatible Ethernet Port — with 10Base-T interface Flash Memory 256K standard, 512K (2 × 256K) option...
  • Page 74: Exclusion Zone

    A.1.1 Exclusion Zone It is recommended that you allow for an “exclusion zone” of 0.25" (6 mm) around the Coyote in all directions when the Coyote is incorporated into an assembly that includes other components. An “exclusion zone” of 0.12" (3 mm) is recommended below the Coyote.
  • Page 75: Physical Mounting

    A.1.2 Physical Mounting Figure A-3 shows position information to assist with interfacing other boards with the Coyote. Figure A-3. User Board Footprint for Coyote User’s Manual...
  • Page 76: Conformal Coating

    A.2 Conformal Coating The areas around the crystal oscillator and the battery backup circuit on the Coyote’s Rab- bitCore module have had the Dow Corning silicone-based 1-2620 conformal coating applied. The conformally coated areas are shown in Figure A-4. The conformal coating protects these high-impedance circuits from the effects of moisture and contaminants over time, and helps to maintain the accuracy of the real-time clock.
  • Page 77: Jumper Configurations

    A.3 Jumper Configurations Figure A-5 shows the header and jumper locations used to configure the various Coyote options. Figure A-5. Location of Coyote Configurable Positions (RabbitCore module is not shown) Table A-2 lists the configuration options. 0  surface mount resistors are used for all the positions except JP10 and J8, which use standard pluggable jumpers.
  • Page 78: Use Of Rabbit 3000 Parallel Ports

    Port Clock Doubler Backup Battery Flash Support Figure A-6. Coyote Rabbit-Based Subsystems Table A-3 lists the Rabbit 3000 parallel ports and their use in the Coyote. Table A-3. Use of Rabbit 3000 Parallel Ports Port Signal Initial State Output OUT0...
  • Page 79 Table A-3. Use of Rabbit 3000 Parallel Ports (continued) Port Signal Initial State Output OUT6 Output OUT7 Output LED DS1 High (disabled) Output LED DS2 High (disabled) Output TXD RS-485 Inactive high Serial Port D Input RXD RS-485 Inactive high...
  • Page 80 Table A-3. Use of Rabbit 3000 Parallel Ports (continued) Port Signal Initial State Input IN09 Pulled up to 3.3 V Input IN10 Pulled up to 3.3 V Input IN11 Pulled up to 3.3 V Output High Output High Input IN04 Pulled up to 3.3 V...
  • Page 81: Appendix B. Power Supply

    B. P PPENDIX OWER UPPLY Appendix B describes the power circuitry provided on the Coyote. B.1 Power Supplies Power is supplied to the Coyote via the friction-lock connector terminal at J2. The Coyote has an onboard +5 V switching power regulator from which a +3.3 V linear regulator draws its supply.
  • Page 82: Batteries And External Battery Connections

    B.2 Batteries and External Battery Connections The SRAM and the real-time clock have battery backup. Power to the SRAM and the real- time clock (VRAM) on the Coyote’s RabbitCore module is provided by two different sources, depending on whether the main part of the Coyote is powered or not. When the Coyote is powered normally, and Vcc is within operating limits, the SRAM and the real- time clock are powered from Vcc.
  • Page 83: Power To Vram Switch

    Vcc and VRAM. B.2.2 Reset Generator The Coyote’s RabbitCore module uses a reset generator to reset the Rabbit 3000 micro- processor when the voltage drops below the voltage necessary for reliable operation. The reset typically occurs at 2.93 V (2.63 V for the BL2510).
  • Page 84: Power To Peripheral Cards

    B.4 Power to Peripheral Cards DCIN and Vcc are available on friction-lock connector terminals J7 and J8 to power peripheral cards that may be used with the Coyote. Power Supply Figure B-3. Pinout Friction-Lock Connector Terminals J7 and J8 Keep in mind that the Coyote draws 377 mA from the Vcc supply, and that the diode at D1 (shown in Figure B-1) can handle at most 1 A at V , so that leaves the remaining current capacity to be shared among the DCIN and Vcc pins on friction-lock connector terminals...
  • Page 85: Demonstration Board Connections

    • Crimp tool (pliers may be used, but a crimp tool provides a better crimp with a stronger force) Rabbit sells a crimp tool and a Connectivity Kit that contains additional friction-lock con- nectors and crimp terminals. Table 3 in Chapter 3 provides information on specific friction- lock connectors and crimp terminals to be used with the various headers on the BL2500.
  • Page 86 TIP: On 10-pin friction-lock connectors, insert a plug into the hole indicated in Figure C-2 to polarize your connector to help prevent offsetting the connector by one pin when you attach it to your Coyote. Polarizing plugs are not included in Rabbit’s Connectivity Kit. Coyote (BL2500)
  • Page 87: Connecting Demonstration Board

    C.2 Connecting Demonstration Board Before running sample programs based on the Demonstration Board, you will have to con- nect the Demonstration Board from the BL2500/OEM2500 Development Kit to the Coyote board. Proceed as follows. 1. Use one of the wiring harnesses you have built to connect header J1 on the Demonstra- tion Board to the Coyote.
  • Page 88 BL2500 Demonstration Board (Header J3/J7) (Screw Terminals J1) Jumpers: TVS1 RS485 TERMINATION RESISTORS Figure C-4. Connections Between Coyote and Demonstration Board DIGOUT.C Sample Program Coyote (BL2500)
  • Page 89 BL2500 Demonstration Board (Header J3/J7/J11) (Screw Terminals J1) Jumpers: TVS1 RS485 TERMINATION RESISTORS Figure C-5. Connections Between Coyote and Demonstration Board for TCP/IP SMPT.C Sample Program User’s Manual...
  • Page 90 Coyote (BL2500)
  • Page 91: Appendix D. Rabbitnet

    PPENDIX ABBIT D.1 General RabbitNet Description RabbitNet is a high-speed synchronous protocol developed by Rabbit to connect periph- eral cards to a master and to allow them to communicate with each other. D.1.1 RabbitNet Connections All RabbitNet connections are made point to point. A RabbitNet master port can only be connected directly to a peripheral card, and the number of peripheral cards is limited by the number of available RabbitNet ports on the master.
  • Page 92: Rabbitnet Peripheral Cards

    Use a straight-through Ethernet cable to connect the master to slave peripheral cards, unless you are using a device such as the OP7200 that could be used either as a master or a slave. In this case you would use a crossover cable to connect an OP7200 that is being used as a slave. Distances between a master unit and peripheral cards can be up to 10 m or 33 ft.
  • Page 93: Physical Implementation

    With this type of termination, the maximum frequency is limited by the round-trip delay time of the cable. Although a peripheral card could theoretically be up to 45 m (150 ft) from the master for a data rate of 1 MHz, Rabbit recommends a practical limit of 10 m (33 ft).
  • Page 94: Function Calls

    D.3 Function Calls The function calls described in this section are used with all RabbitNet peripheral cards, and are available in the library in the Dynamic C folder. RNET.LIB RABBITNET int rn_init(char portflag, char servicetype); Resets, initializes, or disables a specified RabbitNet port on the master single-board computer. During initialization, the network is enumerated and relevant tables are filled in.
  • Page 95 int rn_find(rn_search *srch); Locates the first active device that matches the search criteria. PARAMETER srch is the search criteria structure rn_search: unsigned int flags; // status flags see MATCH macros below unsigned int ports; // port bitmask char productid; // product id char productrev;...
  • Page 96 int rn_write(int handle, int regno, char *data, int datalen); Writes a string to the specified device and register. Waits for results. check device infor- This function will mation to determine that the peripheral card is connected to a master. PARAMETERS handle is an address index to device information.
  • Page 97 int rn_reset(int handle, int resettype); Sends a reset sequence to the specified peripheral card. The reset takes approximately 25 ms before the peripheral card will once again execute the application. Allow 1.5 seconds after the reset has completed before accessing the peripheral card. This function will check peripheral card information to determine that the peripheral card is connected to a master.
  • Page 98 int rn_enable_wdt(int handle, int wdttype); Enables the hardware and/or software watchdog timers on a peripheral card. The software on the periph- eral card will keep the hardware watchdog timer updated, but will hard reset if the time expires. The hardware watchdog cannot be disabled except by a hard reset on the peripheral card. The software watch- dog timer must be updated by software on the master.
  • Page 99 int rn_rst_status(int handle, char *retdata); Reads the status of which reset occurred and whether any watchdogs are enabled. PARAMETERS handle is an address index to device information. Use rn_device() or rn_find() to establish the handle. retdata is a pointer to the return address of the communication byte. A set bit indicates which error occurred.
  • Page 100: Status Byte

    D.3.1 Status Byte Unless otherwise specified, functions returning a status byte will have the following format for each designated bit. 00 = Reserved 01 = Ready × × 10 = Busy 11 = Device not connected 0 = Device × 1 = Router 0 = No error ×...
  • Page 101: Index

    RabbitNet librar- clock doubler ......34 ies ........40 connections installation ......13 Ethernet cable ....59 Rabbit Embedded Security connectivity tools power to peripheral cards .. 78 Pack ........ 4 Connectivity Kit ....4 sample programs ....41 power to peripheral cards ..
  • Page 102 ....41 programming port ....31 D/A converter specifications DAC.C ......42 BL2500 DACCALIB.C ....42 dimensions .....66 PWM.C ......42 Rabbit 3000 electrical ......67 digital I/O parallel ports ......72 exclusion zone ....68 DIGIN.C ....41, 81 RabbitNet ........6 temperature ....67 DIGOUT.C ..41, 81, 82 Ethernet cables to connect pe- header footprint ....69...
  • Page 103 function calls readUserBlock ....36 writeUserBlock ..... 36 sample programs USERBLOCK_INFO.C 52, 55, 56 User’s Manual...
  • Page 104 Coyote (BL2500)
  • Page 105: Schematics

    CHEMATICS 090-0158 Coyote (BL2500) Schematic www.rabbit.com/documentation/schemat/090-0158.pdf 090-0042 Demonstration Board Schematic www.rabbit.com/documentation/schemat/090-0042.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf You may use the URL information provided above to access the latest schematics directly. The Coyote consists of a main board with a RabbitCore module. Refer to the RabbitCore module manuals for more information on the RabbitCore modules, including their schematics.
  • Page 107 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Rabbit Semiconductor 101-0577...

Table of Contents