101-0600 Rabbit Semiconductor, 101-0600 Datasheet

no-image

101-0600

Manufacturer Part Number
101-0600
Description
COMPUTER SNGLBD BL2510 512K FLSH
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0600

Module/board Type
Single Board Computer Module
For Use With/related Products
BL2510
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Coyote (BL2500)
C-Programmable Single-Board Computer with Ethernet
User’s Manual
019–0120_M

Related parts for 101-0600

101-0600 Summary of contents

Page 1

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

Page 2

BL2500 User’s Manual Part Number 019-0120 • Printed in U.S.A. ©2002–2010 Digi International Inc. • All rights reserved. Digi International reserves the right to make changes and improvements to its products without providing notice. Trademarks Rabbit and Dynamic C are ...

Page 3

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 ...

Page 4

Chapter 4. Software 4.1 Running Dynamic C........................................................................................................................... 37 4.1.1 Upgrading Dynamic C................................................................................................................ 39 4.1.2 Accessing and Downloading Dynamic C Libraries ................................................................... 40 4.2 Sample Programs................................................................................................................................ 41 4.2.1 General Coyote Operation.......................................................................................................... 41 4.2.2 Digital I/O................................................................................................................................... 41 4.2.3 Serial Communication ................................................................................................................ 41 ...

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

The Coyote single-board computer gives OEM designers extremely low-cost embedded control for high-volume applica- tions. Two standard models—one with Ethernet, one without— ® feature the Rabbit with standard 256K flash and 128K SRAM. These compact boards are rich with the ...

Page 8

Two BL2500 models are available. Their standard features are summarized in Table 1. Feature Microprocessor Flash Memory Static RAM Ethernet Connections RabbitCore Module Used A/D Converter Input * 512K options available The BL2500 consists of a main board with a ...

Page 9

Development and Evaluation Tools 1.2.1 Development Kit A Development Kit contains the hardware essentials you will need to use your BL2500/OEM2500. The items in the Development Kit and their use are as follows. • BL2500 single-board computer. • Getting ...

Page 10

... 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" crimp terminals; and two 1 × 4 friction-lock connectors (0.156" pitch) and two 1 × ...

Page 11

DIN Rail Mounting The Coyote may be mounted in 100 mm DIN rail trays as shown in Figure 2. Figure 2. Mounting Coyote in DIN Rail Trays DIN rail trays are typically mounted on DIN rails with “feet.” Table ...

Page 12

RabbitNet Peripheral Cards RabbitNet™ 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 ...

Page 13

CE Compliance Equipment is generally divided into two classes. CLASS A Digital equipment meant for light industrial use Less restrictive emissions requirement: less than 40 dB µV (40 dB relative to 1 µV/m) or 300 µV/m ...

Page 14

Design Guidelines Note the following requirements for incorporating the BL2500 series of single-board computers into your application to comply with CE requirements. General • The power supply provided with the Tool Kit is for development purposes only ...

Page 15

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 ...

Page 16

... BL2500. NOTE: Use only the programming cable that has a red shrink wrap around the RS-232 level converter (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 ...

Page 17

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 ...

Page 18

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 ...

Page 19

Installing Dynamic C If you have not yet installed Dynamic C version 7.33 (or a later version now by inserting the Dynamic C CD from the BL2500/OEM2500 Development Kit in your PC’s CD-ROM drive. The CD will ...

Page 20

Starting Dynamic C Once the BL2500 is connected to your PC and to a power source, double-clicking on the Dynamic C icon on your desktop or in your Dynamic C defaults to using the serial port on your PC ...

Page 21

PONG.C You are now ready to test your set-up by running a sample program. Find the file PONG.C , which is in the Dynamic C SAMPLES folder. To run the program, open it with the menu ( ...

Page 22

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 ...

Page 23

Chapter 3 describes the principal subsystems for the Coyote. • Digital I/O • Analog Features • Serial Communication • Memory Figure 8 shows these Rabbit-based subsystems designed into the Coyote. The memory and microprocessor are located on the RabbitCore module. ...

Page 24

Coyote Pinouts The Coyote pinouts are shown in Figure 9. 18 Figure 9. Coyote Pinouts Coyote (BL2500) ...

Page 25

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 × 5 RS-232 signal header ...

Page 26

Indicators 3.2.1 LEDs The Coyote’s RabbitCore module has two LEDs next to the RJ-45 Ethernet jack, one to indicate an Ethernet link ( LNK User-programmable LEDs driven by the Rabbit 3000 • DS1—PB6 (yellow), • DS2—PB7 (red), • DS3—PA7 ...

Page 27

Digital I/O 3.3.1 Digital Inputs The Coyote has 16 digital inputs, IN00–IN15. IN00–IN13 and IN15 are each protected over a range of – +36 V, and IN14 is protected over a range of – ...

Page 28

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. Figure 12. Coyote Digital Outputs +K ...

Page 29

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 ...

Page 30

PB2 can be imagined “DA0 voltage is too low” indicator. If DA0 is smaller than the analog voltage presented at AD0, then PB2 will be true (high). If this happens, the pro- gram will need to raise ...

Page 31

Pulse-width modulation (PWM) is used for the D/A conversion. The digital signal, which is either 3.3 V, will be a train of pulses. This means that if the signal is taken to be usually ...

Page 32

Based on the standard capacitor discharge formula, this means that the maximum voltage change will be  – 8.7 µs ----------------- -  2.5 ms  1. – This is a ripple of approximately 6 mV peak-to-peak. ...

Page 33

Serial Communication The Coyote has two RS-232 serial ports, which can be configured as one RS-232 serial channel (with RTS/CTS two RS-232 (3-wire) channels. The Coyote also has one RS- 485 serial channel, one clocked CMOS serial ...

Page 34

RS-232 The Coyote RS-232 serial communication is supported by an RS-232 transceiver. This transceiver provides the voltage output, slew rate, and input voltage immunity required to meet the RS-232 serial communication protocol. Basically, the chip translates the Rabbit 3000’s ...

Page 35

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 ...

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 ...

Page 37

Programming Port The Coyote’s serial programming port is accessed via the 10-pin programming header on the RabbitCore module or over an Ethernet connection via the RabbitLink EG2110. The programming port uses the Rabbit 3000’s Serial Port A for communication. ...

Page 38

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. Figure 17. RJ-45 Ethernet Port Pinout ...

Page 39

Serial Programming Cable The programming cable is used to connect the serial programming port of the Coyote serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to the ...

Page 40

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 ...

Page 41

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 ...

Page 42

Memory 3.8.1 SRAM The Coyote’s RabbitCore module is designed to accept 128K to 512K of SRAM packaged in an SOIC case. The standard Coyote’s RabbitCore modules come with 128K of SRAM. 3.8.2 Flash Memory The Coyote is also designed ...

Page 43

Dynamic integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with single-board computers and other devices based on the Rabbit Chapter 4 provides the libraries, function calls, and ...

Page 44

Dynamic C has a number of standard features: • Full-feature source and/or assembly-level debugger, no in-circuit emulator required. • Royalty-free TCP/IP stack with source code and most common protocols. • Hundreds of functions in source-code libraries and sample programs:  ...

Page 45

Upgrading Dynamic C 4.1.1.1 Patches and Bug Fixes Dynamic C patches that focus on bug fixes are available from time to time. Check the Web site at www.rabbit.com/support/ The default installation of a patch or bug fix is to ...

Page 46

Accessing and Downloading Dynamic C Libraries The libraries needed to run the Coyote are available on the CD included with the Develop- ment Kit, or they may be downloaded from Rabbit’s Web site. You may need to download upgraded ...

Page 47

Sample Programs Sample programs are provided in the Dynamic C demonstrates the output to the PONG.C folder contain specific sample programs that illustrate the use of the correspond- SAMPLES ing Dynamic C libraries. The folder provides sample programs specific ...

Page 48

RS-232 3-wire loop- • SIMPLE3WIRE.C back displayed in the STDIO —This program transmits and then receives an ASCII string on Serial • SWITCHCHAR.C Ports E and F when a switch is pressed. It also ...

Page 49

Using System Information from the RabbitCore Module Calibration constants for the A/D converter are stored in the simulated EEPROM area of the flash memory. You may find it useful to retrieve the calibration constants and save them for future ...

Page 50

Coyote Libraries With Dynamic C running, click Dynamic C libraries and library directories will be displayed. Two library directories provide libraries of function calls that are used to develop applications for the Coyote. —libraries associated with features specific to ...

Page 51

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. ...

Page 52

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: 1. channel or value is out of range. 2. brdInit was not ...

Page 53

Reads the state of an input channel (IN00–IN15). A run-time error will occur for the following conditions: 1. channel out of range. brdInit 2. was not executed before executing PARAMETER channel is the input channel number (0–15) ...

Page 54

LEDs void ledOut(int led, int value); LED on/off control. PARAMETERS led is the LED to control 0 = LED DS1 1 = LED DS2 2 = LED DS3 3 = LED DS4 value is used to control whether the ...

Page 55

Serial Communication 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 ...

Page 56

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 ...

Page 57

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 ...

Page 58

Reads the calibration constants, gain, and offset for an input based on its designated channel code position into global table _adcCalibS SAMPLES\USERBLOCK to get the addresses reserved for the calibration data constants and the addresses available ...

Page 59

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 ...

Page 60

Sets a voltage ( analog output channel given a data point on the 1024 clock count cycle. dd Call pwmOutConfig() and pwm_init() before using this function. (An exception error ...

Page 61

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 ...

Page 62

Writes the calibration constants, gain, and offset for an output based on its designated channel code position into global table _adcCalibS SAMPLES\USERBLOCK to get the addresses reserved for the calibration data constants and the addresses available ...

Page 63

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 ...

Page 64

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 ...

Page 65

U Chapter 5 discusses using the TCP/IP features on the Coyote boards. 5.1 TCP/IP Connections Before proceeding you will need to have the following items. • If you don’t have an Ethernet connection, you will need to install a ...

Page 66

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 momentarily grounding the reset pins ...

Page 67

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 ...

Page 68

... IP address automatically.”) You may want to write down the existing values in case you have to restore them later not necessary to edit the gate- way address since the gateway is not used with direct connect. IP 10.10.6.101 Netmask 255.255.255.0 Direct Connection PC to Coyote Board the following ...

Page 69

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 compile the program, and start it running under Dynamic C. When the program starts ...

Page 70

Running More Demo Programs With a Direct Connection The sample programs discussed in this section use the Demonstration Board from the BL2500/OEM2500 Development Kit to illustrate their operation. Appendix C, “Demon- stration Board Connections,” contains diagrams of typical connections ...

Page 71

A PPENDIX Appendix A provides the specifications for the Coyote. User’s Manual A. S PECIFICATIONS 65 ...

Page 72

A.1 Electrical and Mechanical Specifications Figure A-1 shows the mechanical dimensions for the Coyote. Figure A-1. Coyote Dimensions NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. 66 Coyote (BL2500) ...

Page 73

Table A-1 lists the electrical, mechanical, and environmental specifications for the Coyote. Table A-1. Coyote Specifications Feature Microprocessor Ethernet Port Flash Memory SRAM Backup Battery LEDs 16 Digital Inputs Digital Outputs Analog Inputs One 10-bit resolution, 8-bit accuracy, input range ...

Page 74

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" ...

Page 75

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 69 ...

Page 76

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 ...

Page 77

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 ...

Page 78

A.4 Use of Rabbit 3000 Parallel Ports Figure A-6 shows the Rabbit 3000 parallel ports. 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 ...

Page 79

Table A-3. Use of Rabbit 3000 Parallel Ports (continued) Port I/O PB4 Output PB5 Output PB6 Output PB7 Output PC0 Output PC1 Input PC2 Output PC3 Input PC4 Output PC5 Input PC6 Output PC7 Input PD0 Output PD1 Output PD2 ...

Page 80

Table A-3. Use of Rabbit 3000 Parallel Ports (continued) Port I/O PF3 Input PF4 Input PF5 Input PF6 Output PF7 Output PG0 Input PG1 Input PG2 Output PG3 Input PG4 Input PG5 Input PG6 Output PG7 Input 74 Signal IN09 ...

Page 81

A PPENDIX 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 ...

Page 82

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 ...

Page 83

B.2.1 Power to VRAM Switch The VRAM switch on the Coyote’s RabbitCore module, shown in Figure B-2, allows the battery backup to provide power when the external power goes off. The switch provides an isolation between Vcc and the battery ...

Page 84

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. Figure B-3. Pinout Friction-Lock Connector Terminals J7 and J8 Keep in mind ...

Page 85

D EMONSTRATION Appendix C shows how to connect the Demonstration Board to the Coyote. C.1 Assemble Wire Harness Before you can connect the Demonstration Board to the Coyote to run the sample pro- grams based on the Demonstration Board, you ...

Page 86

Follow these steps to build your wire harness. 1. Prepare a few lengths of wire about 30 cm (12") long. The wires should have different colors of insulation to facilitate identifying the connections. 2. Trim about 2–3 mm (0.1") of ...

Page 87

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 ...

Page 88

Figure C-4. Connections Between Coyote and Demonstration Board for 82 DIGOUT.C Sample Program Coyote (BL2500) ...

Page 89

Figure C-5. Connections Between Coyote and Demonstration Board for TCP/IP User’s Manual SMPT.C Sample Program 83 ...

Page 90

Coyote (BL2500) ...

Page 91

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 ...

Page 92

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 ...

Page 93

D.2 Physical Implementation There are four signaling functions associated with a RabbitNet connection. From the mas- ter’s point of view, the transmit function carries information and commands to the periph- eral card. The receive function is used to read back ...

Page 94

D.3 Function Calls The function calls described in this section are used with all RabbitNet peripheral cards, and are available in the RNET.LIB int rn_init(char portflag, char servicetype); Resets, initializes, or disables a specified RabbitNet port on the master single-board ...

Page 95

Locates the first active device that matches the search criteria. PARAMETER srch is the search criteria structure rn_search: unsigned int flags; unsigned int ports; char productid; char productrev; char coderev; long serialnum; Use a maximum of 3 ...

Page 96

Writes a string to the specified device and register. Waits for results. mation to determine that the peripheral card is connected to a master. PARAMETERS handle is an address index to ...

Page 97

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 ...

Page 98

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 ...

Page 99

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 ...

Page 100

D.3.1 Status Byte Unless otherwise specified, functions returning a status byte will have the following format for each designated bit × × × × * Use the function rn_comm_status() to determine which error occurred. † Use ...

Page 101

A A/D converter calibration constants board serial number ....... 43 function calls anaIn .............................. 50 anaInCalib ..................... 51 anaInEERd .................... 52 anaInEEWr .................... 52 anaInVolts ..................... 51 cof_anaIn ....................... 50 analog inputs See A/D converter analog outputs See D/A convert- ...

Page 102

BL2500 ................................2 BL2510 ................................2 OEM versions ......................2 P peripheral cards .......................6 connection to master ....85, 86 power from BL2500 ..........78 physical mounting .................69 pinout BL2500 headers .................18 Ethernet port ......................32 power management ...............75 power supply .........................75 battery backup ...

Page 103

USERBLOCK_INFO.C 52, 55, 56 User’s Manual 97 ...

Page 104

Coyote (BL2500) ...

Page 105

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. ...

Page 106

...

Related keywords