101-0558 Rabbit Semiconductor, 101-0558 Datasheet

no-image

101-0558

Manufacturer Part Number
101-0558
Description
COMPUTER SNG BD BL1800 512K SRAM
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0558

Module/board Type
Single Board Computer Module
For Use With/related Products
BL1800
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Jackrabbit (BL1800)
C-Programmable Single-Board Computer
User’s Manual
019–0067 • 090515–J

Related parts for 101-0558

101-0558 Summary of contents

Page 1

Jackrabbit (BL1800) C-Programmable Single-Board Computer User’s Manual 019–0067 • 090515–J ...

Page 2

Jackrabbit (BL1800) User’s Manual Part Number 019-0067 • 090515–J • Printed in U.S.A. ©2000–2009 Digi International Inc. • All rights reserved. No part of the contents of this manual may be reproduced or transmitted in any form or by any ...

Page 3

Chapter 1. Introduction 1.1 Features .................................................................................................................................................1 1.2 Development and Evaluation Tools......................................................................................................2 1.3 How to Use This Manual ......................................................................................................................3 1.3.1 Additional Product Information ....................................................................................................3 1.3.2 Online Documentation ..................................................................................................................3 1.4 CE Compliance .....................................................................................................................................4 1.4.1 Design Guidelines .........................................................................................................................5 1.4.2 Interfacing the Jackrabbit to ...

Page 4

Chapter 4. Software Reference 4.1 An Overview of Dynamic C............................................................................................................... 37 4.2 Sample Programs................................................................................................................................ 39 4.2.1 DEMOJR1.C .............................................................................................................................. 40 4.2.2 Other Sample Programs Illustrating Digital I/O......................................................................... 44 4.2.3 RS-232 Serial Communication Sample Programs ..................................................................... 46 4.2.4 RS-485 Serial Communication Sample ...

Page 5

The Jackrabbit is a high-performance, C-programmable single- board computer with a compact form factor. A Rabbit microprocessor operating at 29.5 MHz provides fast data pro- cessing. 1.1 Features • 29.5 MHz clock • 24 CMOS-compatible I/O • 3 analog channels: ...

Page 6

Three Jackrabbit models are available. Their standard features are summarized in Table 1. Model BL1800 Full-featured controller with switching voltage regulator. BL1800 with 14.74 MHz clock, 128K flash EPROM, linear voltage regulator, sinking outputs sink up to 200 mA, BL1810 ...

Page 7

How to Use This Manual This user’s manual is intended to give users detailed information on the Jackrabbit. It does not contain detailed information on the Dynamic C development environment or the Rabbit ® 2000 microprocessor. Most users will ...

Page 8

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

Page 9

I/O cables. Your results may vary, depending on your application, so additional shielding or filtering may be needed to maintain the Class B emission qualification. NOTE ferrite absorbers are fitted, the Jackrabbit boards will still meet EN55022:1998 ...

Page 10

Jackrabbit (BL1800) ...

Page 11

This chapter describes the Jackrabbit board in more detail, and explains how to set up and use the accompanying Prototyping Board. NOTE: This chapter (and this manual) assume that you have the Jackrabbit Development Kit. If you purchased a Jackrabbit ...

Page 12

Development Hardware Connections There are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs: 1. Attach the Jackrabbit to the Prototyping Board. 2. Connect the programming cable between the Jackrabbit and the ...

Page 13

Attach Jackrabbit to Prototyping Board To attach the Jackrabbit board to the Prototyping Board, turn the Jackrabbit board over so that the battery is facing up. Plug the pins from headers J4 and J5 on the bottom side of ...

Page 14

... NOTE: Use only the programming cable that has a red shrink wrap around the RS-232 level converter (Part No. 20-101-0513), which is supplied with the Development Kit. Other Rabbit programming cables are not voltage-compatible or their connector sizes may be different. ...

Page 15

Connect Power When all other connections have been made, you can connect power to the Jackrabbit. First, prepare the AC adapter for the country where it will be used by selecting the plug. The Jackrabbit Development Kit presently includes ...

Page 16

Installing Dynamic C If you have not yet installed Dynamic now by inserting the Dynamic C CD from the Jackrabbit Development Kit in your PC’s CD-ROM drive. The CD will auto-install unless you have disabled auto-install ...

Page 17

Run a Sample Program If you already have Dynamic C installed, you are now ready to test your programming connections by running a sample program. Start Dynamic C by double-clicking on the Dynamic C icon on your desktop or ...

Page 18

Where From Here? If everything appears to be working, we recommend the following sequence of action: 1. Run all of the sample programs described in Section 4.2 to get a basic familiarity with Dynamic C and ...

Page 19

Chapter 3 describes the principal subsystems and their use for the Jackrabbit. • Digital Inputs/Outputs • A/D Converter • D/A Converters • Serial Communication • Memory Figure 3 shows these Rabbit-based subsystems designed into the Jackrabbit. Figure 3. Jackrabbit Subsystems ...

Page 20

Jackrabbit Pinouts Figure 4 shows the pinout for headers J4 and J5, which carry the signals associated with the Jackrabbit subsystems. Figure 4. Pinout for Jackrabbit Headers J4 and J5 3.1.1 Headers Standard Jackrabbit models are equipped with two ...

Page 21

Digital Inputs/Outputs 3.2.1 Digital Inputs The Jackrabbit has six CMOS-level digital inputs, PB0–PB5, each of which is pulled shown in Figure 5. The BL1820, which does not have RS-485, has one additional CMOS-level digital ...

Page 22

Digital Outputs The Jackrabbit has four CMOS-level digital outputs, PB6–PB7, PCLK, and IOBEN. Four high-power outputs, HV0–HV3, are also available—HV0–HV2 can each sink (200 mA for the BL1810 and BL1820 and HV3 ...

Page 23

Configurable High-Power Output (HV3) HV3, shown schematically in Figure 7, is factory-configured sourcing output. W Figure 7. Configurable High-Current Output When used as a sourcing output, HV3 is switched to K when PE3 on the Rabbit ...

Page 24

HV3 can also be reconfigured as a sinking output so, remove the 0 Ω surface- mounted resistor R56, and solder Ω surface-mounted resistor or jumper wire at R55. If you plan to drive inductive loads, ...

Page 25

A/D Converter The analog-to-digital (A/D) converter, shown in Figure 9, compares the DA0 voltage to AD0, the voltage presented to the converter. DA0 therefore cannot be used for the digital- to-analog (D/A) converter when the A/D converter is being ...

Page 26

There kΩ resistor, R31, connected between Vcc and AD0. This resistor should pro- vide an appropriate voltage divider bias for a variety of common thermistors so that they can be connected directly between AD0 and ground. The ...

Page 27

D/A Converters Two digital-to-analog (D/A) converter outputs, DA0 and DA1, are supplied on the Jack- rabbit. These are shown in Figure 10. The D/A converters have no reference voltage. Although they may be fairly accurate from one programmed voltage ...

Page 28

It is very easy to do pulse-width modulation with the Rabbit 2000 microprocessor because of the chip’s architecture. 3.4.1 DA1 The op amp supporting DA1 converts pulse-width modulated signals to an analog voltage between 0 V and ...

Page 29

The duty cycle is programmed as the high-time count of 1024 total counts of the Rabbit 2000’s timer B. Thus, 256 counts would be 25% of 1024 counts, and corresponds to a ...

Page 30

DA0 The op amp supporting DA0 translates a 12%–88% duty cycle to an analog voltage range The software operates only within this duty cycle; a duty cycle less than 12% is rounded down ...

Page 31

The resolution of the DA0 output depends on the smallest increment of time to change the on/off time (the time between 5 V and 0 V). The Jackrabbit uses the Rabbit 2000’s Port D control registers to clock out the ...

Page 32

Serial Communication The Jackrabbit has two RS-232 (3-wire) serial channels, one RS-485 serial channel, and one synchronous CMOS serial channel. 3.5.1 RS-232 The Jackrabbit’s two RS-232 serial channels are connected to an RS-232 transceiver, U4, an industry-standard MAX232 chip. ...

Page 33

Figure 11. Multidrop Jackrabbit Network User’s Manual 29 ...

Page 34

The Jackrabbit comes with a 220 Ω termination resistor and 681 Ω bias resistors already installed, as shown in Figure 12 Figure 12. RS-485 Termination and Bias Resistors The load these bias and termination resistors present to ...

Page 35

In addition to Serial Port A, the Rabbit 2000 startup-mode (SMODE0, SMODE1), status, and reset pins are available on the serial programming port. The two startup mode pins determine what happens after a reset—the Rabbit 2000 is either cold-booted or ...

Page 36

Programming Cable The programming cable is used to connect the Jackrabbit’s programming port serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to the TTL voltage levels used ...

Page 37

Memory 3.7.1 SRAM The Jackrabbit is designed to accept 32K to 512K of SRAM packaged in an SOIC case. Standard Jackrabbit models come with 128K of SRAM. A factory-installed option for 512K of SRAM is available. Figure 14 shows ...

Page 38

Other Hardware 3.8.1 External Interrupts Jackrabbit boards that carry the CE mark have external interrupts available on digital inputs PE4 and PE5. 3.8.2 Clock Doubler Jackrabbit BL1810 and BL1820 models take advantage of the Rabbit 2000 microproces- sor’s internal ...

Page 39

Spectrum Spreader Jackrabbit boards that carry the CE mark have a Rabbit 2000 microprocessor that features a spectrum spreader, which helps to mitigate EMI problems. By default, the spectrum spreader is on automatically for Jackrabbit BL1810 and BL1820 boards ...

Page 40

Jackrabbit (BL1800) ...

Page 41

To develop and debug programs for the Jackrabbit (and for all other Rabbit hardware), you must install and use Dynamic C. It runs on an IBM-compatible PC and is designed for use with Rabbit-based single-board computers and other devices based ...

Page 42

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

Page 43

Sample Programs Sample programs are provided in the Dynamic C The various folders contain specific sample programs that illustrate the use of the corre- sponding Dynamic C libraries. For example, the sample program the output to the Dynamic C ...

Page 44

DEMOJR1.C This sample program can be used to illustrate some of the functions of Dynamic C. First, open the file DEMOJR1.C will appear in a window, as shown in Figure 15 below (minus some comments). Use the mouse to ...

Page 45

The programming cable must be connected to the Jackrabbit board. (The colored wire on the programming cable is closest to pin 1 on header J3 on the Jackrabbit board, as shown in Figure 2.) The other end of the ...

Page 46

Editing the Program Click on the box on the task bar. This will set Dynamic C into the edit mode so that Edit you can change the program. Use the with a new name so as not to change the ...

Page 47

Setting break points. The F2 the cursor position if the program has already been compiled. You can set a break point if the program is paused at a break point. You can also set a break point in a ...

Page 48

Other Sample Programs Illustrating Digital I/O —repeatedly flashes LED DS3 (which is controlled by PA2) on the Proto- • DEMOJR2.C typing Board. This sample program also illustrates the use of the Dynamic C to update watch expressions while running. ...

Page 49

Before running the LCD_DEMO.C HD44780 (or an equivalent) controller. —demonstrates a 4-bit interface to an LCD based on the HD44780 (or an • LCD_DEMO.C equivalent) controller. Connect the LCD to Parallel Port A. PA0—LCD DB4 PA1—LCD DB5 PA2—LCD DB6 PA3—LCD ...

Page 50

RS-232 Serial Communication Sample Programs —This program demonstrates hardware flow control by config- • JR_FLOWCONTROL.C uring Serial Port C (PC3/PC2) for CTS/RTS with serial data coming from TxB at 115,200 bps. One character at a time is received and ...

Page 51

RS-485 Serial Communication Sample Program The following sample program illustrates the use of the RS-485 serial drivers. The sample program shows a byte being transmitted, and then the RS-485 transceiver waits for a reply. #define DINBUFSIZE #define DOUTBUFSIZE 15 ...

Page 52

Cooperative Multitasking Cooperative multitasking is a convenient way to perform several different tasks at the same time. An example would be to step a machine through a sequence of steps and at the same time independently carry on a ...

Page 53

S1 main(){ WrPortI(SPCR,NULL,0x84); WrPortI(PADR,&PADRShadow,0xff); vswitch=0; (1) while (1) { BigLoopTop(); // first task flash LED DS4 every second for 200 milliseconds (2) costate { BitWrPortI(PADR,&PADRShadow,0,3); // LED DS4 on (3) waitfor(DelayMs(200)); BitWrPortI(PADR,&PADRShadow,1,3); // LED DS4 off waitfor(DelayMs(800)); (4) ...

Page 54

Place the cursor on this function name The statement at (3) waits for a time delay, in this case 200 ms. The costatement ...

Page 55

Jackrabbit Function Calls 4.4.1 I/O Drivers The Jackrabbit contains four high-power digital output channels, two D/A converter out- put channels, and one A/D converter input channel. These I/O channels can be accessed using the functions found in the 4.4.1.1 ...

Page 56

Jackrabbit). value is the output value (0 or 1). void digOn(int channel); sets ...

Page 57

Table 5. Typical Analog Output Voltages Corresponding Channel DA0 DA1 0.004 V The output value is set using the following function. void anaOut(int channel, int value); sets the state of an analog output channel. jrioInit must be called first. channel ...

Page 58

Analog Input The analog input channel on the Jackrabbit (AD0 on header J5) works by varying analog output channel DA0 until its voltage matches the input voltage on AD0. DA0 obviously cannot be used while an input voltage ...

Page 59

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

Page 60

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

Page 61

A Appendix A provides the specifications for the Jackrabbit. User’s Manual A. S PPENDIX PECIFICATIONS 57 ...

Page 62

A.1 Electrical and Mechanical Specifications Figure A-1 shows the mechanical dimensions for the Jackrabbit. Figure A-1. Jackrabbit 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 63

Table A-1 lists the electrical, mechanical, and environmental specifications for the Jackrabbit boards. Table A-1. Jackrabbit Board Specifications Parameter Microprocessor Rabbit 2000 @ 29.5 MHz Flash EPROM (supports 128K–512K) SRAM Backup Battery Digital Inputs 4 CMOS-level plus 4 high-power outputs—3 ...

Page 64

A.1.1 Exclusion Zone It is recommended that you allow for “exclusion zones” around the Jackrabbit when the Jackrabbit is incorporated into an assembly that includes other components. These “exclu- sion zones” that you keep free of other components and boards ...

Page 65

A.1.2 Headers The Jackrabbit has 0.1" IDC headers × 3) and J2 (2 × 2) for the power supply and an external battery connection. There are 2 mm IDC headers × 5 programming port) ...

Page 66

A.2 Jumper Configurations Figure A-4 shows the header and jumper locations used to configure the various Jackrabbit options. Figure A-4. Location of Jackrabbit Configurable Positions 62 Jackrabbit (BL1800) ...

Page 67

Table A-2 lists the configuration options. 0 Ω surface mount resistors are used for all the header positions. Table A-2. Jackrabbit Jumper Configurations Header Description JP1 SRAM Size JP2 Flash Memory Size JP3 Flash Memory Bank Select — HV3 Sinking/Sourcing ...

Page 68

A.3 Conformal Coating The areas around the crystal oscillator and the battery backup circuit on the Jackrabbit have had the Dow Corning silicone-based 1-2620 conformal coating applied. The confor- mally coated areas are shown in Figure A-5. The conformal coating ...

Page 69

A.4 Use of Rabbit 2000 Parallel Ports Figure A-6 shows the use of the Rabbit 2000 parallel ports. The Jackrabbit has 27 general- purpose digital inputs/outputs available on headers J4 and J5—15 are bidirectional (one of which is used by ...

Page 70

The ports on the Rabbit 2000 microprocessor used in the Jackrabbit are configurable, and so the factory defaults can be reconfigured. Table A-3 lists the Rabbit 2000 factory defaults and the alternate configurations. Table A-3. Jackrabbit Pinout Configurations Rabbit 2000 ...

Page 71

Table A-3. Jackrabbit Pinout Configurations (continued) Rabbit 2000 Pin Factory Default PD0 PD1 PD2 Bitwise or parallel PD3 programmable I/O, can be driven or open- PD4 drain output PD5 PD6 PD7 PE0 PE1 PE2 PE3 PE4 Bitwise or parallel programmable ...

Page 72

Jackrabbit (BL1800) ...

Page 73

A PPENDIX Appendix B describes the features and accessories of the Proto- typing Board, and explains the use of the Prototyping Board to demonstrate the Jackrabbit and to build prototypes of your own circuits. User’s Manual B. P ROTOTYPING B ...

Page 74

B.1 Prototyping Board Overview The Prototyping Board included in the Development Kit makes it easy to connect a Jack- rabbit board to a power supply and a PC workstation for development. It also provides some basic I/O peripherals (switches and ...

Page 75

B.1.1 Prototyping Board Features —The power LED lights whenever power is connected to the Prototyping Power LED • Board. —A momentary-contact, normally open switch is connected directly to the Reset Switch • Jackrabbit’s pin. Pressing the switch forces a hardware ...

Page 76

B.2 Mechanical Dimensions and Layout Figure B-2 shows the mechanical dimensions and layout for the Jackrabbit Prototyping Board. Figure B-2. Jackrabbit Prototyping Board 72 Jackrabbit (BL1800) ...

Page 77

B.3 Using the Prototyping Board The Prototyping Board is actually both a demonstration board and a prototyping board demonstration board, it can be used to demonstrate the functionality of the Jackrabbit right out of the box without any ...

Page 78

B.3.1 Demonstration Board A relay, a thermistor, four additional LEDs, and a serial cable are included in a bag of parts to further allow exploration of the Jackrabbit‘s operation. The SPDT relay handles 120 with a ...

Page 79

The thermistor has a nominal room-temperature resistance of about 10 kΩ, which drops to about 6 kΩ at 40°C. Once you solder the thermistor onto the RT1 pads (see Figure B-5) on the Prototyping Board, the A/D converter readings on ...

Page 80

B.3.2 Prototyping Board To maximize the availability of Jackrabbit resources, the demonstration hardware (LEDs, switches, potentiometer, buzzer) on the Prototyping Board may be disconnected. This is done by cutting the traces seen between and within the silk-screen outline of headers ...

Page 81

Once the LEDs, resistors, and switches are disconnected as described above, the user has a Jackrabbit board with connection points conveniently brought out to labeled points at headers J3 and J7 on the Prototyping Board. Small to medium circuits can ...

Page 82

Jackrabbit (BL1800) ...

Page 83

A PPENDIX C.1 Power Supplies Power is supplied to the Jackrabbit board from an external source through either header J1 or header J4 3-pin straight header with a pitch of 0.1". V ground on pins 1 and ...

Page 84

The linear voltage regulator is simply a fixed-voltage regulator with a ±5% voltage output tolerance as the temperature changes. The regulator has a small heat sink, which increases the maximum external input voltage. Higher external input voltages increase the voltage ...

Page 85

The switching voltage regulator is used when there is a need for an additional range in the external input voltage or when lower power consumption is desired. The input voltage range is from Figure C-3 ...

Page 86

C.2 Batteries and External Battery Connections The soldered-in 950 mA·h lithium coin cell provides power to the real-time clock and SRAM when external power is removed from the circuit. This allows the Jackrabbit to continue to keep track of time ...

Page 87

C.2.1 Battery Backup Circuit Figure C-5 shows the Jackrabbit battery backup circuitry. Figure C-5. Jackrabbit Battery Backup Circuit Resistor R12, shown in Figure C-5, is typically not stuffed on the Jackrabbit board. VRAM and Vcc are equal when power is ...

Page 88

The battery-backup circuit serves two purposes: • It reduces the battery voltage to the real-time clock, thereby reducing the current con- sumed by the real-time clock and lengthening the battery life. • It ensures that current can flow only out ...

Page 89

C.3 Chip Select Circuit Figure C-7 shows a schematic of the chip select circuit. The current drain on the battery in a battery-backed circuit must be kept at a minimum. When the Jackrabbit board is not powered, the battery keeps ...

Page 90

Transistors Q20 and Q21 are of opposite polarity so that a rail-to-rail voltages can be passed. When the /CS1 voltage is low, Q20 will conduct. When the /CS1 voltage is high, Q21 will conduct. It takes time for the transistors ...

Page 91

A A/D converter ................. 21, 22 additional information online documentation .......... 3 analog input function calls anaIn .............................. 54 cof_anaIn ....................... 54 analog outputs function calls anaOut ........................... 53 B backup battery ................. 82, 83 chip select circuit .............. 84 ...

Page 92

Prototyping Board (continued) pinout .................................77 prototyping area .................77 thermistor ..........................75 R Rabbit 2000 parallel ports 65, 66 real-time clock how to set ..........................14 reset .......................................11 reset generator .......................84 RS-232 ..................................28 RS-485 ..................................28 termination and bias resis- tors .................................30 S sample ...

Page 93

Jackrabbit Schematic www.rabbit.com/documentation/schemat/090-0092.pdf 090-0088 Jackrabbit Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0088.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf You may use the URL information provided above to access the latest schematics directly. User’s Manual S CHEMATICS 89 ...

Page 94

...

Related keywords