Z-World Wolf BL2600 User Manual

C-programmable single-board computer with ethernet
Table of Contents

Advertisement

Quick Links

Wolf (BL2600)
C-Programmable Single-Board Computer with Ethernet
User's Manual
019–0142 • 040731–B

Advertisement

Table of Contents
loading

Summary of Contents for Z-World Wolf BL2600

  • Page 1 Wolf (BL2600) C-Programmable Single-Board Computer with Ethernet User’s Manual 019–0142 • 040731–B...
  • Page 2 Trademarks Rabbit and Rabbit 3000 are registered trademarks of Rabbit Semiconductor. RabbitNet is a trademark of Z-World Inc. Dynamic C is a registered trademark of Z-World Inc. Z-World, Inc. 2900 Spafford Street Davis, California 95616-6800...
  • Page 3: Table Of Contents

    ABLE OF ONTENTS Chapter 1. Introduction 1.1 BL2600 Description..........................1 1.2 BL2600 Features...........................1 1.2.1 Connector Options ........................2 1.3 Development and Evaluation Tools......................3 1.3.1 Tool Kit ............................3 1.3.2 Software ............................4 1.3.3 Additional Tools ...........................4 Chapter 2. Getting Started 2.1 Preparing the BL2600 for Development....................5 2.2 BL2600 Connections ..........................6 2.2.1 Hardware Reset ..........................7 2.3 Installing Dynamic C ..........................8...
  • Page 4 Chapter 4. Software 4.1 Running Dynamic C........................... 33 4.1.1 Upgrading Dynamic C........................ 34 4.2 Sample Programs..........................35 4.2.1 Digital I/O........................... 35 4.2.2 Serial Communication ........................ 36 4.2.3 A/D Converter Inputs ......................... 37 4.2.4 D/A Converter Outputs....................... 38 4.2.5 Use of BL2600 with SF1000 Serial Flash Card ................. 39 4.2.6 TCP/IP Sample Programs......................
  • Page 5: Chapter 1. Introduction

    1. I NTRODUCTION The BL2600 is a high-performance, C-programmable single- board computer that offers built-in digital and analog I/O com- bined with Ethernet connectivity in a compact form factor. The BL2600 is ideal for both discrete manufacturing and process- control applications. ®...
  • Page 6: Connector Options

    * 256K flash/128K SRAM options available for BL2610 The BL2600 consists of a main board with a RabbitCore module. Refer to the RabbitCore module manuals, available on Z-World’s Web site, for more information on the Rabbit- Core modules, including their schematics.
  • Page 7: Development And Evaluation Tools

    1.3 Development and Evaluation Tools 1.3.1 Tool Kit A Tool Kit contains the hardware essentials you will need to use your own BL2600 single- board computer. The items in the Tool Kit and their use are as follows. • BL2600 User’s Manual with schematics (this document). •...
  • Page 8: Software

    (AES), and other select libraries. In addition to the Web-based technical support included at no extra charge, a one-year telephone-based technical support module is also available for purchase. Visit our Web site at www.zworld.com or contact your Z-World sales repre- sentative or authorized distributor for further information.
  • Page 9: Chapter 2. Getting Started

    2. G ETTING TARTED Chapter 2 explains how to connect the programming cable and power supply to the BL2600. 2.1 Preparing the BL2600 for Development Position the BL2600 as shown below in Figure 2. Attach the four standoffs supplied with the Tool Kit in the holes at the corners as shown.
  • Page 10: Bl2600 Connections

    NOTE: Use only the programming cable that has a blue shrink wrap around the RS-232 level converter (Z-World part number 101-0542). If you are using a BL2610, which is based on the RCM3000, you will need the programming cable that has a red shrink wrap around the RS-232 level converter (Z-World part number 101-0513).
  • Page 11: Hardware Reset

    2. Connect the power supply to header J12 on the BL2600 as shown in Figure 4. You can use the crimps and the friction-lock connector included in the Tool Kit to connect the leads from the power supply, then match the friction lock tab on the friction-lock con- nector to the back of header J12 on the BL2600 as shown.
  • Page 12: Installing Dynamic C

    2.3 Installing Dynamic C If you have not yet installed Dynamic C version 8.51 (or a later version), do so now by inserting the Dynamic C CD from the BL2600 Tool 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 13: Starting Dynamic C

    2.4 Starting Dynamic C Once the BL2600 is connected to your PC and to a power source, start Dynamic C by double- clicking on the Dynamic C icon or by double-clicking on dcrabXXXX.exe in the Dynamic C root directory, where XXXX are version-specific characters. Dynamic C defaults to using the serial port on your PC that you specified during installa- tion.
  • Page 14: 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 BL2600 through a distributor or Z-World partner, contact the distributor or Z-World partner first for technical support.
  • Page 15: Chapter 3. Subsystems

    3. S UBSYSTEMS Chapter 3 describes the principal subsystems for the BL2600. •Digital I/O •Serial Communication •A/D Converter Inputs •D/A Converter Outputs •Analog Reference Voltage Circuit •Memory Figure 5 shows these Rabbit-based subsystems designed into the BL2600. RS-232 Digital Data 32 kHz 22.1 MHz Ethernet...
  • Page 16: Bl2600 Pinouts

    3.1 BL2600 Pinouts The BL2600 pinouts are shown in Figure 6(a) and Figure 6(b). Configurable I/O Digital Inputs Digital Inputs AIN0 AIN1 Ethernet AIN2 Battery Analog AIN3 Inputs AIN4 AIN5 R63 R64 AIN6 AIN7 Analog AGND Ground +HK0 HOUT1 +HK2 HOUT3 485+ AV0 AV1 AV2 AV3 AI0 AI1 AI2...
  • Page 17: Top View

    Two 4-pin 0.156" friction-lock connector terminals at J5 and J7 are installed to supply power (DCIN and +5 V) to the RabbitNet peripheral expansion boards. The 4-pin 0.156" friction-lock connector terminal at J12 is for the main power supply connections. The BL2600 also has 2 ×...
  • Page 18: Digital I/O

    3.2 Digital I/O 3.2.1 Digital Inputs The BL2600 has 16 digital inputs, DIN16–DIN31, each of which is protected over a range of –36 V to +36 V. The inputs are factory-configured to be pulled up to +5 V, but they can also be pulled up to +K or DCIN, or pulled down to 0 V in banks by changing a jumper as shown in Figure 7.
  • Page 19: Pwm Outputs

    The actual switching threshold is approximately 1.40 V. Anything below this value is a logic 0, Normal Switching Levels and anything above is a logic 1 The digital inputs Spikes +40 V are each fully protected over a range of -36 V to Spikes +36 V +36 V, and can handle short spikes of ±40 V.
  • Page 20: High-Current Digital Outputs

    3.2.3 High-Current Digital Outputs The BL2600 has four high-current digital outputs, HOUT0–HOUT3, which can each sink or source up to 2 A. Figure 9 shows a wiring diagram for using the digital outputs in either a sinking or a souring configuration. +HKx 27 kW 10 kW...
  • Page 21 Each high-current output has its own +K supply. When wiring the high-current outputs, keep the distance to the power supply as short as possible. CAUTION: If you are using a BL2600 with the IDC header connectors, beware that an individual IDC header pin can only handle up to 1 A. Since the same high-current outputs are available on opposite pairs of IDC header connectors, you can still use the 2 A sinking or sourcing capability of the BL2600 by wiring all your connections, including the ground, in parallel to the opposite pairs (see Figure 10 for an example).
  • Page 22: Configurable I/O

    3.2.4 Configurable I/O The BL2600 has 16 configurable I/O that may be configured individually in software as either digital inputs or as sinking digital outputs. By default, a configurable I/O channel is a digital input, but may be set as a sinking digital output by using the digOutConfig function call.
  • Page 23 When you use the software function call to read the configurable I/O, DIO00– digIn DIO15 are considered to be digital input channels 00–15. Note that the function digIn call can also read these channels if they are set to be sinking digital outputs. Table 2 lists the banks of digital inputs and summarizes the jumper settings.
  • Page 24: Serial Communication

    3.3 Serial Communication The BL2600 has three serial communication ports, which can be configured as one RS-232 serial channel (with RTS/CTS) and one RS-232 (3-wire) channel or one RS-485 channel, or as three RS-232 (3-wire) channels, or as two RS-232 (3-wire) channels and one RS-485 channel by using the software function call.
  • Page 25 The BL2600 can be used in an RS-485 multidrop network. Connect the 485+ to 485+ and 485– to 485– using single twisted-pair wires (nonstranded, tinned) as shown in Figure 13. Note that a common ground is recommended. Figure 13. BL2600 Multidrop Network The BL2600 comes with a 220 Ω...
  • Page 26: Programming Port

    For best performance, the bias and termination resistors in a multidrop network should only be enabled on both end nodes of the network. Disable the termination and bias resis- tors on any intervening BL2600 units in the network by removing both jumpers from header JP6.
  • Page 27: Ethernet Port

    3.3.4 Ethernet Port Figure 15 shows the pinout for the Ethernet port (J2 on the BL2600 module). Note that there are two standards for numbering the pins on this connector—the convention used here, and numbering in reverse to that shown. Regardless of the numbering convention followed, the pin positions relative to the spring tab position (located at the bottom of the RJ-45 jack in Figure 15) are always absolute, and the RJ-45 connector will work properly with off-the-shelf Ethernet cables.
  • Page 28: A/D Converter Inputs

    3.4 A/D Converter Inputs The single A/D converter chip used in the BL2600 has a resolution of 12 bits (11 bits for the value and one bit for the polarity). The A/D converter chip has a programmable amplifier. Each external input has circuitry that provides scaling and filtering. All 8 external inputs are scaled and filtered to provide the user with an input impedance of 1 MΩ...
  • Page 29: A/D Converter Calibration

    Table 7. A/D Converter Input Voltage Ranges Voltage Range Amplifier mV per Tick Single-Ended Single-Ended Differential Gain Unipolar Bipolar Bipolar 0–20 V ±10 V ± 20 V 0–10 V ±5 V ± 10 V 0–5 V ±2.5 V ± 5 V 0–4 V ±2 V ±...
  • Page 30: D/A Converter Outputs

    3.5 D/A Converter Outputs The four D/A converter outputs are buffered and scaled to provide an output from 0 V to +10 V (12-bit resolution) or ±10 V (11-bit resolution, one bit used for polarity). There are also four 4–20 mA current outputs. Figure 17 shows the D/A converter outputs. 52.3 kW 10 kW 11 kW...
  • Page 31: D/A Converter Calibration

    also affects the resolution of the 4–20 mA current outputs—you need to configure a volt- age output for unipolar operation if you want 12-bit resolution on the associated current output. There are other effects on a current output when the associated voltage output is operating in the bipolar mode.
  • Page 32: Analog Reference Voltage Circuit

    3.6 Analog Reference Voltage Circuit Figure 18 shows the analog voltage reference circuit. 10 kW 15.8 kW 1.667 V 2.500 V 15.8 kW 11 kW 1.024 V ADREF 2.048 V 10 kW 100 nF 10 kW Figure 18. Analog Reference Voltages The A/D converter chip supplies the 2.048 V reference voltage, which is divided in half and then amplified and buffered to provide the 1.667 V and 2.5 V reference voltages used by the digital output circuits.
  • Page 33: Programming Cable

    3.7 Programming Cable The programming cable has a level converter board in the middle of the cable since the BL2600 programming port supports CMOS logic levels, and not the higher voltage RS-232 levels that are used by PC serial ports. When the programming cable is connected, Dynamic C running on the PC can hard-reset the BL2600 and cold-boot it.
  • Page 34: Other Hardware

    3.8 Other Hardware 3.8.1 Clock Doubler The BL2600 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 emis- sions. The 44.2 MHz frequency specified for the BL2600 is generated using a 22.12 MHz resonator.
  • Page 35: Memory

    Manager for a 256K Flash 3.9.3 Serial Flash Header J9 is provided to allow you to plug in a Z-World SF1000 serial flash. You may use two ½" (12 mm) spacers with 4-40 × 3/4 screws and nuts to attach the SF1000 securely.
  • Page 36 Wolf (BL2600)
  • Page 37: Chapter 4. Software

    Dynamic C is an integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with Z-World 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 BL2600.
  • Page 38: Upgrading Dynamic C

    The default installation of a patch or update is to install the file in a directory (folder) dif- ferent from that of the original Dynamic C installation. Z-World recommends using a dif- ferent directory so that you can verify the operation of the patch or update without overwriting the existing Dynamic C installation.
  • Page 39: 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. STDIO PONG.C The various directories in the folder contain specific sample programs that illus- Samples trate the use of the corresponding Dynamic C libraries. folder provides sample programs specific to the BL2600.
  • Page 40: Serial Communication

    —Demonstrates the use of the high-current outputs configured • HIGH_CURRENT_IO.C as either sinking or sourcing outputs. High-current output HOUT0 is configured for sourcing to provide power to the Demonstration Board. Outputs HOUT1 and HOUT2 are configured to demonstrate tristate operation to toggle the LEDs on the Demonstra- tion Board.
  • Page 41: A/D Converter Inputs

    The following sample programs are found in the subdirectory in RS485 SAMPLES\BL2600 —This program demonstrates a simple RS-485 transmission of lower case • MASTER.C letters to a slave. The slave will send back converted upper case letters back to the master BL2600 and display them in the STDIO window.
  • Page 42: D/A Converter Outputs

    —Demonstrates how to read and display the voltage of all sin- • AD_RD_SE_BIPOLAR.C gle-ended A/D converter channels using calibration coefficients previously stored in the EEPROM. —Demonstrates how to read and display the voltage of all • AD_RD_SE_UNIPOLAR.C single-ended A/D converter channels using calibration coefficients previously stored in the EEPROM.
  • Page 43: Use Of Bl2600 With Sf1000 Serial Flash Card

    —Demonstrates how to output a voltage that can be read with a • DAC_VOLT_SYNC.C voltmeter. The output voltage is computed with using the calibration constants that are stored in the reserved EEPROM. The D/A converter circuit is set up for synchronous operation, which updates the D/A converter output when the function call executes.
  • Page 44: Bl2600 Function Apis

    4.4 BL2600 Function APIs 4.4.1 Board Initialization void brdInit (void); Call this function at the beginning of your program. This function initializes the system I/O ports and loads all the A/D converter and D/A converter calibration constants from flash memory into SRAM for use by your program.
  • Page 45: Digital I/O

    4.4.2 Digital I/O void digHoutConfig(char configuration); Configures a high-current output to be either a sinking or a sourcing output. This configuration informa- tion is also used to initially set the output to the off state for the given hardware output configuration. The configuration options are described below.
  • Page 46 void digHOut(int channel, int state); Sets the state of a high-current digital output (HOUT0–HOUT3) to a logic 0, logic 1, or high impedance. Remember to call the brdInit and the digHOutConfig functions before executing this function. A runtime error will occur for the following conditions: 1.
  • Page 47 void digHTriStateConfig(char configuration); Configures whether a high-current output is a tristate type output. This configuration information is also used to initially set the output to the off state for the given hardware output configuration. The configura- tion options are described below. PARAMETER configuration is a 1-byte parameter where 4 bits are used for the high-current outputs HOUT0–...
  • Page 48 void digHoutTriState(int channel, int state); Sets the state of a high-current digital output (HOUT0–HOUT3) to a logic 0, logic 1, or high impedance. Remember to call the brdInit and the digHTriStateConfig functions before executing this function. A runtime error will occur for the following conditions: 1.
  • Page 49 void digOutConfig(int configuration); Configures any of the 16 configurable I/O channels to be a sinking output. This configuration informa- tion is then used by the digOut function to determine whether a given channel is configured to be an output. If it is not, digOut will prevent the given channel from being used by the digOut function. The configuration options are described below.
  • Page 50 void digOut(int channel, int state); Sets the state of a configurable I/O channel (DIO00–DIO15) configured as a sinking digital output to a logic 0 or a logic 1. This function only allows control of channels that are configured to be an output by the digOutConfig function.
  • Page 51 void digOutBank(char bank, char data); Sets the state of a bank of configurable I/O channels (DIO00–DIO15) configured as sinking digital out- puts to a logic 0 or a logic 1. This function only allows control of channels that are configured to be an output by the digOutConfig function.
  • Page 52 int digIn(int channel); Reads the state of a digital input channel. If a configurable I/O channel (DIO00–DIO15) that was config- ured as a digital output is read by digIn, then the value read will be the state of the output channel. A run-time error will occur for the following conditions: 1.
  • Page 53: Serial Communication

    4.4.3 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 ited by the 9th bit, by transmission gaps, or with user-defined special characters.
  • Page 54 void ser485Tx(void); Enables the RS-485 transmitter. serMode must be executed before running this function. NOTE: Transmitted data are echoed back into the receive data buffer. The echoed data could be used to identify when to disable the transmitter by using one of the following methods.
  • Page 55: A/D Converter Inputs

    4.4.4 A/D Converter Inputs void anaInConfig(int ch_pair, int opmode); Configures an A/D converter input channel pair for a given mode of operation. This function must be called before accessing the A/D converter chip. NOTE: If you plan to configure the D/A converter chip using , you must anaOutConfig call...
  • Page 56 int anaInCalib(int channel, int opmode, int gaincode, int value1, float volts1, int value2, float volts2); Calibrates the response of a given A/D converter channel as a linear function using the two conversion points provided. Gain and offset constants are calculated and placed into global table _adcInCalib. PARAMETERS channel is the analog input channel number (0 to 7) corresponding to AIN0–AIN7...
  • Page 57 NOTE: The 10 and 90% points of the maximum voltage range are recommended when calibrating a channel. RETURN VALUE 0 if successful. -1 if not able to make calibration constants. SEE ALSO brdInit, anaInConfig, anaIn, anaInmAmps, anaInDiff, anaInVolts User’s Manual...
  • Page 58 int anaIn(int channel, int gaincode); Reads the state of an A/D converter input channel. If the access is for an A/D converter single-ended bipolar channel and the gain code for the given channel has changed from the previous cycle, the EEPROM will be read to get the calibration constants for the new gain value.
  • Page 59 float anaInVolts(int channel, int gaincode); Reads the state of a single-ended A/D converter input channel and uses the previously set calibration constants to convert it to volts. If the gain code for a given channel has changed from the previous cycle, the following code accesses will occur.
  • Page 60 float anaInDiff(int channel, int gaincode); Reads the state of a differential A/D converter input channel and uses the previously set calibration con- stants to convert it to volts. If the gain code for a given channel has changed from the previous cycle, the EEPROM will be read to get the calibration constants for the new gain value.
  • Page 61 float anaInmAmps(int channel); Reads the state of a single-ended A/D converter input channel and uses the previously set calibration constants to convert it to the current value. PARAMETER channel is the A/D converter input channel (0–3 corresponding to AIN0–AIN3). RETURN VALUE A current value corresponding to the current on the analog input channel with a range of 4–20 mA.
  • Page 62: D/A Converter Outputs

    4.4.5 D/A Converter Outputs int anaOutConfig(char configuration, int mode); Configures the D/A converter chip for a given output voltage range, 0–10 V or ±10 V, and loads the cali- bration data for use by the D/A converter API functions. This function must be called before accessing any of the D/A converter channels.
  • Page 63 int anaOutCalib(int channel, int calib_index, int value1, float volts1, int value2, float volts2); Calibrates the response of a given D/A converter channel as a linear function with using two conversion points provided by the user. Gain and offset constants are calculated and written to the EEPROM for use by the D/A converter API functions.
  • Page 64 void anaOutPwr(int control); Enables or disables the BL2600 power supply used to drive the D/A converter output voltage or current circuits. NOTE: Call this function only after you have configured all the D/A converter output channels to the desired voltage or current. Unconfigured D/A converter channels, both voltage and 4–20 mA, will be set to approx.
  • Page 65 void anaOutmAmps(int ch, float current); Sets the current of a D/A converter output channel by using the previously set calibration constants to calculate the correct data values. PARAMETERS ch is the D/A converter output channel (0–3). current is the current desired on the output channel (the valid range is 4–20 mA). RETURN VALUE None.
  • Page 66 Wolf (BL2600)
  • Page 67: 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 Z-World in a TCP/IP tool kit. More information is available at www.zworld.com. 1. Connect the AC adapter and the programming cable as shown in Chapter 2, “Getting Started.”...
  • Page 68 The PC running Dynamic C through the serial programming port on the BL2600 does not need to be the PC with the Ethernet card. 3. Apply Power Plug in the AC adapter. The BL2600 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 board reset input at pin 9 on screw ter- minal header J2.
  • Page 69: 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 BL2600 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 70: 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 BL2600 via an Ethernet connection, you need to assign an IP address to your computer. To assign the PC the address with the subnetmask , do the following.
  • Page 71: 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 BL2600’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 light on the BL2600 should be on to indicate an Ethernet connection is made.
  • Page 72: Running More Demo Programs With A Direct Connection

    TCP/IP. 5.3 Where Do I Go From Here? NOTE: If you purchased your BL2600 through a distributor or Z-World partner, contact the distributor or Z-World partner first for technical support. If there are any problems at this point: •...
  • Page 73: Appendix A. Specifications

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

    A.1 Electrical and Mechanical Specifications Figure A-1 shows the mechanical dimensions for the BL2600. RJ-45 jacks extend 0.16" (4.0 mm) past edge of J4 RABBITNET 1 board RP12 RP14 RP15 J6 RABBITNET 0 RP17 RP18 RCM1 RCM3000 ETHERNET CORE MODULE RP16 GND/EGND R111...
  • Page 75 Table A-1 lists the electrical, mechanical, and environmental specifications for the BL2600. Table A-1. BL2600 Specifications Feature BL2600 BL2610 ® ® Microprocessor Rabbit 3000 at 44.2 MHz Rabbit 3000 at 29.4 MHz Ethernet Port 10/100Base-T, 3 LEDs None Flash Memory 512K (standard) Program Execution SRAM 512K...
  • Page 76: Exclusion Zone

    Table A-1. BL2600 Specifications (continued) Feature BL2600 BL2610 Real-Time Clock Ten 8-bit timers (6 cascadable, 3 reserved for internal peripherals), Timers one 10-bit timer with 2 match registers Watchdog/Supervisor Power 9–36 V DC, 12 W max. –40°C to +70°C Operating Temperature (–40°C to +85°C without battery) Humidity 5–95%, noncondensing...
  • Page 77: Headers

    A.1.2 Headers The BL2600 has 0.1" IDC header sockets or friction-lock connectors at J1, J2, J3, J11, J13, J14, J15, J16, and J17 for physical connection to other boards or ribbon cables. There are friction-lock connectors at J5, J7, and J12 for power-supply connections, and at J8. Figure A-3 shows the BL2600 footprint.
  • Page 78: Conformal Coating

    A.2 Conformal Coating The areas around the crystal oscillator and the battery backup circuit on the BL2600 mod- ule have had the Dow Corning silicone-based 1-2620 conformal coating applied. The con- formally 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.
  • Page 79: Jumper Configurations

    A.3 Jumper Configurations Figure A-5 shows the header locations used to configure the various BL2600 options via jumpers. R63 R64 Figure A-5. Location of BL2600 Configurable Positions Table A-2 lists the configuration options. Table A-2. BL2600 Jumper Configurations Factory Header Description Pins Connected Default...
  • Page 80 Table A-2. BL2600 Jumper Configurations Factory Header Description Pins Connected Default × 1–2 Inputs pulled up to +5 V 3–4 Inputs pulled up to DCIN DIO08–DIO15 5–6 Inputs pulled up to +K 7–8 Inputs pulled down to GND × 1–2 Inputs pulled up to +5 V 3–4 Inputs pulled up to DCIN...
  • Page 81: Use Of Rabbit 3000 Parallel Ports

    A.4 Use of Rabbit 3000 Parallel Ports Figure A-6 shows the Rabbit 3000 parallel ports. PD0–PD1 PA0–PA7 PB2–PB4 PD4–PD5 Port D Port A Port B (+Ethernet Port) PC0, PC2, PC4 Port E PE0–PE3 Port C (+Ethernet Port) (Serial Ports B,C & D) ABBIT PE4–PE5 PC1, PC3, PC5...
  • Page 82 Table A-3. Use of Rabbit 3000 Parallel Ports (continued) Port Signal Initial State PD0–PD1 Output Ethernet See Note PD2–PD3 Output Not connected Output Load D/A converter data Output RS-485/RS-232 select PD6–PD7 Output Not connected Output Ethernet See Note Output /CS strobe (digital I/O enable) Inactive high Output Ethernet...
  • Page 83: Appendix B. Power Supply

    B. P PPENDIX OWER UPPLY Appendix B describes the power circuitry provided on the BL2600. B.1 Power Supplies Power is supplied to the BL2600 via the friction-lock connector at J12. The BL2600 is protected against reverse polarity by a diode at D1 as shown in Figure B-1. LINEAR POWER REGULATOR SWITCHING POWER REGULATOR...
  • Page 84: Power For Analog Circuits

    B.1.1 Power for Analog Circuits Power to the analog circuits is provided by way of a one-stage low-pass filter, which isolates the analog section from digital noise generated by the other components. The ana- log +5 V supply powers the D/A converter, and is not accessible to the user. The A/D con- verter is powered by the regulated +3.3 V supply, and supplies the +2.048 V reference violate from which the 1.667 V and 2.5 V reference voltages for the D/A converter output circuits are derived.
  • Page 85: Appendix C. Demonstration Board

    PPENDIX EMONSTRATION OARD Appendix C shows how to connect the Demonstration Board to the BL2600. C.1 Connecting Demonstration Board Before running sample programs based on the Demonstration Board, you will have to con- nect the Demonstration Board from the BL2600 Tool Kit to the BL2600 board. Proceed as follows.
  • Page 86 BL2600 AIN0 AIN1 AIN2 AIN3 AIN4 AIN5 AIN6 AIN7 AGND BL2600 Demonstration Board (Header J1) (Header J1) +DCIN (J12) LED1 LED2 LED3 LED4 · · Jumpers: DIO00 · · H1: None DEMO BOARD BUZZER DIO01 · · H2: As shown DIO02 DIO03 Figure C-1.
  • Page 87 BL2600 AIN0 AIN1 AIN2 AIN3 AIN4 AIN5 AIN6 AIN7 AGND BL2600 Demonstration Board (Header J1) (Header J1) +DCIN (J12) LED1 LED2 LED3 LED4 · · Jumpers: DIO00 · · LED1 H1: None DEMO BOARD BUZZER DIO01 LED2 · · H2: As shown DIO02 LED3 DIO03...
  • Page 88 BL2600 J4 RABBITNET 1 RP12 RP14 RP15 J6 RABBITNET 0 RP17 RP18 RCM1 RCM3000 ETHERNET CORE MODULE RP16 GND/EGND R111 R63 R64 R26 R28 485 TERM. C35 C36 C37 RESISTOR D2 Q18 D4 Q20 485+ AIN1 AIN3 AIN5 AIN7 AGND AV1 AV3 AI1 AI3 AGND +HK0 HOUT1 +HK2...
  • Page 89: Appendix D. Rabbitnet

    ABBIT D.1 General RabbitNet Description RabbitNet is a high-speed synchronous protocol developed by Z-World to connect periph- eral cards to a master and to allow them to communicate with each other. All RabbitNet connections are made point to point, and until a port-expansion method is available, 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 90 Signal = 0.1" headers or sockets Power = 0.156" friction-lock connectors RabbitNet = RJ-45 connector Visit Z-World’s Web site for up-to-date information about additional cards and features as they become available. The Web site also has the latest revision of this user’s manual. Wolf (BL2600)
  • Page 91: 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, Z-World recommends a practical limit of 10 m (33 ft).
  • Page 92: 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 93 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 94 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 95 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 96 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 97 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 98: 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 99: Notice To Users

    Specifications are based on characterization of tested sample units rather than testing over temperature and voltage of each unit. Z-World products may qualify components to operate within a range of parameters that is different from the manufacturer’s recom- mended range.
  • Page 100 Wolf (BL2600)
  • Page 101: Index

    NDEX digital inputs ......14 pullup/pulldown configura- A/D converter ....... 24 headers tion......... 14 buffered inputs ....24 JP1 ........19 switching threshold ..15, 19 calibration ......25 JP2 ........19 digital outputs ....... 16 calibration constants ..25 JP3 ........
  • Page 102 reset TCP/IP ......39, 65 hardware ......7 PINGME.C ....67 memory .........31 RS-232 ........20 SMTP.C ......68 flash memory configurations . RS-485 ........20 SSI.C ......68 RS-485 network ....21 TELNET.C ....68 SRAM configuration for termination and bias resistors serial communication ....20 different sizes ....31 programming port ....22 models ........2 Run Mode ......29...
  • Page 103 sample programs ....35 spectrum spreader ....30 PONG.C ......10 status byte ......94 serial communication subsystems ......11 flow control ....49 ser485Rx ....... 50 ser485Tx ......50 TCP/IP connections ....63 serCflowcontrolOff ..49 10Base-T Ethernet card ..63 serCflowcontrolOn ..
  • Page 104 Wolf (BL2600)
  • Page 105: Schematics

    CHEMATICS 090-0195 BL2600 Schematic www.zworld.com/documentation/schemat/090-0195.pdf 090-0120 RCM3200 Module Schematic www.zworld.com/documentation/schemat/090-0152.pdf 090-0119 RCM3100 Module Schematic www.zworld.com/documentation/schemat/090-0144.pdf 090-0042 Demonstration Board Schematic www.zworld.com/documentation/schemat/090-0042.pdf 090-0128 Programming Cable Schematic www.zworld.com/documentation/schemat/090-0128.pdf The schematics included with the printed manual were the latest revisions available at the time the manual was last revised. The online versions of the manual contain links to the latest revised schematic on the Web site.

Table of Contents