Z-World Wildcat BL2000 User Manual

C-programmable, with ethernet
Table of Contents

Advertisement

Quick Links

Wildcat (BL2000)
C-Programmable Single-Board Computer with Ethernet
User's Manual
019–0094 • 040731–K

Advertisement

Table of Contents
loading

Summary of Contents for Z-World Wildcat BL2000

  • Page 1 Wildcat (BL2000) C-Programmable Single-Board Computer with Ethernet User’s Manual 019–0094 • 040731–K...
  • Page 2 Z-World reserves the right to make changes and improvements to its products without providing notice. Trademarks Rabbit and Rabbit 2000 are registered trademarks of Rabbit Semiconductor. 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 BL2000 Description..........................1 1.2 BL2000 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.4 CE Compliance .............................5 1.4.1 Design Guidelines .........................6 1.4.2 Interfacing the BL2000 to Other Devices ..................6 Chapter 2.
  • Page 4 4.2 Sample Programs..........................35 4.2.1 General BL2000 Sample Programs .................... 35 4.2.2 Digital I/O........................... 35 4.2.3 Serial Communication ........................ 36 4.2.4 A/D Converter Inputs ......................... 36 4.2.5 D/A Converter Outputs....................... 37 4.2.6 TCP/IP Sample Programs......................37 4.3 BL2000 Libraries ..........................38 4.4 BL2000 Function APIs........................
  • Page 5: Chapter 1. Introduction

    1. I NTRODUCTION The BL2000 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. A ® Rabbit 2000 microprocessor operating at 22.1 MHz provides fast data processing. An optional plastic enclosure is available, and may be wall-mounted or panel-mounted.
  • Page 6: Connector Options

    In addition to the standard screw-terminal connectors supplied on BL2000 boards, IDC headers, bottom-mount connectors, and polarized friction-lock terminals may be factory- installed instead. Visit our Web site at www.zworld.com or contact your Z-World sales representative or authorized distributor for further information.
  • 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 BL2000 single- board computer. The items in the Tool Kit and their use are as follows: • BL2000 User’s Manual with schematics (this document). •...
  • Page 8: Software

    1.3.2 Software The BL2000 is programmed using version 7.04 or later of Z-World’s Dynamic C. A com- patible version is included on the Tool Kit CD-ROM. Z-World also offers add-on Dynamic C modules containing the popular µC/OS-II real- time operating system, as well as PPP, Advanced Encryption Standard (AES), and other select libraries.
  • Page 9: Ce Compliance

    1.4 CE Compliance Equipment is generally divided into two classes. CLASS A CLASS B Digital equipment meant for light industrial use Digital equipment meant for home use Less restrictive emissions requirement: More restrictive emissions requirement: less than 40 dB µV/m at 10 m 30 dB µV/m at 10 m or 100 µV/m (40 dB relative to 1 µV/m) or 300 µV/m These limits apply over the range of 30–230 MHz.
  • Page 10: Design Guidelines

    • When connecting the BL2000 single-board computer to outdoor cables, the customer is responsible for providing CE-approved surge/lighting protection. • Z-World 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 11: Chapter 2. Getting Started

    2. G ETTING TARTED Chapter 2 explains how to connect the programming cable and power supply to the BL2000. 2.1 BL2000 Connections 1. Attach the BL2000 to the plastic enclosure base. Position the BL2000 over the plastic enclosure base as shown below in Figure 2. Attach the BL2000 to the base at the top left and bottom right positions using the two 4-40 ×...
  • Page 12 2. Connect the programming cable to download programs from your PC and to debug the BL2000. Connect the 10-pin PROG connector of the programming cable to header J5 on the BL2000. Ensure that the colored edge lines up with pin 1 as shown. (Do not use the connector, DIAG which is used for monitoring only, as explained in Appendix E, “Programming Cable.”)
  • Page 13: Installing Dynamic C

    2.2 Installing Dynamic C If you have not yet installed Dynamic C version 7.04 (or a later version), do so now by inserting the Dynamic C CD 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 14: Starting Dynamic C

    2.3 Starting Dynamic C Once the BL2000 is connected to your PC and to a power source, start Dynamic C by dou- ble-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 15: Pong.c

    Section 5.3, “Run the PINGME.C Sample Program,” tests the TCP/IP portion of the board. 2.5 Where Do I Go From Here? NOTE: If you purchased your BL2000 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 16 Wildcat (BL2000)
  • Page 17: Chapter 3. Subsystems

    3. S UBSYSTEMS Chapter 3 describes the principal subsystems for the BL2000. • Digital I/O • Relay Outputs • Serial Communication • A/D Converter Inputs • D/A Converter Outputs • Memory • External Interrupts Figure 5 shows these Rabbit-based subsystems designed into the BL2000. Digital BL2000 Inputs...
  • Page 18: Bl2000 Pinouts

    3.1 BL2000 Pinouts The BL2000 pinouts are shown in Figure 6(a) and Figure 6(b). +RAW /RESET 485– Serial Port Nomenclature 485+ HeaderJ2 Rabbit 2000 IN10 RXD2 TXD1 OUT8 TXD2 RXD1 OUT9 RXD1 TXD2 TxC/RTS RXD2 RxC/CTS TXD1 AGND OUT0 DAC1 OUT1 DAC0 OUT2...
  • Page 19: Headers And Screw Terminals

    3.1.1 Headers and Screw Terminals All BL2000 models are equipped with 1 × 12 screw terminal strips (J2, J4, J8, and J9) and a 2-pin power jack (J7). The BL2000 and BL2010 also have the RJ-45 Ethernet jack (J6). There is provision on the circuit board to accommodate 2 × 17 IDC headers or 1 × 17 friction-lock connectors with a pitch of 0.1"...
  • Page 20: Digital I/O

    3.2 Digital I/O 3.2.1 Digital Inputs The BL2000 has 11 digital inputs, IN0–IN10, 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 down by moving the surface-mounted jumper at JP6 as shown in Figure 7.
  • Page 21 27 kW 22 kW Rabbit 2000 ™ 10 nF Microprocessor Figure 7(c). Example of Logic Gate Driving BL2000 Digital Input The actual switching threshold is approximately 2.40 V for channels IN0–IN10. Anything below this value is a logic 0, and anything above is a logic 1 The A/D converter inputs can be used as additional digital inputs using the parameters specified for the software function call.
  • Page 22: Digital Outputs

    3.2.2 Digital Outputs The BL2000 has 10 digital outputs, OUT0–OUT9, each of which can either sink or source up to 200 mA, depending on how the outputs are configured. On boards that carry the CE mark, OUT8 and OUT9 are each capable of sinking up to 750 mA. Each output can be configured individually as either a sinking or a sourcing output as shown in Figure 9.
  • Page 23 The locations of the output pull-up/pull-down select resistors R32, R34, and R35 are shown in Figure 10. SRAM R41 R42 R43 R44 R45 R46 R47 R48 R49 D10 D11 D12 POWER IN GN D GN D IN10 OUT8 OUT9 GND OUT0 OUT1 OUT2 OUT3 OUT4 OUT5 OUT6 OUT7 GND/VCC Figure 10.
  • Page 24: Relay Outputs

    3.3 Relay Outputs Figure 11 shows the BL2000 relay contact connections. A diode across the coil provides a return path for inductive spikes, and snubbers across the relay contacts protect the relay contacts from inductive spikes. 100 nF 47 W Rabbit 2000 ™...
  • Page 25: Serial Communication

    3.4 Serial Communication The BL2000 has one RS-232 serial channel (with RTS/CTS) or two RS-232 (3-wire) channels, one RS-485 serial channel, and one CMOS serial channel. The RS-232 chan- nel(s) are configured with the software function call. Table 2 summarizes the serMode options.
  • Page 26 Ground recommended /RESET 485– 485+ Figure 12. Multidrop BL2000 Network Wildcat (BL2000)
  • Page 27: Programming Port

    The BL2000 comes with a 220 Ω termination resistor and two 681 Ω bias resistors installed and enabled with jumpers across pins 1–2 and 3–4 on header JP1, as shown in Figure 13. Factory 485+ Default bias 681 W termi- RXD1 TXD1 AGND DAC1 DAC0 ADC8 ADC7 ADC6 ADC5 ADC4 ADC3 ADC2 ADC1 ADC0 220 W...
  • Page 28: Ethernet Port

    3.4.4 Ethernet Port Figure 14 shows the pinout for the Ethernet port (J6). 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 14) are always absolute, and the RJ-45 connector will work properly with off-the-shelf Ethernet cables.
  • Page 29 A convenient position for the ring lug has been provided at the top-left mounting screw hole near the RJ-45 jack as shown in Figure 16. +RAW RST- 485- 485+ RXD2 TXD2 RXD1 TXD1 Remove R1 GN D Add solder lug to connect ground wire to chassis R130...
  • Page 30: A/D Converter Inputs

    3.5 A/D Converter Inputs The single 14-channel A/D converter used in the BL2000 has a resolution of 12 bits (models BL2000 and BL2020) or 10 bits (models BL2010 and BL2030). Eleven of the 14 channels are available externally, and three are used internally for the reference voltages: 4.096 V ), 2.048 V (V /2), and Analog Ground.
  • Page 31: D/A Converter Outputs

    3.6 D/A Converter Outputs Figure 18 shows the analog voltage reference circuit. 100 W DAC_PWR 4.096_VREF 100 nF 453 W 14 kW 1.707_VREF 10 kW 100 nF Figure 18. Analog Reference Voltages This circuit generates the 4.096 V reference voltage, which is used by the A/D converter and optionally by the two D/A converters.
  • Page 32 Only the BL2000 and the BL2020 models are stuffed with D/A converters. The D/A con- verters provide only a voltage output. This means that in order to maintain the maximum accuracy of the D/A converters, only a small amount of current should be drawn from the D/A converter output (of the order of µA).
  • Page 33: Memory

    SRAM size. The “jumpers” are 0 Ω surface-mounted resistors. NOTE: Z-World 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 34: Programming Cable

    3.8 Programming Cable The BL2000 is automatically in Program Mode when the programming cable is attached, and is automatically in Run Mode when no programming cable is attached. See Figure 20. Program Mode Run Mode PC COM port Programming Cable RESET Colored edge DIAG...
  • Page 35: Other Hardware

    3.9 Other Hardware 3.9.1 External Interrupts BL2000 boards with a Rabbit 2000 microprocessor labeled IQ3T or higher have external interrupts available on digital inputs IN2 and IN3. Older BL2000 boards (Rabbit 2000 microprocessors labeled IQ2T) have one external interrupt available—see Technical Note TN301, Rabbit 2000 Microprocessor Interrupt Problem, for further information on how to use this interrupt on the older boards.
  • Page 36 Wildcat (BL2000)
  • 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 BL2000.
  • Page 38: 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. Z-World recommends using a dif- ferent directory so that you can verify the operation of the patch 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. 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 40: Serial Communication

    —Demonstrates the use of Timer B to generate a PWM signal on digital output • PWM.C OUT8. The program generates a 42 Hz PWM signal with the duty cycle adjustable from 1 to 99%. —Demonstrates how to control the relay on the BL2000. •...
  • Page 41: D/A Converter Outputs

    4.2.5 D/A Converter Outputs The following sample programs are found in the subdirectory in SAMPLES/BL2000 —This program demonstrates how to recalibrate an D/A converter channel • DACAL.C using two known voltages, and defines the two coefficients, gain and offset, that will be rewritten into the D/A converter's EEPROM simulated in flash memory.
  • Page 42: Bl2000 Libraries

    4.3 BL2000 Libraries Two library directories are used to develop applications for the BL2000. —libraries associated with features specific to the BL2000. • BL2000- —libraries specific to using TCP/IP functions on the BL2000. • TCPIP Other generic functions applicable to all devices based on the Rabbit 2000 microprocessor are described in the Dynamic C Function Reference Manual.
  • Page 43: Bl2000 Function Apis

    4.4 BL2000 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 and DAC calibration constants from flash memory into SRAM for use by your pro- gram.
  • Page 44 Output Function Port Function State Output RTS/TXC RS-232 Inactive high Input CTS/RXC RS-232 Output TXB RS-232 Inactive high Input RXB RS-232 Output TXA Programming Port Inactive high Input RXA Programming Port Output DAC-ADC_SK Output DAC-ADC_SDI Input RTL-ADC_SDO Input RTL_SK Output RTL_SDI Output DAC0_CS...
  • Page 45: Digital I/O

    The relay is driven by PA0, which is the same Rabbit 2000 parallel port that drives OUT0 and LED DS4. OUT0 therefore works in parallel with the relay output. Z-World therefore recommends that you do not use OUT0 for a digital output when you are using the relay.
  • Page 46: 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 47: Relay And Led Outputs

    The relay is driven by PA0, which is the same Rabbit 2000 parallel port that drives OUT0 and LED DS4. OUT0 therefore works in parallel with the relay output. Z-World therefore recommends that you do not use OUT0 for a digital output when you are using the relay.
  • Page 48: A/D Converter Inputs

    4.4.5 A/D Converter Inputs void anaInCalib(int channel, int value1, float volts1, int value2, float volts2); Calibrates the response of the 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...
  • Page 49 TLC1543 commands (the TLC1543 is a 10-bit A/D converter) D7–D4 Channel 0 - 10 Channel 11 = (Vref+ - Vref-)/2 Channel 12 = Vref- Channel 13 = Vref+ (No software power-down mode available) D3–D0 No specific values assigned. PARAMETERS is the A/D converter input channel (0–10) to read. is the output data length: 0 = 12-bit mode (BL2000/BL2020 only) 1 = 8-bit mode (BL2000/BL2020 only)
  • Page 50 float anaInVolts(unsigned int channel); Reads the state of an A/D converter input channel and uses the previously set calibration constants to convert it to volts. PARAMETER channel is the A/D converter input channel (0–10). RETURN VALUE A voltage value corresponding to the voltage on the analog input channel. SEE ALSO anaIn, anaInCalib, brdInit int anaInEERd(unsigned int channel);...
  • Page 51: D/A Converter Outputs

    4.4.6 D/A Converter Outputs The functions in this section apply only to the BL2000 and the BL2020 models. int anaOutCalib(int channel, int value1, float volts1, int value2, float volts2); Calibrates the response of the D/A converter channel desired as a linear function using the two conver- sion points provided.
  • Page 52 void anaOut(unsigned int channel, unsigned int modecount); Sets the voltage of a D/A converter output channel by serially clocking in 16 bits to a D/A converter using the following format: D15–D14 Doesn’t matter. D13–D12 Mode of operation 00—Normal Operation 01—Software Powerdown, 1 kΩ to GND 10—Software Powerdown, 100 kΩ...
  • Page 53 void anaOutVolts(unsigned int channel, float voltage); Sets the voltage of a D/A converter output channel by using the previously set calibration constants to calculate the correct data values. PARAMETERS channel is the D/A converter output channel (0 or 1). voltage is the voltage desired on the output channel.
  • Page 54 Wildcat (BL2000)
  • Page 55: 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 56 The PC running Dynamic C through the serial programming port on the BL2000 does not need to be the PC with the Ethernet card. 3. Apply Power Plug in the AC adapter. The BL2000 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 57: 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 BL2000 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 58: 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 BL2000 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 59: Run The Pingme.c Sample Program

    5.3 Run the PINGME.C Sample Program Connect the crossover cable from your computer’s Ethernet port to the BL2000’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 BL2000 should be on to indicate an Ethernet connection is made.
  • Page 60: Running More Sample Programs With A Direct Connection

    TCP/IP. 5.5 Where Do I Go From Here? NOTE: If you purchased your BL2000 through a distributor or Z-World partner, contact the distributor or Z-World partner first for technical support.
  • Page 61: Appendix A. Specifications

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

    A.1 Electrical and Mechanical Specifications Figure A-1 shows the mechanical dimensions for the BL2000. +RAW RST- 485- 485+ RXD2 TXD2 RXD1 TXD1 AGND DAC1 DAC0 ADC8 ADC7 ADC6 ADC5 ADC4 ADC3 ADC2 ADC1 ADC0 GN D AGND AGND AGND AG ND AGND AGND C2C3...
  • Page 63 Table A-1 lists the electrical, mechanical, and environmental specifications for the BL2000. Table A-1. BL2000 Specifications Feature BL2000 BL2010 BL2020 BL2030 ® Microprocessor Rabbit 2000 at 22.1 MHz Ethernet Port 10Base-T, LNK and ACT LEDs None Flash Memory 256K (standard) SRAM 128K (standard) Panasonic CR2330 or equivalent 3 V lithium coin type, 265 mA·h...
  • Page 64 Table A-1. BL2000 Specifications (continued) Feature BL2000 BL2010 BL2020 BL2030 Five 8-bit timers (four are cascadable from the first) and Timers one 10-bit timer with two match registers Watchdog/Supervisor Power 9–40 V DC or 24 V AC (±10%), 1.5 W max. Operating Temperature –40°C to +70°C Humidity...
  • Page 65: Headers

    A.1.1 Headers The BL2000 has an option for 0.1" IDC headers or friction-lock connectors at J1, J3, J10, and J11 for physical connection to other boards or ribbon cables. Figure A-2 shows the BL2000 footprint. These values are relative to one of the mounting holes.
  • Page 66: Conformal Coating

    A.2 Conformal Coating The areas around the crystal oscillator and the battery backup circuit on the BL2000 have had the Dow Corning silicone-based 1-2620 conformal coating applied. The conformally coated areas are shown in Figure A-3. The conformal coating protects these high-imped- ance circuits from the effects of moisture and contaminants over time.
  • Page 67: Jumper Configurations

    A.3 Jumper Configurations Figure A-4 shows the header locations used to configure the various BL2000 options via jumpers. Top Side R160 R161 TP17 Bottom Side R118 Figure A-4. Location of BL2000 Configurable Positions User’s Manual...
  • Page 68 Table A-2 lists the configuration options. Table A-2. BL2000 Jumper Configurations Factory Header Description Pins Connected Default Pin 12 is Vcc R160 installed × Pin 12 is GND R161 installed 1–2 Bias and termination resistors × 3–4 connected RS-485 Bias and Termination Resistors Bias and termination resistors not None...
  • Page 69: Use Of Rabbit 2000 Parallel Ports

    A.4 Use of Rabbit 2000 Parallel Ports Figure A-5 shows the Rabbit-based subsystems designed into the BL2000. PB0– PD4– PA0–PA7 Port A Port B Port D (OUT0–OUT7) (IN6–IN10, CTRL) (ADC, DAC, Eth) PE2–PE7 Port E ABBIT Serial Ports PC0–PC5 (IN0–IN5 2000 ™...
  • Page 70 Table A-3. Use of Rabbit 2000 Parallel Ports (continued) Output Function Port Signal State Input Input Input IN10 Output RS485_EN Output UPGOOD Output TXD RS-485 Inactive high Serial Port D Input RXD RS-485 Output RTS/TXC RS-232 Inactive high Serial Port C Input CTS/RXC RS-232 Output...
  • Page 71: Appendix B. Plastic Enclosure

    B. P PPENDIX LASTIC NCLOSURE The plastic enclosure provides a secure way to protect your BL2000. The enclosure itself may be mounted on any flat sur- face. Appendix B describes how to mount the BL2000 inside the plas- tic enclosure, how to install the optional light pipes, and pro- vides details on mounting the assembly.
  • Page 72: Assembly

    B.1 Assembly 1. Attach the BL2000 to the plastic enclosure base. Position the BL2000 over the plastic enclosure base as shown below in Figure B-1. Attach the BL2000 to the base using the two 4-40 × ¼ screws supplied. +RAW RST- 485- 485+...
  • Page 73 3. Attach the enclosure top to the base. Position the enclosure top over the plastic enclosure base as shown below in Figure B-3. Attach the enclosure top to the base using the two 4-40 × ½ screws supplied. If you installed the light pipes, be sure they are aligned over the LEDs as shown.
  • Page 74: Dimensions

    B.2 Dimensions Figure B-4 shows the dimensions for the plastic enclosure. 0.70 (18) 0.375" (9.5 mm) is cut off each corner 5.00 (127) 4.35 (110) 0.25 2.85 1.375 (6.4) (72) (35) 5.60 (142) Figure B-4. Plastic Enclosure Dimensions When fully assembled with the BL2000 installed, the total height of the plastic enclosure will be 1.1"...
  • Page 75: Appendix C. Power Supply

    C. P PPENDIX OWER UPPLY Appendix C describes the power circuitry distributed on the BL2000. C.1 Power Supplies Power is supplied to the BL2000 via a mini phone jack located at J7 or through the screw terminal strip, header J2. The BL2000 itself is protected against reverse polarity by a diode at D1 as shown in Figure C-1.
  • Page 76: Power For Analog Circuits

    C.1.1 Power for Analog Circuits Power to the analog circuits is provided by way of a two-stage low-pass filter, which iso- lates the analog section from digital noise generated by the other components. The analog power voltage +V powers the op-amp for the buffered A/D converter inputs, the A/D con- verter, and the 4.096 V reference circuit.
  • Page 77: Replacing The Backup Battery

    C.2.1 Replacing the Backup Battery The battery is user-replaceable, and is fitted in a battery holder. To replace the battery, lift up on the spring clip and slide out the old battery. Use only a Panasonic CR2330 or equiv- alent replacement battery, and insert it into the battery holder with the + side facing up. NOTE: The SRAM contents and the real-time clock settings will be lost if the battery is replaced with no power applied to the BL2000.
  • Page 78: Power To Vram Switch

    C.2.3 Power to VRAM Switch The VRAM switch, shown in Figure C-3, allows the battery backup to provide power when the external power goes off. The switch provides an isolation between Vcc and the battery when Vcc goes low. This prevents the Vcc line from draining the battery. VRAM FDV302P 11 kW...
  • Page 79: Reset Generator

    C.2.4 Reset Generator The BL2000 uses a reset generator, U4, to reset the Rabbit 2000 microprocessor when the voltage drops below the voltage necessary for reliable operation. The reset occurs between 4.50 V and 4.75 V, typically 4.63 V. The reset can be initiated either externally or by a watchdog timeout ( WDTOUT ) on the Rabbit 2000 microprocessor.
  • Page 80: Chip Select Circuit

    C.3 Chip Select Circuit Figure C-5 shows a schematic of the chip select circuit. VRAM R101 100 kW /CSRAM /CS1 R104 /RESET 22 kW 1 nF Figure C-5. Chip Select Circuit The current drain on the battery in a battery-backed circuit must be kept at a minimum. When the BL2000 is not powered, the battery keeps the SRAM memory contents and the real-time clock (RTC) going.
  • Page 81 Transistors Q3 and Q4 are of opposite polarity so that a rail-to-rail voltage can be passed. When the /CS1 voltage is low, Q4 will conduct. When the /CS1 voltage is high, Q3 con- ducts. It takes time for the transistors to turn on, creating a propagation delay. This propa- gation delay is typically very small, about 10 ns to 15 ns.
  • Page 82 Wildcat (BL2000)
  • Page 83: Appendix D. Demonstration Board

    PPENDIX EMONSTRATION OARD Appendix D shows how to connect the Demonstration Board to the BL2000. D.1 Connecting Demonstration Board Before running sample programs based on the Demonstration Board, you will have to con- nect the Demonstration Board from the BL2000 Tool Kit to the BL2000 board. Proceed as follows.
  • Page 84 +RAW RST- 485- 485+ RXD2 TXD2 RXD1 TXD1 AGND DAC1 DAC0 ADC8 ADC7 ADC6 ADC5 ADC4 ADC3 ADC2 ADC1 ADC0 GN D AGND AG ND AGND C2C3 AGND AGND AGND R130 R153 R154 R152 BL2000 12 V DC max. R41 R42 R46 R47 R48 R49 R43 R44 R45 D10 D11 D12...
  • Page 85 BL2000 12 V DC max. EXTERNAL POWER SUPPLY +5 V BL2000 Demonstration Board (Header J4) (Header J1) Separate Power Supply ADC0 ADC1 LED1 LED2 LED3 LED4 · · Jumpers: ADC2 · · ADC3 H1: None DEMO BOARD BUZZER LED1 · · H2: As shown LED2 LED3...
  • Page 86 Wildcat (BL2000)
  • Page 87: Appendix E. Programming Cable

    E. P PPENDIX ROGRAMMING ABLE Appendix E provides additional information for the program- ming port in association with the connectors DIAG PROG on the programming cable. The PROG connector is used only when the programming cable is attached to the programming connector (header J5) while a new application is being devel- oped.
  • Page 88 The programming port, which is shown in Figure E-1, can serve as a convenient commu- nications port for field setup or other occasional communication need (for example, as a diagnostic port). If the port is simply to perform a setup function, that is, write setup infor- mation to flash memory, then the single-board computer can be reset through the program- ming port and a cold boot performed to start execution of a special program dedicated to this functionality.
  • Page 89 Once you establish that the programming port will never again be needed for program- ming, it is possible to use the programming port for additional I/O lines. Table E-1 lists the pins available for this alternate configuration. Table E-1. BL2000 Programming Port Pinout Configurations Pin Name Default Use Alternate Use...
  • Page 90 Wildcat (BL2000)
  • Page 91: 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 92 Wildcat (BL2000)
  • Page 93: Index

    NDEX digital outputs ....... 18 IP addresses ......54 +K ........18 how to set ......53 A/D converter inputs ..... 26 pulled up or pulled down .. 18 how to set PC IP address .. 54 analog I/O sinking ....... 18 reference voltages .....
  • Page 94 plastic enclosure ....3, 68 digital I/O libraries ......30 attach BL2000 to base ..7 ANADIGIN.C ....35 BL2000 ......38 dimensions ......70 DIGIN.C ......35 PACKET.LIB ....42 power management ....71 DIGOUT.C ....35 RS232.LIB .....42 power supplies .......71 LED.C ......35 TCP/IP ......38 backup-battery circuit ..73 PWM.C ......36 relay output battery backup ....72...
  • Page 95: Schematics

    CHEMATICS 090-0117 BL2000 Schematic www.zworld.com/documentation/schemat/090-0117.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