Rabbit BL2600 User manual - Able

Manual is about: BL2600 series C-Programmable Single-Board Computer with Ethernet

Summary of BL2600

  • Page 1

    Sbc bl2600 c-programmable single-board computer with ethernet user’s manual 019–0142_l.

  • Page 2

    Sbc bl2600 sbc bl2600 user’s manual ©2011 digi international® inc. All rights reserved. Rabbit, dynamic c, rabbitcore, rabbitnet, digi, digi international, digi interna- tional company, and the digi and rabbit logos are trademarks or registered trade- marks of digi international, inc. In the united ...

  • Page 3: Able

    User’s manual t able of c ontents chapter 1. Introduction 1 1.1 bl2600 description..............................................................................................................................1 1.2 bl2600 features..........................................................................

  • Page 4

    Sbc bl2600 3.9 memory .............................................................................................................................................. 36 3.9.1 sram.............................................................................................................................

  • Page 5

    User’s manual c.1 connecting demonstration board......................................................................................................91 appendix d. Rabbitnet 95 d.1 general rabbitnet description............................................................................................

  • Page 6

    Sbc bl2600

  • Page 7: 1.  I

    User’s manual 1 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 8

    2 sbc bl2600 • one rj-45 ethernet port compliant with ieee 802.3 standard for 10/100base-t ethernet protocol. • up to 5 serial ports: three serial ports (2 rs-232 or 1 rs-232 with rts/cts, 1 rs-485 or rs-232). Two rabbitnet™ expansion ports multiplexed from one serial port. One serial port dedicated...

  • Page 9

    User’s manual 3 1.2.1 connector options in addition to the standard polarized friction-lock connectors supplied on bl2600 boards, dual-entry 0.1" idc sockets can be used to connect to the bl2600 either from the top or the bottom. 1.2.2 memory and clock speed options in addition to the two standard p...

  • Page 10

    4 sbc bl2600 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. • getting started instructions. • dynamic c cd-rom, with complete product ...

  • Page 11

    User’s manual 5 figure 1. Bl2600 tool kit 1.3.2 software the bl2600 is programmed using version 8.51 or later of rabbit’s dynamic c. A compat- ible version is included on the tool kit cd-rom. Digi also offers add-on dynamic c modules for purchase containing the popular µc/os-ii real-time operating s...

  • Page 12

    6 sbc bl2600 1.4 ce compliance equipment is generally divided into two classes. These limits apply over the range of 30–230 mhz. The limits are 7 db higher for frequen- cies above 230 mhz. Although the test range goes to 1 ghz, the emissions from rabbit- based systems at frequencies above 300 mhz ar...

  • Page 13

    User’s manual 7 1.4.1 design guidelines note the following requirements for incorporating the bl2600 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. It is the customer’s res...

  • Page 14

    8 sbc bl2600

  • Page 15: 2.  G

    User’s manual 9 2. G etting s 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 sh...

  • Page 16

    10 sbc bl2600 2.2 bl2600 connections 1. Connect the programming cable to download programs from your pc and to program and debug the bl2600. Note: use only the programming cable that has a blue shrink wrap around the rs-232 level converter (part no. 101-0542). If you are using a bl2610, which is bas...

  • Page 17

    User’s manual 11 2. When all other connections have been made, you can connect power to the bl2600. First, prepare the ac adapter for the country where it will be used by selecting the plug. The bl2600 tool kit presently includes canada/japan/u.S., australia/n.Z., u.K., and european style plugs. Sna...

  • Page 18

    12 sbc bl2600 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 ...

  • Page 19

    User’s manual 13 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 on your desktop or in your start menu . If you are using a usb port to connect your computer to the bl2600, choose options > project options...

  • Page 20

    14 sbc bl2600 2.5 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 file menu (if it is not still open), compile it using the compile menu, and then run it by selecting run i...

  • Page 21: 3.  S

    User’s manual 15 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. Figure 5. Bl26...

  • Page 22

    16 sbc bl2600 3.1 bl2600 pinouts the bl2600 pinouts are shown in figure 6(a) and figure 6(b). Figure 6(a). Bl2600 pinouts (friction-lock connectors) j15 dcin dcin gnd gnd j16 av0 av1 av2 av3 ai0 ai1 ai2 ai3 agnd gnd hout0 +hk1 gnd hout2 +hk3 gnd +hk0 gnd hout1 +hk2 gnd hout3 txc txf txe 485– gnd gnd...

  • Page 23

    User’s manual 17 figure 6(b). Bl2600 pinouts (idc sockets) note: remember that the pinouts will mirror those shown above when they are viewed from the other side of the board. Dcin dcin gnd gnd j13 j12 j5 j3 j11 j14 u1 u6 r28 r38 r41 c5 c3 c9 c8 c12 c17 c23 c30 c18 c29 c35 c33 r29 r37 r39 r40 r42 y3...

  • Page 24

    18 sbc bl2600 3.1.1 connector options standard bl2600 models are equipped with two 1 × 20 friction-lock connector terminals (j1 and j2), two polarized 1 × 10 friction-lock connector terminals (j8 and j15) where pin 9 is removed to polarize the connector terminals, one 1 × 13 friction-lock connector ...

  • Page 25

    User’s manual 19 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 c...

  • Page 26

    20 sbc bl2600 the use of these channels for interrupts, input capture, and as quadrature decoders is described in the rabbit 3000 microprocessor user’s manual , and is illustrated through sample pro- grams in the dynamic c samples\rabbit3000 folder. Table 5 lists these alternate uses. 3.2.2 pwm outp...

  • Page 27

    User’s manual 21 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. Figure 9. Bl2600 high-current digi...

  • Page 28

    22 sbc bl2600 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...

  • Page 29

    User’s manual 23 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 digout...

  • Page 30

    24 sbc bl2600 when you use the software digin function call to read the configurable i/o, dio00– dio15 are considered to be digital input channels 00–15. Note that the digin function call can also read these channels if they are set to be sinking digital outputs. Table 7 lists the banks of configure...

  • Page 31

    User’s manual 25 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-48...

  • Page 32

    26 sbc bl2600 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 14. Note that a common ground is recommended. Figure 14. Bl2600 multidrop network the bl2600 comes with a 220 termin...

  • Page 33

    User’s manual 27 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. Tip: save th...

  • Page 34

    28 sbc bl2600 3.3.4 ethernet port figure 16 shows the pinout for the ethernet port (j4 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, ...

  • Page 35

    User’s manual 29 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...

  • Page 36

    30 sbc bl2600 when using channels ain0–ain3 for current measurements, remember to set the corre- sponding jumper(s) on header jp6. The a/d converter inputs are factory-calibrated and the calibration constants are stored in a separate eeprom. 3.4.1 a/d converter calibration to get the best results fo...

  • Page 37

    User’s manual 31 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 18 shows the d/a converter outputs...

  • Page 38

    32 sbc bl2600 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 ...

  • Page 39

    User’s manual 33 3.6 analog reference voltage circuit figure 19 shows the analog voltage reference circuit. Figure 19. 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 re...

  • Page 40

    34 sbc bl2600 3.7 serial programming cable the programming cable is used to connect the serial programming port of the bl2600 to a pc serial com port. The programming cable converts the rs-232 voltage levels used by the pc serial port to the cmos voltage levels used by the rabbit 3000. When the prog...

  • Page 41

    User’s manual 35 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 generat...

  • Page 42

    36 sbc bl2600 3.9 memory 3.9.1 sram the bl2600 modules running at clock speeds of 44.2 mhz have 512k of program- execution sram. All the bl2600 modules have 256k–512k of data sram. 3.9.2 flash memory the bl2600 also has 512k of flash memory. Note: rabbit recommends that any customer applications sho...

  • Page 43

    User’s manual 37 3.9.4 nand flash the rcm3365 and the rcm3375 rabbitcore modules used with the additional bl2600 versions described in section 1.2.2 support a removable memory card to store data and web pages. The rcm3365 and the rcm3375 both can handle up to a 128 mbyte remov- able memory card, ...

  • Page 44

    38 sbc bl2600 rabbit recommends that you use header j6 on the rcm3365/rcm3375 only for the memory card since other devices are not supported. Be careful to remove and insert the memory card as shown, and be careful not to insert any foreign objects, which may short out the contacts and lead to the d...

  • Page 45: 4.  S

    User’s manual 39 4. S oftware dynamic c is an 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 microprocessor. Chapter 4 provides the libraries, function calls, and s...

  • Page 46

    40 sbc bl2600 developing software with dynamic c is simple. Users can write, compile, and test c and assembly code without leaving the dynamic c development environment. Debugging occurs while the application runs on the target. Alternatively, users can compile a program to an image file for later l...

  • Page 47

    User’s manual 41 4.1.1 upgrading dynamic c 4.1.1.1 patches and updates dynamic c patches that focus on bug fixes and updates are available from time to time. Check the web site at www.Rabbit.Com/support/ for the latest patches, workarounds, and updates. The default installation of a patch or update ...

  • Page 48

    42 sbc bl2600 4.2 sample programs sample programs are provided in the dynamic c samples folder. The sample program pong.C demonstrates the output to the stdio window. The various directories in the samples folder contain specific sample programs that illus- trate the use of the corresponding dynamic...

  • Page 49

    User’s manual 43 • high_current_io.C —demonstrates the use of the high-current outputs configured 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 op...

  • Page 50

    44 sbc bl2600 the following sample programs are found in the rs485 subdirectory in samples\bl2600 . • master.C —this program demonstrates a simple rs-485 transmission of lower case letters to a slave. The slave will send back converted upper case letters back to the master bl2600 and display them in...

  • Page 51

    User’s manual 45 • ad_rd_se_bipolar.C —demonstrates how to read and display the voltage of all sin- gle-ended a/d converter channels using calibration coefficients previously stored in the eeprom. • ad_rd_se_unipolar.C —demonstrates how to read and display the voltage of all single-ended a/d convert...

  • Page 52

    46 sbc bl2600 • dac_volt_sync.C —demonstrates how to output a voltage that can be read with a 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 co...

  • Page 53

    User’s manual 47 • nflash_erase.C —this program is a utility to erase all the good blocks on a nand flash chip. When the program starts running, it attempts to initialize the nand flash chip selected by the user. If the initialization is successful, the progress in erasing the blocks is displayed in...

  • Page 54

    48 sbc bl2600 4.4 bl2600 function calls 4.4.1 board initialization 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. The port...

  • Page 55

    User’s manual 49 4.4.2 digital i/o 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. Note...

  • Page 56

    50 sbc bl2600 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. Channel or state out of range...

  • Page 57

    User’s manual 51 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-b...

  • Page 58

    52 sbc bl2600 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. Channel or state out of ...

  • Page 59

    User’s manual 53 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 ...

  • Page 60

    54 sbc bl2600 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. Remember to call the brdinit and the digoutconfig...

  • Page 61

    User’s manual 55 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. Remember to call the brdinit and the...

  • Page 62

    56 sbc bl2600 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. Channel out of ...

  • Page 63

    User’s manual 57 4.4.3 serial communication library files included with dynamic c provide a full range of serial communications sup- port. The rs232.Lib library provides a set of circular-buffer-based serial functions. The packet.Lib library provides packet-based serial functions where packets can b...

  • Page 64

    58 sbc bl2600 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. Byte mode—disable...

  • Page 65

    User’s manual 59 4.4.4 a/d converter inputs 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 anaoutconfig , you must call anaoutconfig before...

  • Page 66

    60 sbc bl2600 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 ai...

  • Page 67

    User’s manual 61 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.

  • Page 68

    62 sbc bl2600 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. Parameter ...

  • Page 69

    User’s manual 63 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. 1. The eeprom will be read to get...

  • Page 70

    64 sbc bl2600 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 ...

  • Page 71

    User’s manual 65 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 th...

  • Page 72

    66 sbc bl2600 4.4.5 d/a converter outputs 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. Note: if you ar...

  • Page 73

    User’s manual 67 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. Parameters channel is the d/a converter...

  • Page 74

    68 sbc bl2600 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 vol...

  • Page 75

    User’s manual 69 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). Retu...

  • Page 76

    70 sbc bl2600 4.4.6 sram use the bl2600 model and some memory variations described in section 1.2.2 have a battery- backed data sram and a program-execution sram. Dynamic c provides the pro- tected  keyword to identify variables that are to be placed into the battery-backed sram. The compiler g...

  • Page 77: 5.  U

    User’s manual 71 5. U sing the tcp/ip f eatures chapter 5 discusses using the tcp/ip features on the bl2600 and bl2610 boards. The tcp/ip feature is not available on bl2610. 5.1 tcp/ip connections before proceeding you will need to have the following items. • if you don’t have ethernet access, you w...

  • Page 78

    72 sbc bl2600 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 ...

  • Page 79

    User’s manual 73 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...

  • Page 80

    74 sbc bl2600 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 10.10.6.101 with the subnetmask 255.255.255.0 , do t...

  • Page 81

    User’s manual 75 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 samples\tcpip\icmp folder, compile the program, and start it running under dynamic c. When the program starts run- n...

  • Page 82

    76 sbc bl2600 5.2.4 running more demo programs with a direct connection the program ssi.C ( samples\bl2600\tcpip\ ) demonstrates how to make the bl2600 a web server. This program allows you to turn the leds on an attached demon- stration board from the tool kit on and off from a remote web browser. ...

  • Page 83: Ppendix

    User’s manual 77 a ppendix a. S pecifications appendix a provides the specifications for the bl2600 and describes the conformal coating..

  • Page 84

    78 sbc bl2600 a.1 electrical and mechanical specifications figure a-1 shows the mechanical dimensions for the bl2600. Figure a-1. Bl2600 dimensions note: all measurements are in inches followed by millimeters enclosed in parentheses. All dimensions have a manufacturing tolerance of ±0.01" (0.25 mm)....

  • Page 85

    User’s manual 79 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)...

  • Page 86

    80 sbc bl2600 other memory and clock speed options are available—see section 1.2.2. A.1.1  exclusion zone it is recommended that you allow for an “exclusion zone” of 0.25" (6 mm) around the bl2600 in all directions when the bl2600 is incorporated into an assembly that includes other compo...

  • Page 87

    User’s manual 81 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. F...

  • Page 88

    82 sbc bl2600 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 hig...

  • Page 89

    User’s manual 83 a.3 jumper configurations figure a-5 shows the header locations used to configure the various bl2600 options via jumpers. Figure a-5. Location of bl2600 configurable positions table a-2 lists the configuration options. Table a-2. Bl2600 jumper configurations header description pins ...

  • Page 90

    84 sbc bl2600 jp2 dio08–dio15 1–2 inputs pulled up to +5 v × 3–4 inputs pulled up to dcin 5–6 inputs pulled up to +k 7–8 inputs pulled down to gnd jp3 din16–din19 1–2 inputs pulled up to +5 v × 3–4 inputs pulled up to dcin 5–6 inputs pulled up to +k 7–8 inputs pulled down to gnd jp4 din20–din23 1–2 ...

  • Page 91

    User’s manual 85 a.4 use of rabbit 3000 parallel ports figure a-6 shows the rabbit 3000 parallel ports. Figure a-6. Bl2600 rabbit-based subsystems table a-3 lists the rabbit 3000 parallel ports and their use in the bl2600. Table a-3. Use of rabbit 3000 parallel ports port i/o signal initial state pa...

  • Page 92

    86 sbc bl2600 the pd0, pd1, pe0, and pe2 signals are configured on the rabbitcore module, and not on the bl2600. These parallel-port bits are configured for ethernet on rabbitcore modules with ethernet and for output low on rabbitcore modules without ethernet. The signals are not available on the bl...

  • Page 93: Ppendix

    User’s manual 87 a ppendix b. P ower s 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. Figure b-...

  • Page 94

    88 sbc bl2600 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. ...

  • Page 95

    User’s manual 89 b.3 power to peripheral boards dcin and vcc are available on friction-lock connector terminals j5 and j7 to power peripheral boards that may be used with the bl2600. Figure b-2. Pinout friction-lock connector terminals j5 and j7 keep in mind that the bl2600 draws 377 ma from the vcc...

  • Page 96

    90 sbc bl2600

  • Page 97: Ppendix

    User’s manual 91 a ppendix c. D emonstration b 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 t...

  • Page 98

    92 sbc bl2600 figure c-1. General digital input connections between bl2600 and demonstration board j1 j15 j16 ain0 ain1 ain2 ain3 jp6 4–20 ma av0 av1 av2 av3 ai0 ai1 ai2 ai3 agnd gnd hout0 +hk1 gnd hout2 +hk3 gnd +hk0 gnd hout1 +hk2 gnd hout3 txc txf txe 485– gnd gnd rxc rxf rxe 485+ j17 gnd hout0 +...

  • Page 99

    User’s manual 93 figure c-2. Digital output connections between bl2600 and demonstration board j1 j15 j16 ain0 ain1 ain2 ain3 jp6 4–20 ma av0 av1 av2 av3 ai0 ai1 ai2 ai3 agnd gnd hout0 +hk1 gnd hout2 +hk3 gnd +hk0 gnd hout1 +hk2 gnd hout3 txc txf txe 485– gnd gnd rxc rxf rxe 485+ j17 gnd hout0 +hk1 ...

  • Page 100

    94 sbc bl2600 figure c-3. High_current_io.C connections between bl2600 and demonstration board note: +hk0…+hk3 on header j16 must be connected to +dcin on friction-lock connector j12 as shown in figure c-3. J15 j16 ain0 ain1 ain2 ain3 jp6 4–20 ma av0 av1 av2 av3 ai0 ai1 ai2 ai3 agnd gnd hout0 +hk1 g...

  • Page 101: Ppendix

    User’s manual 95 a ppendix d. R abbit n et 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 p...

  • Page 102

    96 sbc bl2600 use a straight-through cat 5/6 ethernet cable to connect the master to slave peripheral cards, unless you are using a device such as the op7200 that could be used either as a master or a slave. In this case you would use a crossover cat 5/6 ethernet cable to connect an op7200 that is b...

  • Page 103

    User’s manual 97 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 information sent to th...

  • Page 104

    98 sbc bl2600 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 library in the dynamic c rabbitnet folder. Resets, initializes, or disables a specified rabbitnet port on the master single-board computer. Du...

  • Page 105

    User’s manual 99 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; // product rev c...

  • Page 106

    100 sbc bl2600 writes a string to the specified device and register. Waits for results. This function will check device infor- mation to determine that the peripheral card is connected to a master. Parameters handle is an address index to device information. Use rn_device() or rn_find() to establish...

  • Page 107

    User’s manual 101 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...

  • Page 108

    102 sbc bl2600 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 ca...

  • Page 109

    User’s manual 103 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 indicat...

  • Page 110

    104 sbc bl2600 d.3.1 status byte unless otherwise specified, functions returning a status byte will have the following format for each designated bit. 7 6 5 4 3 2 1 0 × × 00 = reserved 01 = ready 10 = busy 11 = device not connected × 0 = device 1 = router × 0 = no error 1 = communication error * * u...

  • Page 111: Chematics

    User’s manual 105 s chematics 090-0195 bl2600 schematic www.Rabbit.Com/documentation/schemat/090-0195.Pdf 090-0214 rcm3365/rcm3375 module schematic www.Rabbit.Com/documentation/schemat/090-0214.Pdf 090-0120 rcm3200 module schematic www.Rabbit.Com/documentation/schemat/090-0152.Pdf 090-0119 rcm3100 m...

  • Page 112

    106 sbc bl2600

  • Page 113: Ndex

    User’s manual 107 i ndex a a/d converter ....................... 29 buffered inputs .................. 29 calibration ......................... 30 calibration constants ......... 30 current-measurement setup 30 function calls anain .............................. 62 anaincalib ..................... 6...

  • Page 114

    108 sbc bl2600 dio07 pullup/pulldown configuration) ..........24, 83 jp2 (digital input dio08– dio15 pullup/pulldown configuration) ..........24, 84 jp3 (digital input din16– din19 pullup/pulldown configuration) ..........19, 84 jp4 (digital input din20– din23 pullup/pulldown configuration) ....19, ...

  • Page 115

    User’s manual 109 setrtckb.C .............. 47 serial communication master.C ................... 44 puts.C ......................... 43 simple3wire.C ........ 43 simple5wire.C ........ 43 slave.C ...................... 44 sf1000 serial flash card flash_pattern_in- spect.C .................... 46 sfl...

  • Page 116

    110 sbc bl2600