20-101-0526 Rabbit Semiconductor, 20-101-0526 Datasheet

COMPUTER SNGLBD LP3510 FOX7.4MHZ

20-101-0526

Manufacturer Part Number
20-101-0526
Description
COMPUTER SNGLBD LP3510 FOX7.4MHZ
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0526

Module/board Type
Single Board Computer Module
Product
Modules
Processor Type
Rabbit 3000
Sram
512 KB
Flash
512 KB
Timers
8 bit, 10 bit
Number Of I/os
26
Backup Battery
3 V Lithium Coin Type
Operating Voltage
3 V to 30 V
Board Size
93 mm x 66 mm x 11 mm
Description/function
Computer Module
For Use With/related Products
LP3510
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
20-101-0526
Quantity:
59
Fox (LP3500)
C-Programmable Single-Board Computer
User’s Manual
019–0111 • 081121–L

Related parts for 20-101-0526

20-101-0526 Summary of contents

Page 1

... Fox (LP3500) C-Programmable Single-Board Computer User’s Manual 019–0111 • 081121–L ...

Page 2

... Digi International reserves the right to make changes and improvements to its products without providing notice. Rabbit and Dynamic C are registered trademarks of Digi International Inc. Rabbit 2000 and RabbitCore are trademarks of Digi International Inc. The latest revision of this manual is available on the Rabbit Web site, www.rabbit.com, for free, unregistered download. ...

Page 3

... Where From Here? ...............................................................................................................15 Chapter 3. Subsystems 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 ...

Page 4

... C.4.1 I/O Address Assignments .......................................................................................................... 93 C.5 Bezel-Mount Installation ................................................................................................................... 94 C.6 Connect the LCD/Keypad Module to Your LP3500 ......................................................................... 96 C.7 LCD/Keypad Module Function Calls................................................................................................ 97 C.7.1 LEDs .......................................................................................................................................... 97 C.7.2 LCD Display .............................................................................................................................. 98 C.7.3 Keypad ..................................................................................................................................... 115 C.8 Sample Programs............................................................................................................................. 118 Appendix D. Plastic Enclosure D.1 Assembly Instructions ..................................................................................................................... 120 D.2 Dimensions...................................................................................................................................... 122 119 Fox (LP3500) ...

Page 5

... E.1 External Power Supply .....................................................................................................................123 E.2 Batteries and External Battery Connections.....................................................................................125 E.2.1 Replacing the Backup Battery ..................................................................................................126 E.2.2 Power to VRAM Switch...........................................................................................................126 E.2.3 Reset Generator ........................................................................................................................127 E.3 Chip Select Circuit ...........................................................................................................................127 Appendix F. Running a Sample Program Index Schematics User’s Manual 123 129 131 135 ...

Page 6

Fox (LP3500) ...

Page 7

... The CPU runs at a nominal speed of 7.4 MHz, and operates at 2 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 ...

Page 8

... Rabbit 3000 microprocessor operating 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. • ...

Page 9

... Further details on the Prototyping Board, the plastic enclosure, and the LCD/keypad module are provided in Appendix B, Appendix C, and 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 and schematics. User’s Manual 3 ...

Page 10

... Before doing any development, you must install Dynamic C. Insert the CD from the Development Kit in your PC’s CD-ROM drive. If the installation does not auto-start, run the setup.exe program in the root directory of the Dynamic C CD. Install any Dynamic C modules after you install Dynamic C . ...

Page 11

... Software The LP3500 is programmed using version 7.26P or later of Rabbit’s Dynamic C. patible version is included on the Tool Kit CD-ROM. 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. Starting with Dynamic C version 9.60, Dynamic C includes the popular µ ...

Page 12

... 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. ...

Page 13

... Rabbit 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 peak DC). Damage to the Rabbit 3000 microprocessor may result if voltages outside the design range are applied directly to any of its digital inputs. • ...

Page 14

Fox (LP3500) ...

Page 15

... 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 standoffs to your LP3500 series board as shown in Figure 2. Figure 2. Attach Stand-Offs and Remove Battery Cap User’s Manual ETTING TARTED 9 ...

Page 16

Attach the LP3500 main board to the Prototyping Board as shown in Figure 3. Press the pins from the headers on the bottom side of the LP3500 board firmly into the corresponding header sockets located at J1, J2, and ...

Page 17

... Figure 4. Programming Cable and Power Supply Connections NOTE: Some PCs now come equipped only with a USB port. It may be possible to use an RS-232/USB converter (Part No. 20-151-0178) with the programming cable supplied with the LP3500 Tool Kit. Note that not all RS-232/USB converters work with Dynamic C. ...

Page 18

... Apply power. Plug in the AC adapter. If you are using your own power supply, it must provide 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. ...

Page 19

... Alternatively, you may set the real-time clock using the sample program from the Dynamic C sample program in the Dynamic C ples of how to read and set the real-time clock. User’s Manual Figure 6. Remove Battery Tab SAMPLES\RTCLOCK folder provides additional exam- SAMPLES\RTCLOCK SETRTCKB ...

Page 20

... LP3500 by selecting Try the different COM ports in the nected 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 ...

Page 21

... If the sample program ran fine, you are now ready explore other LP3500 fea- tures and develop your own applications. Chapter 3, “Subsystems,” provides a description of the LP3500’s features, Chapter 4, “Software,” describes the Dynamic C software libraries and introduces some sample pro- grams ...

Page 22

Fox (LP3500) ...

Page 23

... Power Modes • Digital I/O • Serial Communication • A/D Converter Inputs (LP3500 only) • PWM Outputs • Relay Output Circuit (LP3500 only) • Memory Figure 7 shows these Rabbit-based subsystems designed into the LP3500. User’s Manual 3. S Figure 7. LP3500 Subsystems ...

Page 24

LP3500 Pinouts The LP3500 pinouts are shown in Figure 8. NOTE: Although header J2 is installed on the LP3510, the associated analog I/O are not available on the LP3510. The relay screw-terminal header also not installed ...

Page 25

... Power Modes User’s Manual See note 19 ...

Page 26

... All of the Above NOTE: RxE always remains active when the above systems are turned off to allow the LP3500 to “listen” while the The LP3500 processor turns off automatically when VIN is removed, and the processor will not operate again until VIN is restored. The onboard battery provides backup for the SRAM and the real-time clock ...

Page 27

... VIN may be removed to allow the LP3500 to operate using the external battery once the LP3500 is in Mode 10. At this point, the LP3500 will draw 200 µA after the subsystems listed in Table 3 are turned off. The LP3500’s linear regulator may then be turned off using the function call, and this will lower the current draw to 100 µ ...

Page 28

... Digital I/O 3.3.1 Digital Inputs The LP3500 has 16 digital inputs, IN00–IN15. The inputs are factory-configured to be pulled banks of eight, but they can also be pulled up to Vcc or down banks of eight by changing a surface-mounted 0 Ω resistor as shown in Figure 9. Figure 9. LP3500 Digital Inputs [Pulled Up—Factory Default] ...

Page 29

... Digital Outputs The LP3500 has 10 digital outputs: OUT0–OUT7 can each sink up to 200 mA, and OUT8–OUT9 can each source up to 200 Figure 11 shows a wiring diagram for using the digital outputs in a sinking or a souring configuration. W Figure 11. LP3500 Digital Outputs TIP: Turn the outputs off (high for sourcing outputs and low for sinking outputs) to reduce current consumption ...

Page 30

When the LP3500 is connected to the Proto- typing Board Ω resistor on the Prototyp- ing Board (R1) ties +K to VIN, the raw DC input voltage. Figure 12 shows the location of this 0 Ω resistor on ...

Page 31

... B 3-wire RS-232 3-wire RS-232 or RTS/CTS flow C control for Serial Port B Serial interface port supports SPI D device, also used by A/D converter on LP3500 E RS-232 F RS-485 User’s Manual Serial Port B C RS-232, 3-wire CTS/RTS Header Use Location software function serMode E RS-232, 3-wire RS-232, 3-wire ...

Page 32

... Logic-level signals are also possible on Serial Ports B, C, and E by changing the 0 Ω surface-mounted resistor jumper settings at locations JP1–JP6. Serial Port E can be set to “listen” and “wake up” the LP3500 when the unit low- power mode. 3.4.2 RS-485 The LP3500 has one RS-485 serial channel, which is connected to Serial Port F on the Rabbit 3000 through an RS-485 transceiver. The half-duplex communication uses the Rabbit 3000’ ...

Page 33

... Figure 13. LP3500 Multidrop Network Zener diodes are used in lieu of termination and bias resistors to minimize power consumption. User’s Manual 27 ...

Page 34

... Programming Port The LP3500’s serial programming port is accessed using header J5. The programming port uses the Rabbit 3000’s Serial Port A for communication. Dynamic C uses the pro- gramming port to download and debug programs. The programming port is also used for the following operations. ...

Page 35

... All three clocked Serial Port A signals are available as • a synchronous serial port • an asynchronous serial port, with the clock line usable as a general CMOS input The programming port may also be used as a serial port once the application is running. The SMODE pins may then be used as inputs and the status pin may be used as an output. ...

Page 36

... Display Interface The LP3500 supports an interface with the parallel ports on the Rabbit 3000 via the Display Interface at header J9. The Display Interface may be used with Rabbit’s LCD/keypad module, which offers an operator interface with seven keys and a 122 × 32 graphic display. ...

Page 37

... The single 8-channel A/D converter chip used in the LP3500 (the LP3510 does not have analog capabilities) has a resolution of 12 bits for differential measurements or 11 bits for single-ended measurements. Four of the channels can be jumpered individually for 4–20 mA using jumpers across pins on header J3, and all 8 channels can be used over several software-scaled voltage ranges ...

Page 38

... Table 7 lists the jumper configurations for header J3 used to set the 4–20 mA and the volt- age measurement options. Table 7. Header J3 Configuration for Analog I/O Options ...

Page 39

... PWM Outputs The D/A conversion outputs are pulse-width modulated and scaled to provide an output from Vcc (approx. 2.8 V). Figure 17 shows the PWM outputs. W User’s Manual Figure 17. PWM Outputs 33 ...

Page 40

... NOTE: The relay does not reset automatically when power is removed from the LP3500. NOTE: Switching the relay may consume up to 120 mA during the roughly 10 ms that it takes for the relay to switch. Make sure that your power supply has sufficient capacity to handle this surge current to avoid putting the LP3500 into the power-save mode. The relay does not consume any current while the NO or the NC position and is not switching ...

Page 41

... Serial Programming Cable The programming cable is used to connect the LP3500’s serial programming port 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 connector on the programming cable is connected to the LP3500’s serial ...

Page 42

... A program “runs” in either mode, but can only be downloaded and debugged when the LP3500 is in the Program Mode. Refer to the Rabbit 3000 Microprocessor User’s Manual gramming port and the programming cable. 3.9.2 Standalone Operation of the LP3500 The LP3500 must be programmed via the Prototyping Board or via a similar arrangement on a customer-supplied board ...

Page 43

... This is useful for applications that require a resident download manager and a separate downloaded program. See Rabbit’s Technical Note 218, Implementing a Serial Download Manager for a 256K Flash, in the online documentation for details. ...

Page 44

Fox (LP3500) ...

Page 45

... 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 loading. Dynamic C runs on PCs under Windows 2000/NT and later. Rabbit’s Technical Note TN257, Running Dynamic C online documentation set provides additional information about using Windows Vista with versions of Dynamic C prior to v ...

Page 46

... C, SPI, GPS, encryption, file system. LCD display and keypad drivers. • Powerful language extensions for cooperative or preemptive multitasking • Loader utility program to load binary images into Rabbit targets in the absence of Dynamic C. • Provision for customers to create their own source code libraries and augment on-line help by creating “ ...

Page 47

... In addition to the Web-based technical support included at no extra charge, a one-year telephone-based technical support subscription is also available for purchase. Visit our Web site at www.rabbit.com User’s Manual for the latest patches, workarounds, and bug fixes. for further information and complete documentation. 41 ...

Page 48

... Program mode (see Section 3.9, “Serial Programming Cable”) and must be connected using the programming cable as described in Section 2.1, “LP3500 Connections.” Appendix F, “Running a Sample Program,” takes you through the steps of running one of the sample programs. 4.2.1 Power Modes The following sample program is found in the — ...

Page 49

... Coefficients are read from the A/D converter's simulated EEPROM in flash memory to compute the equivalent currents. Computed raw data and equivalent cur- rents are displayed in the STDIO —This program demonstrates how to use the A/D low-level driver. The • AD_SAMPLE.C program will display the average voltage that is present on an A/D converter channel. ...

Page 50

... PWM Outputs The following sample program is found in the —This program demonstrates the PWM functions. It will set the PWM chan- • PWMOUT.C nels, PWM0–PWM2, to the following duty cycles: PWM Channel 0 to 10% PWM Channel 1 to 25% PWM Channel 2 to 50% All activity will be displayed in the 4 ...

Page 51

... A/D con- • AD_CALMA_CH.C verter channel operating in the 4–20 mA current mode using two known currents to generate two coefficients, gain and offset, which are rewritten into the user block data area. The program uses the tored ...

Page 52

... LP3500 Libraries One library directory provides the function calls that are used to develop applications for the LP3500. —libraries associated with features specific to the LP3500. The functions in the • LP3500 LIB\Rabbit3000\LP35xx.LIB Calls.” The LCD/keypad module functions are described in Section C.7. Other generic functions applicable to all devices based on the Rabbit 3000 microprocessor are described in the Dynamic C Function Reference Manual ...

Page 53

... OR'ed together, that will be affected by the state parameter, e.g., RS232DEV|ADCDEV. RS232DEV—RS-232 devices RS485DEV—RS-485 devices ADCDEV—ADS7870 A/D converter devices DISPDEV—LCD/keypad module ALLDEVICES—all devices state 0 = shuts or powers down listed devices ...

Page 54

... CCLK = PCLK = 32.768 kHz/16 = 2.048 kHz NOTE: When using modes 6–10, be sure to call rupts, which incorporate a virtual watchdog, are disabled in these modes. Table 2 provides more specific information on the LP3500’s capabilities associated with these and other software-defined modes. RETURN VALUE 0 if valid parameter ...

Page 55

... Mode()) powersource 1 = battery 2 = raw DC power timeout is the timeout in seconds if an input is not received. SEE ALSO powerMode, digInAlert, serCommAlert, devPowerSet User’s Manual 49 ...

Page 56

... Use devPowerSet(ALLDEVICES, int state) before and after this function call to deactivate and activate all devices to operate at less power. PARAMETERS channel is the digital input channel (IN00– IN15) to poll value is the input value receive lowpowermode is the low-power mode setting to enter, usually 10 (see powerMode()) ...

Page 57

... Unused configurable inputs are tied and unused configurable outputs are set low • Self-timed chip select is set to 109 ns • If A/D converter chip is installed, chip is reset and SCLKD is set to 19,200 bps • If A/D converter chip is installed, calibration constants are read • If relay is installed, relay is set RESET position The ports are initialized according to Table A-3. User’ ...

Page 58

... SEE ALSO brdInit, digIn, digBankOut void digBankOut(int bank, int value); Writes the state of a block of designated digital output channels. The first bank consists of OUT0– OUT7, the second bank consists of OUT8–OUT9. A run-time error will occur for the following conditions: 1. channel or value out of range. ...

Page 59

... The logic state of the input (0 or 1). SEE ALSO brdInit, digOut, digBankIn void digBankIn(int bank); Reads the state of a block of designated digital input channels. The first bank consists of IN0–IN07, the second bank consists of IN08–IN15. A run-time error will occur for the following conditions: 1. bank out of range. ...

Page 60

... For more information, see the Dynamic C User’s Manual and Rabbit’s Technical Note TN213, Rabbit 2000 Serial Port Softwar Use the following function calls with the LP3500. ...

Page 61

... Byte mode—disable the transmitter after the same byte that is transmitted is detected in the receive data buffer. Block data mode—disable the transmitter after the same number of bytes transmitted is detected in the receive data buffer ...

Page 62

A/D Converter Inputs The functions in this section apply only to the LP3500 model. unsigned int anaInConfig(unsigned int instructionbyte, unsigned int cmd, long baud); Use this function to configure the ADS7870 A/D converter. This function will address the ADS7870 ...

Page 63

... Enter 0 in this parameter thereafter. anaInConfig(0x00, 0x00, 9600); RETURN VALUE 0 on write operations, data value on read operations. SEE ALSO anaInDriver, anaIn, brdInit User’s Manual // read ID and set baud rate // write ref/osc reg and enable // resets device and sets baud ...

Page 64

... An exception error will occur if Direct Mode bit D7 is not set. PARAMETER cmd contains a gain code and a channel code as follows. D7—1; D6–D4—Gain Code; D3–D0—Channel Code Use the following calculation and the tables below to determine cmd: cmd = 0x80 | (gain_code*16) + channel_code Gain Code ...

Page 65

... RETURN VALUE A value corresponding to the voltage on the analog input channel, which will be: 0–2047 for 11-bit A/D conversions (bit 12 for sign) -1 for overflow SEE ALSO anaInConfig, anaIn User’s Manual 59 ...

Page 66

... Reads the value of an analog input channel using the direct method of addressing the ADS7870 A/D converter. PARAMETERS channel is the analog input channel number ( corresponding to AIN0–AIN7 opmode is the mode of operation: SINGLE—single-ended input line DIFF—differential input line mAMP—milliamp input line ...

Page 67

... NOTE: Vcc monitoring is disabled when PARAMETERS channel is the analog input channel number ( corresponding to AIN0–AIN7 opmode is the mode of operation: SINGLE—single-ended input line DIFF—differential input line mAMP— ...

Page 68

... A/D converter channel value (0–2047). volts1 is the voltage or current corresponding to the first A/D converter channel value ( mA). value2 is the second A/D converter channel value (0–2047). volts2 is the voltage or current corresponding to the first A/D converter channel value ( mA) ...

Page 69

... Reads the state of a single-ended analog input channel and uses the previously set calibration constants to convert it to volts. PARAMETER channel is the channel number (0–7): gaincode is the gain code RETURN VALUE A voltage value corresponding to the voltage on the analog input channel. ADOVERFLOW (defined macro = -4096) if overflow or out of range. ...

Page 70

... Reads the state of an analog input channel and uses the previously set calibration constants to convert it to current. PARAMETER channel is 0–3: RETURN VALUE A current value between 4.00 and 20.00 mA corresponding to the current on the analog input channel. ADOVERFLOW (defined macro = -4096) if overflow or out of range. SEE ALSO anaInCalib, anaIn, anaInVolts 64 4– ...

Page 71

... ADOVERFLOW (defined macro = -4096) if overflow or out of range. SEE ALSO anaInCalib, anaIn, anaInmAmps, brdInit User’s Manual Differential Channel Input Lines 0 +AIN0 -AIN1 2 +AIN2 -AIN3 4 +AIN4 -AIN5 6 +AIN6 -AIN7 Voltage Gain Code Range 0 0– 0– 0– 0– 0–2 0– 0–1. 0– ...

Page 72

... The constants are stored in the top 1K of the reserved user block memory area 0x1C00–0x1FFF. NOTE: This function cannot be run in RAM. PARAMETER channel is the analog input channel number ( corresponding to AIN0–AIN7. opmode is the mode of operation: SINGLE—single-ended input line DIFF—differential input line mAMP— ...

Page 73

... The constants are stored in the top 1K of the reserved user block memory area 0x1C00–0x1FFF. NOTE: This function cannot be run in RAM. PARAMETER channel is the analog input channel number ( corresponding to AIN0–AIN7. opmode is the mode of operation: SINGLE—single-ended input line DIFF—differential input line mAMP— ...

Page 74

Vcc Monitoring (LP3500 only) void VccMonitorInit(int state); PIO3 on the ADS7870 A/D converter enables or disables Vcc monitoring. If monitoring is enabled, ana- log input channel AIN7 is not available. PARAMETER state 1 = enable Vcc monitor 0 = ...

Page 75

... Sets a voltage (0 to VDD on an analog output channel according to the percent duty cycle of the 1024- clock-count cycle.) PARAMETERS channel is the output channel to write to (0–3). dutycycle is the percent duty (or on) cycle value of the 1024-clock-count cycle (i.e., 0.25). RETURN VALUE 0 if successful ...

Page 76

Relay Output (LP3500 only) int relayOut(int relay, int value low-to-high pulse sets the state of a relay. On power-up or brdInit() the relay contact will go to the normally closed (NC) RESET contact. PARAMETERS relay 0 ...

Page 77

... A PPENDIX Appendix A provides the specifications for the LP3500, and describes the conformal coating. User’s Manual A. LP3500 S PECIFICATIONS 71 ...

Page 78

A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the LP3500. 72 Figure A-1. LP3500 Dimensions Fox (LP3500) ...

Page 79

... Microprocessor EMI Reduction Flash Memory SRAM Backup Battery Keypad/Display Digital Inputs 16: fully protected 0–36 V DC, can handle short spikes ±40 V 10: 8 sink up to 200 mA each max.; Digital Outputs 2 source up to 200 mA each max. Relay Output • Eight single-ended or four differential inputs • ...

Page 80

... Ten 8-bit timers (6 cascadable from the first), one 10-bit timer with 2 match registers Yes 10-bit free-running counter and four pulse-width registers (max.) @ 7.4 MHz, 100 µA max kHz (with linear regulator turned off) –40°C to +70° 95%, noncondensing I/O and misc. signals: one 1 × 25, two 1 × 17 headers Display: one 2 × ...

Page 81

... A.1.1 Exclusion Zone It is recommended that you allow for an “exclusion zone” of 0.25" (6 mm) around the LP3500 in all directions when the LP3500 is incorporated into an assembly that includes other printed circuit boards. This “exclusion zone” that you keep free of other components and boards will allow for sufficient air flow, and will help to minimize any electrical or electromagnetic interference between adjacent boards. An “ ...

Page 82

... A.1.2 Headers The LP3500 uses 0.1" IDC headers at J1–J4 for physical connection to other boards. J5, the programming port × 5 header with pin spacing. Figure A-3 shows the LP3500 footprint. These values are relative to the mounting hole. Figure A-3. User Board Footprint for LP3500 ...

Page 83

... A.2 Conformal Coating The areas around the 32 kHz real-time clock crystal oscillator has had the Dow Corning silicone-based 1-2620 conformal coating applied. The conformally coated area is shown in Figure A-4. The conformal coating protects these high-impedance circuits from the effects of moisture and contaminants over time. ...

Page 84

A.3 Jumper Configurations Figure A-5 shows the header locations used to configure the various LP3500 options via jumpers. Figure A-5. Location of LP3500 Configurable Positions 78 Fox (LP3500) ...

Page 85

... User’s Manual Pins Connected None Voltage Option 1–2 AIN0 4–20 mA Option 3–4 AIN1 4–20 mA Option 5–6 AIN2 4–20 mA Option 7–8 AIN3 4–20 mA Option 1–2 RS-232 Level 2–3 Logic Level 1–2 RS-232 Level 2–3 Logic Level 1–2 RS-232 Level 2–3 Logic Level 1– ...

Page 86

... NOTE: The jumper connections on header J3 are made using standard slip-on jumpers. All other jumper connections except those across JP11 and JP12 are made using 0 Ω surface-mounted resistors. 390 Ω current-limiting resistors are used on JP11 and JP12. 80 Pins Connected 1–2 1–2 1–2 Factory Default × × × Fox (LP3500) ...

Page 87

... Input PA3 Input PA4 Input PA5 Input PA6 Input PA7 Input PB0 Input PB1 Input PB2 Input User’s Manual Signal IN08 IN09 IN10 IN11 IN12 IN12 IN14 IN15 Power Input Detect CLKA IN04 Output Function State Pulled up Pulled up Pulled up Pulled up ...

Page 88

Table A-3. Use of Rabbit 3000 Parallel Ports (continued) Port I/O PB3 Input PB4 Input PB5 Input PB6 Output PB7 Output PC0 Output PC1 Input PC2 Output PC3 Input PC4 Output PC5 Input PC6 Output PC7 Input PD0 Output PD1 ...

Page 89

... Output PG2 Output PG3 Input PG4 Output PG5 Output PG6 Output PG7 Input User’s Manual Signal ADC Serial Clock ADC Busy Not used ADC Device Select PWM0 PWM1 PWM2 Power Enable Control RS-485 Transmit Enable RS-232 Shutdown Control TxF RS-485 ...

Page 90

Fox (LP3500) ...

Page 91

... Board included with the LP3500 Tool Kit, and explains the use of the Prototyping Board to demonstrate the LP3500 and to build prototypes of your own circuits. The screw-terminal headers on the Prototyping Board facilitate access to the LP3500 connector pins, and the Prototyping Board is available for purchase separately. User’s Manual B. P ROTOTYPING B OARD 85 ...

Page 92

... Table B-1. LP3500 Prototyping Board Specifications Parameter Board Size Operating Temperature Humidity Prototyping Area 86 Specification 3.41" × 4.14" × 0.45" (87 mm × 105 mm × 11 mm) –40°C to +70° 95%, noncondensing 2.2" × 3.4" (56 mm × 86 mm) throughhole, 0.1" spacing Fox (LP3500) ...

Page 93

... Tool Kit and to a user-supplied external battery. Figure B-2 shows the pinouts for the Prototyping Board. Figure B-2. LP3500 Prototyping Board Pinout NOTE: The LP3500 must be plugged in to the Prototyping Board as described in Chapter 2, “Getting Started,” for these signals to be available. User’s Manual 87 ...

Page 94

... NOTE: Before running sample programs based on the LP3500, you will have to plug in the LP3500 to the Prototyping Board as described in Chapter 2, “Getting Started.” B.2.3 Prototyping Area Small to medium circuits can be prototyped using point-to-point wiring with AWG wire on the prototyping area. Raw DC input, VIN, and GND lines surround the prototyp- ing area. ...

Page 95

... C.1 Specifications Two optional LCD/keypad modules—with or without a panel-mounted NEMA 4 water- resistant bezel—are available for use with the LP3500. They are shown in Figure C-1. Figure C-1. LCD/Keypad Module Models LCD/keypad modules sold prior to the launch of the LP3500 might not be voltage- compatible with the LP3500 ...

Page 96

... Operating Range: 0°C to +50°C Storage Range: –40°C to +85° 95%, noncondensing 1.5 W maximum with backlight on Connects to header J9 (Display Interface) on LP3500 122 × 32 graphic display ...

Page 97

... You can set the contrast on the LCD display of pre-2005 LCD/keypad modules by adjust- ing the potentiometer setting the voltage for 2 connecting the jumper across pins 1–2 on header J5 as shown in Figure C-3. Only one of these two options is available on these older LCD/keypad modules. NOTE: Older LCD/keypad modules that do not have a header contrast adjust- ment potentiometer at R2 are limited to operate only and will not work with the LP3500 ...

Page 98

C.3 Keypad Labeling The keypad may be labeled according to your needs. A template is provided in Figure C-4 to allow you to design your own keypad label insert. To replace the keypad legend, remove the old legend and insert ...

Page 99

... The LCD and keypad on the LCD/keypad module are addressed by the /CS strobe as explained in Table C-2. Table C-2. LCD/Keypad Module Address Assignment Address 0xE000 0xExx0–0xExx7 0xExx8 0xExx9 0xExxA 0xExxB (bits 0–6) 0xExxB (bit 7) 0xExxC–ExxF User’s Manual Function Device select base address (/CS) LCD control LED enable Not used ...

Page 100

... Cut mounting holes in the mounting panel in accordance with the recommended dimen- sions in Figure C-7, then use the bezel faceplate to mount the LCD/keypad module onto the panel. Figure C-7. Recommended Cutout Dimensions 2. Carefully “drop in” the LCD/keypad module with the bezel and gasket attached. 94 Fox (LP3500) ...

Page 101

... Do not tighten each screw fully before moving on to the next screw. Apply only one or two turns to each screw in sequence until all are tightened manually as far as they can be so that the gasket is compressed and the plastic bezel faceplate is touching the panel. User’s Manual 95 ...

Page 102

... Figure C-9. Connecting LCD/Keypad Module to LP3500 Note the locations and connections relative to pin 1 on both the LP3500 and the LCD/key- pad module. Rabbit offers two different lengths of ribbon cable–5" (127 mm) and 2 ft. (60 cm). Contact your authorized distributor or a Rabbit sales representative for more information. 96 ...

Page 103

... LED DS4 4 = LED DS5 5 = LED DS6 6 = LED DS7 value is the value used to control whether the LED off ( off RETURN VALUE None. SEE ALSO brdInit User’s Manual devPowerSet // Initialize the LP3500 // Enable LCD/keypad buffer function executes. library. function call after LIB\Rabbit3000\ 97 ...

Page 104

... Sets the LCD screen on or off. Data will not be cleared from the screen. PARAMETER onOff turns the LCD screen on or off 1—turn the LCD screen on 0—turn the LCD screen off RETURN VALUE None. SEE ALSO glInit, glSetContrast, glBackLight 98 library ...

Page 105

... LCD display area will be clipped. PARAMETERS x is the x coordinate of the top left corner of the block the y coordinate of the top left corner of the block. bmWidth is the width of the block. bmWidth is the height of the block. RETURN VALUE None. SEE ALSO glFillScreen, glBlankScreen, glPlotPolygon, glPlotCircle User’s Manual 99 ...

Page 106

Plots the outline of a polygon in the LCD page buffer, and on the LCD if the buffer is unlocked. Any portion of the polygon that is outside the LCD display area will be clipped. ...

Page 107

... LCD display area will be clipped. PARAMETERS xc is the x coordinate of the center of the circle the y coordinate of the center of the circle. rad is the radius of the center of the circle (in pixels). RETURN VALUE None. SEE ALSO User’s Manual 101 ...

Page 108

Fox (LP3500) ...

Page 109

... RETURN VALUE None. SEE ALSO glPrinf User’s Manual 103 ...

Page 110

Returns the xmem address of the character from the specified font set. PARAMETERS *pInfo is the xmem address of the bitmap font set. letter is an ASCII character. RETURN VALUE xmem address of bitmap ...

Page 111

... RETURN VALUE None. SEE ALSO glPrintf, glPutFont, doprnt User’s Manual STDIO string-handling functions and the graphic library. The STDIO string functions. STDIO string functions. ...

Page 112

Prints a formatted string (much like printf) on the LCD screen. Only the character codes that exist in the font set are printed, all others are skipped. For example, '\b', ...

Page 113

... Draws a single pixel in the LCD buffer, and on the LCD if the buffer is unlocked. If the coordinates are outside the LCD display area, the dot will not be plotted. PARAMETERS x is the x coordinate of the dot the y coordinate of the dot. RETURN VALUE None. SEE ALSO glPlotline, glPlotPolygon, glPlotCircle User’s Manual (located in the library specifically for the LCD 107 ...

Page 114

Draws a line in the LCD buffer, and on the LCD if the buffer is unlocked. Any portion of the line that is beyond the LCD display area will be clipped. ...

Page 115

... RETURN VALUE None. SEE ALSO glVScroll, glUp1 User’s Manual 109 ...

Page 116

Scrolls right or left, within the defined window by x number of pixels. The opposite edge of the scrolled window will be filled in with white pixels. The window ...

Page 117

... RETURN VALUE None. SEE ALSO glXPutFastmap, glPrintf User’s Manual 111 ...

Page 118

... RETURN VALUE 0—window frame was successfully created. -1—x coordinate + width has exceeded the display boundary. -2—y coordinate + height has exceeded the display boundary. 112 function before other Text... functions. ...

Page 119

... RETURN VALUE Lower word = Cursor Row location Upper word = Cursor Column location SEE ALSO TextGotoXY, TextPrintf, TextWindowFrame, TextCursorLocation User’s Manual function before using this function. function before using this function. 113 ...

Page 120

TextPutChar(struct windowFrame *window, char ch); Displays a character on the display where the cursor is currently pointing. If any portion of a bitmap character is outside the LCD display area, the character will not be displayed. The cursor increments ...

Page 121

... How many times to repeat None. cCntLo is a low-speed hold tick, which is approximately one debounce period or 5 µs. How long to hold before going to high-speed repeat Slow Only. User’s Manual library. [2] [3] [5] [6] ...

Page 122

How many times to repeat after low speed repeat None. RETURN VALUE None. SEE ALSO keyProcess, keyGet, keypadDef void keyProcess(void); Scans and processes ...

Page 123

... Down Scroll 'U' represents Up Scroll 'R' represents Right Scroll 'L' represents Left Scroll '–' represents Page Down '+' represents Page Up 'E' represents the ENTER key Example: Do the followingfor the above physical vs. ASCII return key codes. keyConfig ( 3,'R', keyConfig ( 6,'E', keyConfig ( 2,'D', ...

Page 124

... To run a sample program, open it with the using the menu, and then run it by selecting Compile must be connected using the programming cable as described in Section 2.1, “LP3500 Connections.” Each sample program contains detailed instructions for running it. 118 directory. menu ( not still open), compile it File in the menu ...

Page 125

... Appendix D describes how to mount the LP3500 inside the plas- tic enclosure, and provides details on mounting the assembly. The plastic enclosure is able to accommodate the following LP3500 combinations. • LP3500 board only • LP3500 Prototyping Board only • LP3500 mounted on LP3500 Prototyping Board User’s Manual LASTIC NCLOSURE ...

Page 126

... NOTE: You will need longer 4-40 screws if you are mounting the combination with the LP3500 installed on the Prototyping Board. Figure D-2. Attach Board(s) to Plastic Enclosure Base 120 Fox (LP3500) ...

Page 127

... Position the cover over the plastic enclosure base as shown below in Figure D-3. Attach the cover to the base using the two 4-40 × 7/8 screws supplied. NOTE: You will need longer 4-40 screws if you are mounting the combination with the LP3500 installed on the Prototyping Board. Figure D-3. Attach Enclosure Top User’s Manual 121 ...

Page 128

D.2 Dimensions Figure D-4 shows the dimensions for the plastic enclosure. Figure D-4. Plastic Enclosure Dimensions 122 Fox (LP3500) ...

Page 129

... The power necessarily dissipated by the regulator can be calculated if both the external input voltage and the current drawn by the LP3500 are known. The current provided by the high-power output drivers does not have to be included if a separate power supply is connected that power does not come from Vcc. User’s Manual OWER ...

Page 130

... W. Thermal shutdown turns the regulator off when it over- heats. Figure E-1 shows the power operating curves for the specified VIN range of 3–30 V DC. Note that while a VIN range of 3– possible, 3– recommended to allow reasonable current. ...

Page 131

... Parallel Port PB0 senses whether there is an output from the linear regulator, and shuts off the RS-232 (except RxE, which is used to “listen”), RS-485, A/D converter, and relay sec- tions via Parallel Ports PB6, PG0, PG1, PG4, and PG5 to conserve power. ...

Page 132

... Replace the battery only with the same type or an equivalent type recommended by the battery manufacturer. Dispose of used batteries according to the battery manufacturer’s instructions. E.2.2 Power to VRAM Switch The VRAM switch on the LP3500 module, shown in Figure E-3, allows the battery backup to provide power when the external power goes off ...

Page 133

... SRAM’s CS signal /CSRAM. So, with power applied, /CSRAM must be the same signal as /CS1, and with power removed, /CSRAM must be held high (but only needs to be battery voltage high).The isolated /CSRAM line has a 220 kΩ pullup resistor to VRAM (R46). This pullup resistor keeps /CSRAM at the VRAM voltage level (which under no power condition is the backup battery’ ...

Page 134

Fox (LP3500) ...

Page 135

... Let’s look at the sample program 1. Connect the LP3500 using the programming cable as described in Section 2.1, “LP3500 Connections,” and connect the AC adapter to header J5 on the Prototyping Board. Figure F-1. Programming Cable and Power Supply Connections User’ ...

Page 136

... When pressing pushbutton switches S1–S4 on the Prototyping Board you can change the inputs for IN0–IN3 from a “1” “0.” 6. Similarly you can view a change to the inputs for IN0–IN15 from a “1” “0” when you touch a wire connected to ground to IN0–IN15. ...

Page 137

... E exclusion zone ...................... 75 F features .................................... 2 flash memory lifetime write cycles .......... 39 I I/O address assignments LCD/keypad module ......... 93 installation plastic enclosure LP3500 ........................ 120 J jumper configurations ..... 78 (A/D converter voltage/ current measurement options) ......................... 79 I NDEX JP1 (RxE RS-232/logic level select) ............................ 79 JP10 (flash memory bank select) ...................... 37, 79 JP2 (TxE RS-232/logic level select) ...

Page 138

... LP3500 subsystems that can be turned off ..................20 normal mode ......................19 power-save mode ..19, 20, 21 processor halted .................19 resuming normal-power or low-power operation .....21 power supply ...................4, 123 battery backup .................125 chip select circuit .............127 connections ........................12 linear voltage regulator ...123 VRAM switch .................126 programming flash vs ...

Page 139

... Prototyping Board ............. 86 subsystems ............................ 17 T Tool Kit ................................... 4 AC adapter .......................... 4 DC power supply ................ 4 Dynamic C software ........... 4 plastic enclosure .................. 4 programming cable ............. 4 Prototyping Board ............... 4 software ............................... 4 stand-offs ................ 4, 9, 120 User’s Manual ..................... 4 U USB/serial port converter ..... 11 Dynamic C settings ........... 14 133 ...

Page 140

Fox (LP3500) ...

Page 141

... LP3500 Schematic www.rabbit.com/documentation/schemat/090-0150.pdf 090-0151 LP3500 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0151.pdf 090-0156 LCD/Keypad Module Schematic www.rabbit.com/documentation/schemat/090-0156.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 137 ...

Page 142

...

Related keywords