Digi Rabbit Smartcat BL2100 Series Manual de usuario

Chipsmall Limited consists of a professional team with an average of over 10 year of expertise in the distribution
of electronic components. Based in Hongkong, we have already established firm and mutual-benefit business
relationships with customers from,Europe,America and south Asia,supplying obsolete and hard-to-find components
to meet their specific needs.
With the principle of “Quality Parts,Customers Priority,Honest Operation,and Considerate Service”,our business
mainly focus on the distribution of electronic components. Line cards we deal with include
Microchip,ALPS,ROHM,Xilinx,Pulse,ON,Everlight and Freescale. Main products comprise
IC,Modules,Potentiometer,IC Socket,Relay,Connector.Our parts cover such applications as commercial,industrial,
and automotives areas.
We are looking forward to setting up business relationship with you and hope to provide you with the best service
and solution. Let us make a better world for our industry!
Contact us
Tel: +86-755-8981 8866 Fax: +86-755-8427 6832
Email & Skype: [email protected]om Web: www.chipsmall.com
Address: A1208, Overseas Decoration Building, #122 Zhenhua RD., Futian, Shenzhen, China

Smartcat (BL2100)
C-Programmable Single-Board Computer with Ethernet
and Operator Interface
User’s Manual
019–0103_M

Smartcat (BL2100)
Digi8 International Inc.
www.rabbit.com
Smartcat (BL2100) User’s Manual
Part Number 019-0103 • Printed in U.S.A.
©2001–2010 Digi International Inc. • All rights reserved.
Digi International reserves the right to make changes and
improvements to its products without providing notice.
Trademarks
Rabbit, RabbitCore, and Dynamic C are registered trademarks of Digi International Inc.
Rabbit 2000 is a trademark of Digi International Inc.
The latest revision of this manual is available on the Rabbit Web site, www.rabbit.com,
for free, unregistered download.

User’s Manual
TABLE OF CONTENTS
Chapter 1. Introduction 1
1.1 BL2100 Description..............................................................................................................................1
1.2 BL2100 Features...................................................................................................................................1
1.2.1 Connector Options ........................................................................................................................2
1.3 Optional Add-Ons.................................................................................................................................3
1.4 Development and Evaluation Tools......................................................................................................4
1.4.1 Tool Kit .........................................................................................................................................4
1.4.2 Software ........................................................................................................................................5
1.4.3 Online Documentation ..................................................................................................................5
1.5 CE Compliance .....................................................................................................................................6
1.5.1 Design Guidelines .........................................................................................................................7
1.5.2 Interfacing the BL2100 to Other Devices .....................................................................................7
Chapter 2. Getting Started 9
2.1 BL2100 Connections ............................................................................................................................9
2.2 Installing Dynamic C ..........................................................................................................................14
2.3 Starting Dynamic C ............................................................................................................................15
2.4 Run a Sample Program .......................................................................................................................15
2.4.1 Troubleshooting ..........................................................................................................................15
2.5 Where Do I Go From Here? ...............................................................................................................16
2.5.1 Technical Support .......................................................................................................................16
Chapter 3. Subsystems 17
3.1 BL2100 Pinouts ..................................................................................................................................18
3.1.1 Headers and Screw Terminals.....................................................................................................19
3.2 Digital I/O ...........................................................................................................................................20
3.2.1 Digital Inputs...............................................................................................................................20
3.2.2 Digital Outputs............................................................................................................................21
3.3 Serial Communication ........................................................................................................................23
3.3.1 RS-232 ........................................................................................................................................23
3.3.2 RS-485 ........................................................................................................................................23
3.3.3 Ethernet Port ...............................................................................................................................26
3.3.4 Programming Port .......................................................................................................................27
3.4 Programming Cable ............................................................................................................................28
3.4.1 Changing Between Program Mode and Run Mode ....................................................................28
3.5 A/D Converter Inputs..........................................................................................................................29
3.6 D/A Converter Outputs.......................................................................................................................30
3.7 Analog Reference Voltage Circuit......................................................................................................31
3.8 Memory...............................................................................................................................................32
3.8.1 SRAM .........................................................................................................................................32
3.8.2 Flash Memory .............................................................................................................................32
3.9 Other Hardware...................................................................................................................................33
3.9.1 External Interrupts.......................................................................................................................33
3.9.2 Clock Doubler .............................................................................................................................34
3.9.3 Spectrum Spreader ......................................................................................................................34

Smartcat (BL2100)
Chapter 4. Software 35
4.1 Running Dynamic C........................................................................................................................... 35
4.1.1 Upgrading Dynamic C................................................................................................................ 37
4.1.2 Extras.......................................................................................................................................... 37
4.2 Sample Programs................................................................................................................................ 38
4.2.1 Digital I/O................................................................................................................................... 38
4.2.2 Serial Communication ................................................................................................................ 38
4.2.3 A/D Converter Inputs ................................................................................................................. 39
4.2.4 D/A Converter Outputs............................................................................................................... 39
4.2.5 Using Calibration Constants....................................................................................................... 40
4.2.6 Real-Time Clock ........................................................................................................................ 40
4.2.7 TCP/IP Sample Programs........................................................................................................... 40
4.2.8 LCD/Keypad Module Sample Programs.................................................................................... 40
4.3 BL2100 Libraries ............................................................................................................................... 41
4.4 BL2100 Function APIs....................................................................................................................... 42
4.4.1 Board Initialization..................................................................................................................... 42
4.4.2 Digital I/O................................................................................................................................... 43
4.4.3 Serial Communication ................................................................................................................ 45
4.4.4 A/D Converter Inputs ................................................................................................................. 46
4.4.5 D/A Converter Outputs............................................................................................................... 50
Chapter 5. Using the TCP/IP Features 55
5.1 TCP/IP Connections........................................................................................................................... 55
5.2 TCP/IP Sample Programs................................................................................................................... 57
5.2.1 How to Set IP Addresses in the Sample Programs..................................................................... 57
5.2.2 How to Set Up Your Computer for Direct Connect ................................................................... 58
5.2.3 Run the PINGME.C Demo...................................................................................................... 59
5.2.4 Running More Demo Programs With a Direct Connection ....................................................... 60
5.3 Where Do I Go From Here?............................................................................................................... 60
Appendix A. Specifications 61
A.1 Electrical and Mechanical Specifications.......................................................................................... 62
A.1.1 Exclusion Zone .......................................................................................................................... 64
A.1.2 Headers ...................................................................................................................................... 65
A.2 Conformal Coating ............................................................................................................................ 66
A.3 Jumper Configurations ...................................................................................................................... 67
A.4 Use of Rabbit 2000 Parallel Ports ..................................................................................................... 69
A.5 I/O Address Assignments.................................................................................................................. 71
Appendix B. Power Supply 73
B.1 Power Supplies .................................................................................................................................. 73
B.1.1 Power for Analog Circuits ......................................................................................................... 73
B.2 Batteries and External Battery Connections...................................................................................... 74
B.2.1 Replacing the Backup Battery ................................................................................................... 75
B.2.2 Battery-Backup Circuit .............................................................................................................. 75
B.2.3 Power to VRAM Switch............................................................................................................ 76
B.2.4 Reset Generator.......................................................................................................................... 76
B.3 Chip Select Circuit............................................................................................................................. 77
Appendix C. LCD/Keypad Module 79
C.1 Specifications..................................................................................................................................... 79
C.2 Contrast Adjustments for All Boards ................................................................................................ 81
C.3 Keypad Labeling................................................................................................................................ 82
C.4 Header Pinouts................................................................................................................................... 83
C.4.1 I/O Address Assignments .......................................................................................................... 83
C.5 Mounting LCD/Keypad Module on the BL2100 .............................................................................. 84
C.5.1 Programming Cable Tips ........................................................................................................... 85
C.6 Bezel-Mount Installation ................................................................................................................... 87
C.6.1 Connect the LCD/Keypad Module to Your BL2100................................................................. 89

User’s Manual
C.7 Sample Programs ...............................................................................................................................90
C.8 LCD/Keypad Module Function Calls ................................................................................................92
C.8.1 LEDs...........................................................................................................................................92
C.8.2 LCD Display...............................................................................................................................93
C.8.3 Keypad......................................................................................................................................109
Appendix D. Plastic Enclosure 113
D.1 Assembly Instructions......................................................................................................................114
D.2 Dimensions ......................................................................................................................................116
Appendix E. Demonstration Board 119
E.1 Connecting Demonstration Board ....................................................................................................119
Index 123
Schematics 127

Smartcat (BL2100)

User’s Manual 1
1. INTRODUCTION
The BL2100 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 and
LCD/keypad module are available, and may be wall-mounted.
1.1 BL2100 Description
The BL2100 is an advanced single-board computer that incorporates the powerful Rabbit
2000 microprocessor, flash memory, static RAM, digital I/O ports, A/D converter inputs,
D/A converter outputs, RS-232/RS-485 serial ports, and a 10Base-T Ethernet port.
1.2 BL2100 Features
•Rabbit®2000 microprocessor operating at 22.1 MHz.
•128K static RAM and 256K flash memory standard, may be increased to 512K SRAM
and 512K flash memory.
•40 digital I/O: 24 protected digital inputs and 16 high-current digital outputs provide
sinking and sourcing outputs.
•15 analog channels: eleven 12-bit A/D converter inputs, four 12-bit D/A converter 0–10 V
outputs (selected models).
•One RJ-45 Ethernet port compliant with IEEE 802.3 standard for 10Base-T Ethernet
protocol (selected models).
•Two Ethernet status LEDs (selected models).
•Four serial ports (2 RS-232 or 1 RS-232 with RTS/CTS, 1 RS-485, and 1 CMOS-com-
patible programming port).
•Battery-backed real-time clock.
•Watchdog supervisor.
•Optional backlit 122 × 32 graphic display/keypad module.
•Remote program downloading and debugging capability via RabbitLink.
•Boards with the CE mark on their RabbitCore module are CE-compliant.

2Smartcat (BL2100)
Four BL2100 models are available. Their standard features are summarized in Table 1.
Additional 512K flash/512K SRAM memory options are available for custom orders
involving nominal lead times. Contact your Rabbit sales representative or authorized
distributor for more information.
Appendix A provides detailed specifications.
1.2.1 Connector Options
In addition to the standard screw-terminal connectors supplied on BL2100 boards, IDC
headers, bottom-mount sockets, and polarized friction-lock terminals may be factory-
installed instead. Visit our Web site at www.rabbit.com or contact your Rabbit sales
representative or authorized distributor for further information.
Table 1. BL2100 Models
Feature BL2100 BL2110 BL2120 BL2130
Microprocessor Rabbit 2000 running at 22.1 MHz
Static RAM 128K
Flash Memory 256K
RJ-45 Ethernet Connector,
Filter Capacitors, and LEDs Yes N o
A/D Converter Inputs
(-10 V to + 10 V) Yes N o Yes N o
D/A Converter Outputs
(0 V to +10 V) Yes N o Yes N o
RabbitCore Module Used RCM2200 RCM2300
Standard screw terminals, accept
up to 14 AWG (1.5 mm2) wire Bottom-mount socket, 0.1" pitch
IDC headers, 0.1" pitch Polarized friction-lock terminals,
0.1" pitch

User’s Manual 3
1.3 Optional Add-Ons
•Plastic enclosure (can be wall-mounted or
panel-mounted) with LCD/keypad module that
comprises a 122 × 32 LCD graphic display, 7-
key keypad, and seven LEDs. The plastic
enclosure consists of a base and a cover for an
assembly made up of the BL2100 with the
LCD/keypad module plugged in.
•Plastic enclosure base.
•LCD/keypad module.
One enclosure base is included with the Tool Kit.
Further details on these add-ons are provided in
Appendix C and in Appendix D.
Visit our Web site for up-to-date information about additional add-ons and features as
they become available. The Web site also has the latest revision of this user’s manual.
Este manual sirve para los siguientes modelos
3
Tabla de contenidos
Otros manuales de Computadora de placa única de Digi
Manuales populares de Computadora de placa única de otras marcas

WIN Enterprises
WIN Enterprises PL-80910 Manual de usuario

AXIOMTEK
AXIOMTEK SBC81206 Series Manual de usuario

Embest
Embest SOM-PH8800 Manual de usuario

SeaLevel
SeaLevel SBC-R9 Manual de usuario

SMART Embedded Computing
SMART Embedded Computing ATCA-8310 Manual de usuario

WinSystems
WinSystems PPM-LX800-G Manual de usuario

GIGAIPC
GIGAIPC QBiX-PPC Series Manual de usuario

OLIMEX
OLIMEX A10S-OLinuXino-MICRO Manual de usuario

Commell
Commell FS-978 Manual de usuario

GIGAIPC
GIGAIPC QBiP-8665A/ Manual de usuario

VersaLogic
VersaLogic Python EBX-11 Manual de usuario

Micro Computer Specialists
Micro Computer Specialists IRV-3702 Manual de usuario











