Z-World Fox LP3500 User manual

Fox (LP3500)
C-Programmable Single-Board Computer
User’s Manual
019–0111 • 041029–E

Fox (LP3500)
Z-World, Inc.
2900 Spafford Street
Davis, California 95616-6800
USA
Telephone: (530) 757-3737
Fax: (530) 753-5141
www.zworld.com
Fox (LP3500) User’s Manual
Part Number 019-0111 • 041029–E • Printed in U.S.A.
©2002–2004 Z-World Inc. • All rights reserved.
Z-World reserves the right to make changes and
improvements to its products without providing notice.
Trademarks
Rabbit and Rabbit 3000 are registered trademarks of Rabbit Semiconductor.
Dynamic C is a registered trademark of Z-World Inc.

User’s Manual
TABLE OF CONTENTS
Chapter 1. Introduction 1
1.1 LP3500 Description..............................................................................................................................1
1.2 LP3500 Features ...................................................................................................................................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.5 CE Compliance.....................................................................................................................................6
1.5.1 Design Guidelines.........................................................................................................................7
1.5.2 Interfacing the LP3500 to Other Devices .....................................................................................7
Chapter 2. Getting Started 9
2.1 LP3500 Connections.............................................................................................................................9
2.2 Remove Battery Tab...........................................................................................................................13
2.3 Installing Dynamic C..........................................................................................................................14
2.4 Starting Dynamic C ............................................................................................................................14
2.5 PONG.C..............................................................................................................................................15
2.6 Where Do I Go From Here? ...............................................................................................................15
Chapter 3. Subsystems 17
3.1 LP3500 Pinouts...................................................................................................................................18
3.1.1 Headers and Screw Terminals.....................................................................................................18
3.2 Power Modes ......................................................................................................................................19
3.2.1 Setting the Power-Save Mode.....................................................................................................20
3.2.2 Operating in the Power-Save Mode............................................................................................21
3.2.3 Resuming Normal-Power or Low-Power Operation ..................................................................21
3.3 Digital I/O...........................................................................................................................................22
3.3.1 Digital Inputs...............................................................................................................................22
3.3.2 Digital Outputs............................................................................................................................23
3.4 Serial Communication ........................................................................................................................25
3.4.1 RS-232 ........................................................................................................................................26
3.4.2 RS-485 ........................................................................................................................................26
3.4.3 Serial Interface Port ....................................................................................................................28
3.4.4 Programming Port.......................................................................................................................28
3.5 Display Interface.................................................................................................................................29
3.6 A/D Converter Inputs (LP3500 only).................................................................................................30
3.7 PWM Outputs .....................................................................................................................................32
3.8 Relay Output Circuit (LP3500 only) ..................................................................................................33
3.9 Memory...............................................................................................................................................34
3.9.1 SRAM .........................................................................................................................................34
3.9.2 Flash Memory.............................................................................................................................34
Chapter 4. Software 35
4.1 Upgrading Dynamic C........................................................................................................................36
4.1.1 Patches and Bug Fixes ................................................................................................................36
4.1.2 Upgrades .....................................................................................................................................36

Fox (LP3500)
4.2 Programming Cable............................................................................................................................37
4.2.1 Switching Between Program Mode and Run Mode...................................................................37
4.2.2 Detailed Instructions: Changing from Program Mode to Run Mode.........................................37
4.2.3 Detailed Instructions: Changing from Run Mode to Program Mode......................................... 37
4.3 Sample Programs................................................................................................................................38
4.3.1 Power Modes..............................................................................................................................38
4.3.2 Digital I/O...................................................................................................................................38
4.3.3 Serial Communication................................................................................................................ 39
4.3.4 A/D Converter Inputs.................................................................................................................39
4.3.5 PWM Outputs.............................................................................................................................40
4.3.6 Relay Output...............................................................................................................................40
4.3.7 Vcc Monitoring ..........................................................................................................................40
4.3.8 LP3500 Calibration ....................................................................................................................40
4.3.9 LCD/Keypad Module Sample Programs....................................................................................41
4.4 LP3500 Libraries................................................................................................................................42
4.5 LP3500 Function APIs....................................................................................................................... 43
4.5.1 LP3500 Power Modes ................................................................................................................43
4.5.2 Board Initialization.....................................................................................................................47
4.5.3 Digital I/O...................................................................................................................................48
4.5.4 Serial Communication................................................................................................................ 50
4.5.5 A/D Converter Inputs.................................................................................................................52
4.5.6 Vcc Monitoring (LP3500 only)..................................................................................................64
4.5.7 PWM Outputs.............................................................................................................................65
4.6 Relay Output (LP3500 only)..............................................................................................................66
Appendix A. LP3500 Specifications 67
A.1 Electrical and Mechanical Characteristics ........................................................................................68
A.1.1 Exclusion Zone..........................................................................................................................71
A.1.2 Headers......................................................................................................................................72
A.2 Conformal Coating............................................................................................................................73
A.3 Jumper Configurations ...................................................................................................................... 74
A.4 Use of Rabbit 3000 Parallel Ports .....................................................................................................77
Appendix B. Prototyping Board 81
B.1 Mechanical Dimensions and Layout.................................................................................................82
B.2 Using the Prototyping Board.............................................................................................................83
B.2.1 Interface to LP3500 ................................................................................................................... 83
B.2.2 Demonstration Board.................................................................................................................84
B.2.3 Prototyping Area........................................................................................................................84
Appendix C. LCD/Keypad Module 85
C.1 Specifications.....................................................................................................................................85
C.2 Contrast Adjustment..........................................................................................................................87
C.3 Keypad Labeling................................................................................................................................88
C.4 Header Pinouts...................................................................................................................................89
C.4.1 I/O Address Assignments ..........................................................................................................89
C.5 Bezel-Mount Installation................................................................................................................... 90
C.6 Connect the LCD/Keypad Module to Your LP3500.........................................................................92
C.7 LCD/Keypad Module Function APIs................................................................................................93
C.7.1 LEDs..........................................................................................................................................93
C.7.2 LCD Display..............................................................................................................................94
C.7.3 Keypad..................................................................................................................................... 110
C.8 Sample Programs.............................................................................................................................113
Appendix D. Plastic Enclosure 115
D.1 Assembly Instructions.....................................................................................................................116
D.2 Dimensions......................................................................................................................................118

User’s Manual
Appendix E. Power Management 119
E.1 External Power Supply.....................................................................................................................119
E.2 Batteries and External Battery Connections.....................................................................................121
E.2.1 Replacing the Backup Battery..................................................................................................122
E.2.2 Power to VRAM Switch...........................................................................................................122
E.2.3 Reset Generator ........................................................................................................................123
E.3 Chip Select Circuit ...........................................................................................................................123
Appendix F. Programming Cable 125
Appendix G. Running a Sample Program 129
Notice to Users 131
Index 133
Schematics 137

Fox (LP3500)

User’s Manual 1
1. INTRODUCTION
The LP3500 is a low-power single-board computer with built-in
analog and digital I/O. Although the LP3500 was designed spe-
cifically for low-power applications and data logging, it has a
host of features that make it attractive for other applications as
well. Low power is often required in portable equipment operat-
ing from batteries or from solar power. The LP3500 is ideal for
monitoring equipment or processes that are far-removed from a
power supply, remote telemetry (RTUs), pipeline control and
monitoring, well-head monitoring; and use on mobile equipment
such as refrigeration trucks. An optional plastic enclosure and an
LCD/keypad module are available.
The Tool Kit has the essentials that you need to design your own
low-power microprocessor-based system, and includes a com-
plete Dynamic C software development system.
1.1 LP3500 Description
The LP3500 is a low-power single-board computer that incorporates the powerful and
low-EMI Rabbit 3000 microprocessor, flash memory, static RAM, digital I/O ports, A/D
converter inputs, PWM outputs, RS-232/RS-485 serial ports, and both parallel and serial
interfaces that allow other devices to be connected to the LP3500.
All aspects of the LP3500 are designed for low power consumption and operates at a vari-
ety of power levels, including a power-save mode, to fit customer-specified conditions at
any given time. The CPU runs at a nominal speed of 7.4 MHz, and operates at 2.8 V to
conserve power. The LP3500 consumes less than 20 mA when fully operational, and less
than 100 µA when in the power-save mode. A replaceable coin-type battery will allow the
LP3500 to operate in sleep mode for over 3 years. The LP3500 is normally powered from
an external battery or power supply. When the unit is in the power-save mode, it can be
awakened by an internal timer, an RS-232 signal, or via polling of an external input. The
LP3500 can be switched from the power-save mode to full operation and back under pro-
gram control. In addition, various sections of circuitry (such as the RS-232 ports) can be
switched off under program control to further conserve power when not in use.

2Fox (LP3500)
1.2 LP3500 Features
•Rabbit 3000®microprocessor operating at up to 7.4 MHz.
•512K/128K static RAM and 512K/256K flash memory options.
•26 digital I/O: 16 protected digital inputs and 10 high-current digital outputs provide
sinking and sourcing outputs.
•8 single-ended or 4 differential analog channels with Vcc monitoring option: 11-bit single-
ended or 12-bit differential channels.
•3 PWM outputs.
•Six serial ports
1 RS-485
3 RS-232 (one 5-wire and one 3-wire or three 3-wire), jumper option for logic-level
outputs; Serial Port E has a “listen” and “wake-up” capability
1 logic-level serial interface for optional add-ons
1 asynchronous clocked serial port dedicated for programming
•Battery-backed real-time clock.
•Watchdog supervisor.
Two LP3500 models are available. Their standard features are summarized in Table 1.
Appendix A provides detailed specifications.
The LP3500 can be mounted in two ways. It can be mounted to a panel or on a plastic-
enclosure base, which allows I/O connections to be made using traditional connectors with
0.1" spacing. The LP3500 can also be inverted and mounted directly to mating connectors
on a motherboard of the customer's design. The first approach is appropriate where I/O
connections go directly to devices and switches. The second approach is appropriate
where additional circuitry is incorporated on the motherboard.
Table 1. LP3500 Models
Feature LP3500 LP3510
Microprocessor Rabbit 3000 running at 7.4 MHz
Static RAM 512K 128K
Flash Memory 512K 256K
A/D Converter Inputs
(ranges from 0–1 V DC to 0–20 V DC, 4 channels
may be individually configured for 4–20 mA) Yes No
C-form Bistable Relay Yes No

User’s Manual 3
1.3 Optional Add-Ons
•Plastic enclosure (can be wall-mounted or panel-mounted), which consists of a base
and a cover for either the LP3500 by itself or an assembly made up of the LP3500 and
the LP3500 Prototyping Board. The base is also available separately.
•The Prototyping Board included with the Tool Kit is a convenient means of interfacing
to the LP3500 via the screw-terminal headers on the Prototyping Board. The Prototyp-
ing Board is also available for separate purchase.
•4M and 8M serial flash expansion cards.
•LCD/keypad module with 7-key keypad and seven LEDs.
Further details on the Prototyping Board, the plastic enclosure, and the LCD/keypad mod-
ule are provided in Appendix B, Appendix C, and Appendix D.
Visit Z-World’s 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
and schematics.

4Fox (LP3500)
1.4 Development and Evaluation Tools
1.4.1 Tool Kit
A Tool Kit contains the hardware essentials you will need to develop applications with the
LP3500 single-board computer. The items in the Tool Kit and their use are as follows.
•LP3500 User’s Manual with schematics (this document).
•Dynamic C CD-ROM, with complete product documentation on disk.
•Programming cable, used to connect your PC serial port to the LP3500.
•AC adapter, used to power the LP3500 via the Prototyping Board
. The AC adapter is
supplied with Tool Kits sold in the North American market. If you are using another
power supply, it must provide 3 to 30 V DC
.
•Prototyping Board with pushbutton switches, LEDs, and screw-terminal headers. The
Prototyping Board can be hooked up to the LP3500 to demonstrate the I/O capabilities
of the LP3500 and to provide a prototyping area for you to develop your own add-on
circuits. The screw-terminal headers extend the LP3500’s headers for development, and
can also be used in a production environment.
•Plastic enclosure with four screws.
•Four stand-offs with mounting screws.
•Screwdriver.
•Rabbit 3000 Processor Easy Reference poster.
•Registration card.
Figure 1. Tool KitLP3500 Tool KitTool Kit
PROG
DIAG
Programming
Cable
(101-0276)
Screwdriver
User's Manual
S and-Offs
and Screws
AC Adap er
(North American
kits only)
Pro o yping Board
Fox (LP3500)
C-Programmable Single-Board Computer
Users Manual
0190111 020815A
Plas ic Enclosure
GND RxE TxE GND RxC TxC GND RxB TxB GND + 85 GND +K OUT9 OUT8 OUT7 OUT6 OUT5 OUT OUT3 OUT2 OUT1 OUT0
GND VIN GND VBAT EXT GND PWM2 PWM1 PWM0 GND AIN7 AIN6 AIN5 AIN AIN3 AIN2 AIN1 AIN0 GND
IN15 IN1 IN13 IN12 IN11 IN10 IN09 IN08 GND IN07 IN06 IN05 IN0 IN03 IN02 IN01 IN00 GND
J2
J21 J22 J23
J11J12
J1J13
J 1 J 2 J J 3 J
GND
VIN
S1 S2 S3 S
RN1
DS DS3 DS2 DS1
D1
PWR
J5
R1
VIN
GND
VIN
GND
VIN
GND
VIN
GND
GND
VIN
J3
3 V VBAT

User’s Manual 5
1.4.2 Software
The LP3500 is programmed using version 7.26P or later of Z-World’s Dynamic C. A com-
patible version is included on the Tool Kit CD-ROM. Library functions provide an easy-to-use
interface for the LP3500. Software drivers for digital and analog I/O, and for serial com-
munication are included with Dynamic C. Web-based technical support is included at no
extra charge.
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. In addition to the Web-based technical support included at no extra charge,
a one-year telephone-based technical support module is also available for purchase. Visit
our Web site at www.zworld.com or contact your Z-World sales representative or autho-
rized distributor for further information.

6Fox (LP3500)
1.5 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 frequencies
above 230 MHz. Although the test range goes to 1 GHz, the emissions from Rabbit-based
systems at frequencies above 300 MHz are generally well below background noise levels.
The LP3500 has been tested and was found to be in conformity with the
following applicable immunity and emission standards. The LP3510 is
also CE qualified as it is a sub-version of the LP3500. Boards that are
CE-compliant have the CE mark.
NOTE: Earlier versions of the LP3500 sold before 2003 that do not
have the CE mark are not CE-complaint.
Immunity
The LP3500 series of single-board computers meets the following EN55024/1998 immu-
nity standards.
•EN61000-4-3 (Radiated Immunity)
•EN61000-4-4 (EFT)
•EN61000-4-6 (Conducted Immunity)
Additional shielding or filtering may be required for a heavy industrial environment.
Emissions
The LP3500 series of single-board computers meets the following emission standards
emission standards with the Rabbit 3000 spectrum spreader turned on and set to the nor-
mal mode.
•EN55022:1998 Class B
•FCC Part 15 Class B
Your results may vary, depending on your application, so additional shielding or filtering
may be needed to maintain the Class B emission qualification.
CLASS A CLASS B
Digital equipment meant for light industrial use Digital equipment meant for home use
Less restrictive emissions requirement:
less than 40 dB µV/m at 10 m
(40 dB relative to 1 µV/m) or 300 µV/m
More restrictive emissions requirement:
30 dB µV/m at 10 m or 100 µV/m

User’s Manual 7
1.5.1 Design Guidelines
Note the following requirements for incorporating the LP3500 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 responsibility to provide a CE-compliant power supply for the end-product
application.
•When connecting the LP3500 to outdoor cables, the customer is responsible for provid-
ing CE-approved surge/lightning 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. Z-World also recommends using properly shielded I/O cables in noisy
electromagnetic environments.
Safety
•For personal safety, all inputs and outputs to and from the LP3500 must not be con-
nected to voltages exceeding SELV levels (42.4 V AC peak, or 60 V DC). Damage to
the Rabbit 3000 microprocessor may result if voltages outside the design range of 0 V
to 40 V DC are applied directly to any of its digital inputs.
•The lithium backup battery circuit on the LP3500 has been designed to protect the bat-
tery from hazardous conditions such as reverse charging and excessive current flows.
Do not disable the safety features of the design.
1.5.2 Interfacing the LP3500 to Other Devices
There are two versions of the LCD/keypad module that may be used with the LP3500:
without a bezel (Z-World part number 101-0601), and a remote panel-mounted version
with bezel (Z-World part number 101-0541). The cable used to connect the LCD/keypad
module should be less than 30 cm (12") to maintain CE compliance. Appendix C provides
complete information for mounting and using the LCD/keypad module.
Since the LP3500 series of single-board computers is designed to be connected to other
devices, good EMC practices should be followed to ensure compliance. CE compliance is
ultimately the responsibility of the integrator. Additional information, tips, and technical
assistance are available from your authorized Z-World distributor, and are also available
on our Web site at www.zworld.com.

8Fox (LP3500)

User’s Manual 9
2. GETTING STARTED
Chapter 2 explains how to connect the programming cable and
power supply to the LP3500.
2.1 LP3500 Connections
1. Use the 4-40 screws supplied with the Tool Kit to attach the metal stand-offs to your
LP3500 series board as shown in Figure 2.
Figure 2. Attach Stand-Offs and Remove Battery Cap
2. Remove the battery cap from the coin-type lithium-ion battery installed on the LP3500
series board. The battery cap was inserted in the factory to keep the battery fresh until
you are ready to use the board.
C
C3
C59C60
U9
R16
R13
C10 C13
R17
R18
C16
C19 C36
U1
C70
R51
R58
C65
C26 C33
R20 R25
R22 R26
R29C37
R32
C0
Y1
D22
C50 R36 R 0 C5
R37
C2
R30
D19
D20
D21
D18
D25
Q5R2
Q6
R 3
R33
Q8
Q10
D26
D28
Q16
D30
Q17
D3
K1
Q13 D32
D33Q1
J6
C67
C55 R R 7
U11
S1
RESET
J5
J2
PROGRAM
PORT
AIN0 AIN1 AIN2 AIN3 AIN AIN5 AIN6 AIN7 GND GNDVBAT
EXT GND VIN GND
PWM0
PWM1
PWM2
GND
DISPLAY
R55
R56
J9
J8 RELAY
NOCOMNC
C 8
U3
R57R31
C29
R23
C22
C20
C12
C15
D15D17
RP17
D13 BT1
D11
D5
D7
D2 D
C8
C6
D8
D1
AIN0 AIN1 AIN2 AIN3
J3
R1
C3
C2
R6
R7
R9
Q22
RN1
RN2
R5
RP1
RP13
Q20
U13
C6
R50
R 9
Y2
C61
Q12
R5
R3
U8
C51
R39
R1
C53
R38
R 8
C66
U12
U10
GND +K GND 85 + GND TxB RxB GND TxC RxC GND TxE RxE GND
J
J1
OUT9
OUT8
OUT7
OUT6
OUT5
OUT4
OUT3
OUT2
OUT0
OUT1
IN00 IN01 IN02 IN03 IN0 IN05 IN06 IN07 GND IN08 IN09 IN10 IN11 IN12 IN13 IN1 IN15
Battery

10 Fox (LP3500)
3. Attach the LP3500 main board to the Prototyping Board as shown in Figure 3.
Press the headers on the LP3500 series board firmly into the corresponding header sock-
ets located at J1, J2, and J4 on the Prototyping Board.
NOTE: It is important that you line up the header pins on the LP3500 exactly with the
corresponding header sockets J1, J2, and J4 on the Prototyping Board. The header
pins may become bent or damaged if the pin alignment is offset, and the LP3500 will
not work. Permanent electrical damage may also result if a misaligned LP3500 is
powered up.
Figure 3. Attach LP3500 Main Board to Prototyping Board
GND RxE TxE GND RxC TxC GND RxB TxB GND + 85 GND +K OUT9 OUT8 OUT7 OUT6 OUT5 OUT OUT3 OUT2 OUT1 OUT0
GND VIN GND VBAT EXT GND PWM2 PWM1 PWM0 GND AIN7 AIN6 AIN5 AIN AIN3 AIN2 AIN1 AIN0 GND
IN15 IN1 IN13 IN12 IN11 IN10 IN09 IN08 GND IN07 IN06 IN05 IN0 IN03 IN02 IN01 IN00 GND
J2
J21 J22 J23
J11J12
J1J13
J 1 J 2 J J 3 J
GND
VIN
LP3500
Pro o yping
Board
S1 S2 S3 S
RN1
DS DS3 DS2 DS1
D1
PWR
J5
R1
VIN
GND
VIN
GND
VIN
GND
VIN
GND
GND
VIN
J3
3 V VBAT
J2
J4
J1
JP1
JP2
JP3
JP
JP5
JP6
JP8JP11
JP7
JP10JP9
JP12
RP1
D3
RP2
D6
D12 D10
RP
RP3
D16
D1
Q3 Q
D23
D2
Q7
D27
Q9
RP10
D29
Q11
D31
Q15
RP12
RP11
Q21
Q19
Q18
PROGRAM
PORT
TP2
/RESET
RESET
S2
R1
C1
R15
C9
R5
R8
C27
R19
R21
R27
R2
C3
R28
C38
R35
C25
C31
C18
C28
C30
RP9
RP8
R59
C9
R52
R53
C63
R 6
U2
815 07 IN
R10
R11
R12
R2
R3
R
+K
GND
VCC
U6
U7
C2
C1
D9
C7C5
C1
C
C69
C68
C23 C17

User’s Manual 11
4. Connect the programming cable to download programs from your PC and to program
and debug the LP3500.
NOTE: Use only the programming cable that has a red shrink wrap around the RS-232
level converter (Z-World part number 101-0276), which is supplied with the LP3500
Tool Kit. Other Z-World programming cables might not be voltage-compatible or their
connector sizes may be different.
Connect the 10-pin PROG connector of the programming cable to header J5 on the LP3500
board. Ensure that the colored edge lines up with pin 1 as shown. There is a small dot on the
circuit board next to pin 1 of header J5. (Do not use the DIAG connector, which is used for
monitoring only, as explained in Appendix F, “Programming Cable.”) Connect the other
end of the programming cable to a COM port on your PC. Make a note of the port to
which you connect the cable, as Dynamic C will need to have this parameter configured.
Note that COM1 on the PC is the default COM port used by Dynamic C.
Figure 4. Programming Cable and Power Supply Connections
GND RxE TxE GND RxC TxC GND RxB TxB GND + 85 GND +K OUT9 OUT8 OUT7 OUT6 OUT5 OUT OUT3 OUT2 OUT1 OUT0
GND VIN GND VBAT EXT GND PWM2 PWM1 PWM0 GND AIN7 AIN6 AIN5 AIN AIN3 AIN2 AIN1 AIN0 GND
IN15 IN1 IN13 IN12 IN11 IN10 IN09 IN08 GND IN07 IN06 IN05 IN0 IN03 IN02 IN01 IN00 GND
J2
J21 J22 J23
J11J12
J1J13
J 1 J 2 J J 3 J
GND
VIN
J5
PROGRAM
PORT
PROG
S1 S2 S3 S
RN1
DS DS3 DS2 DS1
D1
PWR
J5
R1
VIN
GND
VIN
GND
VIN
GND
VIN
GND
GND
VIN
J3
3 V VBAT
JP1
JP2
JP3
JP
JP5
JP6
JP8JP11
JP7
JP10JP9
JP12
RP1
D3
RP2
D6
D12 D10
RP
RP3
D16
D1
Q3 Q
D23
D2
Q7
D27
Q9
RP10
D29
Q11
D31
Q15
RP12
RP11
Q21
Q19
Q18
PROGRAM
PORT
TP2
/RESET
RESET
S2
R1
C1
R15
C9
R5
R8
C27
R19
R21
R27
R2
C3
R28
C38
R35
C25
C31
C18
C28
C30
RP9
RP8
R59
C9
R52
R53
C63
R 6
U2
815 07 IN
R10
R11
R12
R2
R3
R
+K
GND
VCC
U6
U7
C2
C1
D9
C7C5
C1
C
C69
C68
C23 C17
DIAG
PROG
Colored edge Programming
Cable
Red
shrink wrap
To
PC COM port
J5
Do no connect
AC adapter to
VBAT terminal
X

12 Fox (LP3500)
5. Connect the power supply.
Hook up the connector from the wall transformer to header J5 on the Prototyping Board as
shown in Figure 4. The orientation of this connector is not important since the VIN (posi-
tive) voltage is the middle pin, and GND is available on both ends of the three-pin header
J5.
NOTE: Do not connect the AC adapter to the VBAT terminal on the Prototyping Board.
The VBAT terminal supplies the backup battery voltage of 3 V, and the LP3500 may be
damaged if subjected to the raw DC voltage from the AC adapter through the VBAT
terminal.
6. Apply power.
Plug in the AC adapter. If you are using your own power supply, it must provide 3 V to
30 V DC—voltages outside this range could damage the LP3500.
NOTE: A hardware reset may be done by pressing the RESET switch on the LP3500.
The LP3500 may also be reset by unplugging the AC adapter, then plugging it back in.
However, when the LP3500 is operating in the power-save mode, the backup battery
will provide sufficient voltage to prevent a reset from happening, in which case you will
have to press the RESET switch on the LP3500.
Figure 5. Locations of LP3500 RESET Switches
Reset switches are located on both sides of the LP3500 board.
C
C 3
C59 C60
U9
R16
R13
C10 C13
R17
R18
C16
C19 C36
U1
C70
R51
R58
C65
C26 C33
R20 R25
R22 R26
R29C37
R32
C 0
Y1
D22
C50 R36 R 0 C5
R37
C2
R30
D19
D20
D21
D18
D25
Q5 R 2
Q6
R 3
R33
Q8
Q10
D26
D28
Q16
D30
Q17
D3
K1
Q13 D32
D33Q1
J6
C67
C55 R R 7
U11
S1
RESET
J5
J2 PROGRAM
PORT
AIN0 AIN1 AIN2 AIN3 AIN AIN5 AIN6 AIN7 GND GNDVBAT
EXT GND VIN GND
PWM0
PWM1
PWM2
GND
DISPLAY
R55
R56
J9
J8 RELAY
NO COM NC
PROGRAM
PORT
TP2
/RESET
RESET
JP1
JP2
JP3
JP
JP5
JP6
JP8 JP11
JP7
JP10 JP9
JP12
RP1
D3
RP2
D6
D12 D10
RP
RP3
D16
D1
Q3 Q
D23
D2
Q7
D27
Q9
RP10
D29
Q11
D31
Q15
RP12
RP11
Q21
Q19
Q18
PROGRAM
PORT
TP2
/RESET
RESET
S2
R1
C1
R15
C9
R5
R8
C27
R19
R21
R27
R2
C3
R28
C38
R35
C25
C31
C18
C28
C30
RP9
RP8
R59
C 9
R52
R53
C63
R 6
U2
815 07 IN
R10
R11
R12
R2
R3
R
+K
GND
VCC
RP15
D6
D
D2
D0
A1
A3
GND
DPRST
D7
D5
D3
D1
A0
A2
GND
GND
DISP
VDISP
OUT0
OUT1
OUT2
OUT3
OUT
OUT5
OUT6
OUT7
OUT8
OUT9
GND
GND +KGND RxE TxE GND RxC TxC GND RxB TxB GND + 85
CTS RTS
IN00
IN01
IN02
IN03
IN0
IN05
IN06
IN07
GND
IN08
IN09
IN10
IN11
IN12
IN13
IN1
IN15
C C1
U
TP1
VRAM
U5
C39
20 mA
AIN3
AIN2
AIN1
AIN0
GND
VIN
GND
GND
PWM2
PWM1
PWM0
GND
AIN7
AIN6
AIN5
AIN
AIN3
AIN2
AIN1
AIN0
VBAT
EXT
C52
R60
C71
C21
JP13
IN DR OUT
J6
C 8
U3
R57 R31
C29
R23
C22
C20
C12
C15
D15 D17
RP17
D13 BT1
D11
D5
D7
D2 D
C8
C6
D8
D1
AIN0 AIN1 AIN2 AIN3
J3
R1
C3
C2
R6
R7
R9
Q22
RN1
RN2
Battery
R5
RP1
RP13
Q20
U13
C6
R50
R 9
Y2
C61
Q12
R 5
R3
U8
C51
R39
R 1
C53
R38
R 8
C66
U12
U10
GND +K GND 85 + GND TxB RxB GND TxC RxC GND TxE RxE GND J
J1
OUT9
OUT8
OUT7
OUT6
OUT5
OUT4
OUT3
OUT2
OUT0
OUT1
IN00 IN01 IN02 IN03 IN0 IN05 IN06 IN07 GND IN08 IN09 IN10 IN11 IN12 IN13 IN1 IN15
RESET switch
U7
RESET switch
U6
U7
C 2
C 1
D9
C7 C5
C69
C68
C23 C17

User’s Manual 13
2.2 Remove Battery Tab
The backup battery on the LP3500 has a plastic tab to protect the battery against discharg-
ing before the LP3500 is placed into service.
Figure 6. Remove Battery Tab
NOTE: Z-World recommends that the battery tab not be removed until you are ready to
place the LP3500 in normal service with regular power connected to header J3.
The backup battery protects the contents of the SRAM and keeps the real-time clock
running when regular power to the LP3500 is interrupted. If you plan to use the real-time
clock functionality in your application, you will need to set the real-time clock once you
remove the plastic tab. Set the real-time clock using the onscreen prompts in the demon-
stration program. Alternatively, you may set the real-time clock using the SETRTCKB.C
sample program from the Dynamic C SAMPLES\RTCLOCK folder. The RTC_TEST.C
sample program in the Dynamic C SAMPLES\RTCLOCK folder provides additional exam-
ples of how to read and set the real-time clock.
AIN0 AIN1 AIN2 AIN3 AIN AIN5 AIN6 AIN7 GND GNDVBAT
EXT GND VIN GND
PWM0
PWM1
PWM2
GND
DISPLAY NO COM NC
AIN0 AIN1 AIN2 AIN3
GND +K GND 85 + GND TxB RxB GND TxC RxC GND TxE RxE GND
OUT9
OUT8
OUT7
OUT6
OUT5
OUT4
OUT3
OUT2
OUT0
OUT1
IN00 IN01 IN02 IN03 IN0 IN05 IN06 IN07 GND IN08 IN09 IN10 IN11 IN12 IN13 IN1 IN15
Pull
Plastic
Tab

14 Fox (LP3500)
2.3 Installing Dynamic C
If you have not yet installed Dynamic C version 7.26P (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 > Run from the Windows Start button and
browse for the Dynamic C setup.exe file on your CD drive. Click OK to begin the
installation once you have selected the setup.exe file.
The Dynamic C User’s Manual provides detailed instructions for the installation of
Dynamic C and any future upgrades.
NOTE: If you have an earlier version of Dynamic C already installed, the default instal-
lation of the later version will be in a different folder, and a separate icon will appear on
your desktop.
2.4 Starting Dynamic C
Once the LP3500 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 the .exe file associated
with DcRab in the Dynamic C directory.
Dynamic C assumes, by default, that you are using serial port COM1 on your PC. If you
are
using COM1, then Dynamic C should detect the LP3500 and go through a sequence
of
steps to cold-boot the LP3500 and to compile the BIOS. If the error message “Rabbit Pro-
cessor Not Detected” appears, you have probably connected to a different PC serial port
such as COM2, COM3, or COM4. You can change the serial port used by Dynamic C with
the OPTIONS menu, then try to get Dynamic C to recognize the LP3500 by selecting
Reset Target/Compile BIOS on the Compile menu. Try the different COM ports in the
OPTIONS menu until you find the one you are connected to. If you still can’t get Dynamic
C to recognize the target on any port, then the hookup may be wrong or the COM port
might not working on your PC.
Dynamic C automatically uses a maximum debug baud rate of 38,400 bps when an
LP3500 series board is in use.
Table of contents
Other Z-World Motherboard manuals