background image

User’s Manual

35

3.9  Serial Programming Cable

The programming cable is used to connect the LP3500’s serial programming port to a PC 
serial COM port. The programming cable converts the RS-232 voltage levels used by the 
PC serial port to the CMOS voltage levels used by the Rabbit 3000.

When the 

PROG

 connector on the programming cable is connected to the LP3500’s serial 

programming port at header J5, programs can be downloaded and debugged over the serial 
interface.

The 

DIAG

 connector of the programming cable may be used on header J5 of the LP3500 

with the LP3500 operating in the Run Mode. This allows the programming port to be used 
as a regular serial port.

3.9.1  Changing Between Program Mode and Run Mode

The LP3500 is automatically in Program Mode when the 

PROG

 connector on the pro-

gramming cable is attached, and is automatically in Run Mode when no programming 
cable is attached. When the Rabbit 3000 is reset, the operating mode is determined by the 
state of the SMODE pins. When the programming cable’s 

PROG

 connector is attached, 

the SMODE pins are pulled high, placing the Rabbit 3000 in the Program Mode. When the 
programming cable’s 

PROG

 connector is not attached, the SMODE pins are pulled low, 

causing the Rabbit 3000 to operate in the Run Mode. See Figure 19.

Figure 19.  LP3500 Program Mode and Run Mode Set-Up

C44

C43

C59

C60

U9

R16

R13

C10

C13

R17

R18

C16

C19

C36

U1

C70

R51

R58

C65

C26 C33
R20 R25
R22 R26

R29
C37

R32

C40

Y1

D22

C50 R36 R40 C54

R37

C24

R30

D19

D20

D21

D18

D25

Q5

R42

Q6

R43
R33

Q8

Q10

D26

D28

Q16

D30

Q17

D34

K1

Q13

D32

D33

Q14

J6

C67

C55 R44

R47

U11

S1

RESET

J5

J2

PROGRAM

PORT

AIN0 AIN1 

A

I

N2

 AIN3 AIN4 AIN5 AIN6 AIN7 GND

GNDVBAT

EXT GND VIN GND

PWM0

PWM

1

PWM2

GND

DISPLA

Y

R55

R56

J9

J8 RELAY

NO

COM

NC

C48

U3

R57

R31

C29

R23

C22

C20

C12

C15

D15

D17

RP17

D13

BT1

D1

1

D5

D7

D2

D4

C8

C6

D8

D1

AIN0 AIN1 AIN2 AIN3

J3

R1

C3

C2

R6

R7

R9

Q22

RN1

RN2

Battery

R54

RP14

RP13

Q20

U13

C64

R50
R49

Y2

C61

Q12

R45

R34

U8

C51

R39

R41

C53

R38

R48

C66

U12

U10

GND

+K   GND  – 485 +   GND  TxB  RxB GND 

TxC  RxC GND  TxE  RxE GND

J4

J1

OUT9

OUT8

OUT7

OUT6

OUT5

OUT4

OUT3

OUT2

OUT0

OUT

1

IN00 IN01 IN02 IN03 IN04 IN05 IN06 IN07

  GND  

IN08 IN09 IN10 IN1

1 IN12 IN13 IN14 IN15

C44

C43

C59

C60

U9

R16

R13

C10

C13

R17

R18

C16

C19

C36

U1

C70

R51

R58

C65

C26 C33
R20 R25
R22 R26

R29
C37

R32

C40

Y1

D22

C50 R36 R40 C54

R37

C24

R30

D19

D20

D21

D18

D25

Q5

R42

Q6

R43
R33

Q8

Q10

D26

D28

Q16

D30

Q17

D34

K1

Q13

D32

D33

Q14

J6

C67

C55 R44

R47

U11

S1

RESET

J5

J2

PROGRAM

PORT

AIN0 AIN1 

A

I

N2

 AIN3 AIN4 AIN5 AIN6 AIN7 GND

GNDVBAT

EXT GND VIN GND

PWM0

PWM

1

PWM2

GND

DISPLA

Y

R55

R56

J9

J8 RELAY

NO

COM

NC

C48

U3

R57

R31

C29

R23

C22

C20

C12

C15

D15

D17

RP17

D13

BT1

D1

1

D5

D7

D2

D4

C8

C6

D8

D1

AIN0 AIN1 AIN2 AIN3

J3

R1

C3

C2

R6

R7

R9

Q22

RN1

RN2

Battery

R54

RP14

RP13

Q20

U13

C64

R50
R49

Y2

C61

Q12

R45

R34

U8

C51

R39

R41

C53

R38

R48

C66

U12

U10

GND

+K   GND  – 485 +   GND  TxB  RxB GND 

TxC  RxC GND  TxE  RxE GND

J4

J1

OUT9

OUT8

OUT7

OUT6

OUT5

OUT4

OUT3

OUT2

OUT0

OUT

1

IN00 IN01 IN02 IN03 IN04 IN05 IN06 IN07

  GND  

IN08 IN09 IN10 IN1

1 IN12 IN13 IN14 IN15

Power

RESET LP3500 when changing mode:

 

Press 

RESET

 switch, 

OR

 Cycle power off/on

after removing or attaching programming cable.

Power

Run Mode

Program Mode

Colored edge

Programming

Cable

To

PC 

COM

 port

RESET

switch

DIAG

PROG

Содержание Fox LP3500

Страница 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...

Страница 2: ...2000 and RabbitCore are trademarks of Digi International Inc No part of the contents of this manual may be reproduced or transmitted in any form or by any means without the express written permission...

Страница 3: ...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 2...

Страница 4: ...ppendix A LP3500 Specifications 71 A 1 Electrical and Mechanical Characteristics 72 A 1 1 Exclusion Zone 75 A 1 2 Headers 76 A 2 Conformal Coating 77 A 3 Jumper Configurations 78 A 4 Use of Rabbit 300...

Страница 5: ...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 Appendi...

Страница 6: ...Fox LP3500...

Страница 7: ...MI 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...

Страница 8: ...tchdog 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...

Страница 9: ...the LP3500 via the screw terminal headers on the Prototyping Board The Prototyp ing Board is also available for separate purchase 4M and 8M SF1000 serial flash expansion cards LCD keypad module with...

Страница 10: ...rograms to explore its capabilities and develop your own applications Tool Kit Contents The LP3500 Tool Kit contains the following items Dynamic C CD ROM with complete product documentation on disk Pr...

Страница 11: ...rting with Dynamic C version 9 60 Dynamic C includes the popular C OS II real time operating system point to point protocol PPP FAT file system RabbitWeb and other select libraries Rabbit also offers...

Страница 12: ...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 ma...

Страница 13: ...abbit 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...

Страница 14: ...8 Fox LP3500...

Страница 15: ...8 Q10 D2 6 D2 8 Q16 D3 0 Q17 D3 4 K1 Q13 D32 D33 Q14 J6 C67 C55 R44 R47 U11 S1 RESET J5 J2 PROGRAM PORT AIN0 AIN1 AIN2 AIN3 AIN4 AIN5 AIN6 AIN7 GND GND VBAT EXT GND VIN GND PW M0 PW M1 PW M2 GND DI SP...

Страница 16: ...xB TxB GND 485 GND K OUT9 OUT8 OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 GND VIN GND VBAT EXT GND PWM2 PWM1 PWM0 GND AIN7 AIN6 AIN5 AIN4 AIN3 AIN2 AIN1 AIN0 GND IN1 5 IN1 4 IN1 3 IN1 2 IN1 1 IN1 0 IN0 9...

Страница 17: ...151 0178 with the programming cable supplied with the LP3500 Tool Kit Note that not all RS 232 USB converters work with Dynamic C GND RxE TxE GND RxC TxC GND RxB TxB GND 485 GND K OUT9 OUT8 OUT7 OUT6...

Страница 18: ...ated on both sides of the LP3500 board C44 C43 C59 C60 U9 R16 R13 C10 C13 R17 R18 C16 C19 C36 U1 C70 R51 R58 C65 C26 C33 R20 R25 R22 R26 R29 C37 R32 C40 Y1 D22 C50 R36 R40 C54 R37 C24 R30 D19 D20 D21...

Страница 19: ...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 rea...

Страница 20: ...our desktop or in your Start menu If you are using a USB port to connect your computer to the LP3500 choose Options Project Options and select Use USB to Serial Converter on the Communications tab Cli...

Страница 21: ...contact the distributor or partner first for technical support If there are any problems at this point Use the Dynamic C Help menu to get further assistance with Dynamic C Check the Rabbit Technical...

Страница 22: ...16 Fox LP3500...

Страница 23: ...PWM Outputs Relay Output Circuit LP3500 only Memory Figure 7 shows these Rabbit based subsystems designed into the LP3500 Figure 7 LP3500 Subsystems SRAM Flash 3 7 MHz osc 32 kHz osc LP3500 Decoder C...

Страница 24: ...1 pitch can be used to interface to the signals on headers J1 J2 and J4 or the Prototyping Board may be used to access these signals via screw terminal headers S1 RESET PROGRAM PORT GND DISPLAY J8 RE...

Страница 25: ...ystems from Table 3 Typical Current Consumption 1 Normal Modes 7 3728 MHz Normal None VIN Yes Yes 16 mA 5 mA 2 3 6864 MHz 3 1 8423 MHz 4 1 2288 MHz None 5 0 9216 MHz 6 Low Power Modes 32 768 kHz 1 0 m...

Страница 26: ...f three different software calls serCommAlert timedAlert or digInAlert depending on whether you wish to use Serial Port E a simple timeout or a digital input to trigger the LP3500 to resume operation...

Страница 27: ...trigger a system reset and turn off the processor 3 2 3 Resuming Normal Power or Low Power Operation As long as VIN is still connected and the linear regulator has not been turned off the LP3500 will...

Страница 28: ...The digital inputs are each fully protected over a range of 0 V to 36 V and can handle short spikes of 40 V The actual switching threshold is approximately 1 40 V Any thing below this value is a logic...

Страница 29: ...mA at 36 V Figure 11 shows a wiring diagram for using the digital outputs in a sinking or a souring configuration Figure 11 LP3500 Digital Outputs TIP Turn the outputs off high for sourcing outputs a...

Страница 30: ...d to the Proto typing Board a 0 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 the Prototyping Board NOTE R1 on the Pro...

Страница 31: ...rt can be operated alternately in the clocked serial mode In this mode a clock line syn chronously clocks the data in or out Either of the two communicating devices can supply the clock The LP3500 use...

Страница 32: ...nces of up to 15 m 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 an...

Страница 33: ...J4 J1 OUT9 OUT8 OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT0 OUT1 IN00 IN01 IN02 IN03 IN04 IN05 IN06 IN07 GND IN08 IN09 IN10 IN11 IN12 IN13 IN14 IN15 S1 RESET J5 J2 PROGRAM PORT AIN0 AIN1 AIN2 AIN3 AIN4 AIN5 A...

Страница 34: ...xecuting at address 0x0000 The status pin is used by Dynamic C to determine whether a Rabbit microprocessor is present The status output has three different programmable functions 1 It can be driven l...

Страница 35: ...rial 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...

Страница 36: ...ad module which offers an operator interface with seven keys and a 122 32 graphic display Figure 15 provides the pinout for the Display Interface Appendix C LCD Keypad Module provides further informat...

Страница 37: ...used over several software scaled voltage ranges The A D converter chip has an internal amplifier that works with the resistor divider net work on the analog inputs as shown in Figure 16 Figure 16 Buf...

Страница 38: ...calibration constants are stored in flash memory You may calibrate the A D converter inputs at a later time using the software functions described in Section 4 4 5 A D Converter Inputs NOTE If you ar...

Страница 39: ...utputs The D A conversion outputs are pulse width modulated and scaled to provide an output from 0 V to Vcc approx 2 8 V Figure 17 shows the PWM outputs Figure 17 PWM Outputs PWM0 GND 1 kW PWM1 1 nF R...

Страница 40: ...e nor mal power modes NOTE The relay does not reset automatically when power is removed from the LP3500 Figure 18 Relay Output Circuit NOTE Switching the relay may consume up to 120 mA during the roug...

Страница 41: ...Q16 D30 Q17 D34 K1 Q13 D32 D33 Q14 J6 C67 C55 R44 R47 U11 S1 RESET J5 J2 PROGRAM PORT AIN0 AIN1 AIN2 AIN3 AIN4 AIN5 AIN6 AIN7 GND GNDVBAT EXT GND VIN GND PWM0 PWM1 PWM2 GND DISPLAY R55 R56 J9 J8 RELAY...

Страница 42: ...erified that the LP3500 is plugged in correctly 3 10 Other Hardware 3 10 1 Spectrum Spreader The Rabbit 3000 features a spectrum spreader which helps to mitigate EMI problems By default the spectrum s...

Страница 43: ...e it may be necessary to change the sector size in the future A Flash Memory Bank Select jumper configuration option based on 0 surface mounted resistors exists at header JP10 This option used in conj...

Страница 44: ...38 Fox LP3500...

Страница 45: ...but cannot run standalone from RAM after the programming cable is disconnected All standalone applications can only run from flash memory NOTE Do not depend on the flash memory sector size or type Du...

Страница 46: ...dard debugging features X Breakpoints Set breakpoints that can disable interrupts X Single stepping Step into or over functions at a source or machine code level C OS II aware X Code disassembly The d...

Страница 47: ...overwrite a bug fix of course you may copy over any programs you have written Once you are sure the new patch works entirely to your satisfaction you may retire the existing installation but keep it...

Страница 48: ...n SAMPLES LP3500 POWER C This program demonstrates switching from the normal raw DC power source to an external battery using the Prototyping Board Pressing a switch will change from the power source...

Страница 49: ...verter channel Coefficients are read from the A D con verter s simulated EEPROM in flash memory to compute the equivalent voltages Com puted raw data and equivalent voltages are displayed in the STDIO...

Страница 50: ...found in the ADC subdirectory in SAMPLES LP3500 AD_CAL_ALL C This program demonstrates how to recalibrate all single ended A D converter channels using two known voltages to generate constants for eac...

Страница 51: ...to generate two coefficients gain and offset which are rewritten into the user block data area The program uses the STDIO window to display the current that is being moni tored NOTE This sample progra...

Страница 52: ...ociated with features specific to the LP3500 The functions in the LIB Rabbit3000 LP35xx LIB library are described in Section 4 4 LP3500 Function Calls The LCD keypad module functions are described in...

Страница 53: ...ES all devices state 0 shuts or powers down listed devices 1 activates listed devices Table E 1 provides further information about the power consumption associated with each section RETURN VALUE 0 if...

Страница 54: ...software defined modes RETURN VALUE 0 if valid parameter 1 if invalid parameter SEE ALSO devPowerSet rdPowerState setPowerState VccMonitor int powerMode int mode Mode Description Typical Current Consu...

Страница 55: ...the real time clock until a timeout occurs The function call forces the LP3500 to enter the low power mode disables the normal power source and may enable the external battery for polling Upon expirat...

Страница 56: ...maxpowermode is the maximum operating power mode setting to enter usually 1 see power Mode powersource 1 battery 2 raw DC power timeout is the timeout in seconds if an input is not received Enter 0 fo...

Страница 57: ...as successful Summary of Initialization LP3500 uses main oscillator LCD keypad module buffer is disabled RS 485 serial communication is not enabled RS 232 serial communication is enabled Unused config...

Страница 58: ...igBankOut 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 con...

Страница 59: ...In 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...

Страница 60: ...C User s Manual and Rabbit s Technical Note TN213 Rabbit 2000 Serial Port Software Use the following function calls with the LP3500 User interface to set up LP3500 serial communication lines Call thi...

Страница 61: ...er serMode must be executed before running this function SEE ALSO serMode ser485Rx Disables the RS 485 transmitter This puts the LP3500 in listen mode which allows it to receive data from the RS 485 i...

Страница 62: ...7 Input AIN7 RESET Input Board reset device RISE FALL Input Tied up for SCLK active on rising edge PIO_0 Input Pulled down unless driven by serial interface connection PIO_1 Input Pulled down unless d...

Страница 63: ...e registers addressed by the instruction byte Enter 0 if per forming a read operation i anaInConfig 0x07 0x3a 0 write ref osc reg and enable baud is the serial clock transfer rate of 9600 to 57 600 bp...

Страница 64: ...ables below to determine cmd cmd 0x80 gain_code 16 channel_code len the output bit length is always 12 bits unsigned int anaInDriver unsigned int cmd unsigned int len Gain Code Multiplier Voltage Rang...

Страница 65: ...User s Manual 59 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...

Страница 66: ...code of 0 to 7 RETURN VALUE A value corresponding to the voltage on the analog input channel which will be 0 2047 for 11 bit A D conversions signed 12th bit ADOVERFLOW defined macro 4096 if overflow...

Страница 67: ...e calibrations and a user gain code to set voltage range defaults to the calculation gain code NOTE Vcc monitoring is disabled when anaInCalib is running PARAMETERS channel is the analog input channel...

Страница 68: ...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 0 to 10 V or 4 to 20 mA RETURN VALUE 0 if successful 1 if not a...

Страница 69: ...age value corresponding to the voltage on the analog input channel ADOVERFLOW defined macro 4096 if overflow or out of range SEE ALSO anaInCalib anaIn anaInmAmps brdInit float anaInVolts unsigned int...

Страница 70: ...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 anaIn...

Страница 71: ...7 RETURN VALUE A voltage value corresponding to the voltage on the analog input channel ADOVERFLOW defined macro 4096 if overflow or out of range SEE ALSO anaInCalib anaIn anaInmAmps brdInit float an...

Страница 72: ...ended input line DIFF differential input line mAMP milliamp input line gaincode is the gain code of 0 to 7 The gaincode parameter is ignored when channel is ALLCHAN RETURN VALUE 0 if successful 1 if...

Страница 73: ...le ended input line DIFF differential input line mAMP milliamp input line gaincode is the gain code of 0 to 7 The gaincode parameter is ignored when channel is ALLCHAN RETURN VALUE 0 if successful 1 i...

Страница 74: ...ETER state 1 enable Vcc monitor 0 disable Vcc monitor SEE ALSO VccMonitor anaInConfig brdInit If Vcc monitoring is enabled the Vcc level is read by the ADS7870 A D converter and is converted to a volt...

Страница 75: ...RETURN VALUE Actual frequency set This will be the closest possible match to the requested frequency SEE ALSO pwmOut Sets a voltage 0 to VDD on an analog output channel according to the percent duty c...

Страница 76: ...to the normally closed NC RESET contact PARAMETERS relay 0 the one relay value is a value used to connect the relay common contact 0 relay normally closed NC or RESET Parallel Port PG5 1 relay normal...

Страница 77: ...User s Manual 71 APPENDIX A LP3500 SPECIFICATIONS Appendix A provides the specifications for the LP3500 and describes the conformal coating...

Страница 78: ...ND VIN GND PWM0 PWM1 PWM2 GND DISPLAY R55 R56 J9 J8 RELAY NO COM NC C48 U3 R57 R31 C29 R23 C22 C20 C12 C15 D15 D17 RP17 D13 BT1 D11 D5 D7 D2 D4 C8 C6 D8 D1 AIN0 AIN1 AIN2 AIN3 J3 R1 C3 C2 R6 R7 R9 Q22...

Страница 79: ...122 32 graphic display Digital Inputs 16 fully protected 0 36 V DC can handle short spikes 40 V Digital Outputs 10 8 sink up to 200 mA each 36 V DC max 2 source up to 200 mA each 36 V DC max Relay Out...

Страница 80: ...one 10 bit timer with 2 match registers Watchdog Supervisor Yes Pulse Width Modulators 10 bit free running counter and four pulse width registers Power 3 V to 30 V DC 20 mA max 7 4 MHz 100 A max 2 kH...

Страница 81: ...llow for sufficient air flow and will help to minimize any electrical or electromagnetic interference between adjacent boards An exclusion zone of 0 12 3 mm is recommended below the LP3500 Figure A 2...

Страница 82: ...header with a 2 mm 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 PROGRAM PORT 0 200 5 1 0 240 6 1 0 360 9...

Страница 83: ...chnical Note 303 Con formal Coatings C44 C43 C59 C60 U9 R16 R13 C10 C13 R17 R18 C16 C19 C36 U1 C70 R51 R58 C65 C26 C33 R20 R25 R22 R26 R29 C37 R32 C40 Y1 D22 C50 R36 R40 C54 R37 C24 R30 D19 D20 D21 D1...

Страница 84: ...T U2 JP12 JP8 JP11 JP7 JP10 JP9 JP1 JP2 JP3 JP4 JP6 JP5 Bottom Side J3 Top Side AIN3 AIN2 AIN1 AIN0 4 20 mA JP13 IN00 IN01 IN02 IN03 IN04 IN05 IN06 IN07 GND IN08 IN09 IN10 IN11 IN12 IN13 IN14 IN15 GND...

Страница 85: ...Level 2 3 Logic Level JP2 TxE RS 232 Logic Level Select 1 2 RS 232 Level 2 3 Logic Level JP3 RxC RS 232 Logic Level Select 1 2 RS 232 Level 2 3 Logic Level JP4 TxC RS 232 Logic Level Select 1 2 RS 23...

Страница 86: ...ions except those across JP11 and JP12 are made using 0 surface mounted resistors 390 current limiting resistors are used on JP11 and JP12 JP11 Manufacturing Use 1 2 JP12 Manufacturing Use 1 2 JP13 Ma...

Страница 87: ...ulled up PA7 Input IN15 Pulled up PB0 Input Power Input Detect Low when external power source is connected high for battery PB1 Input CLKA Pulled up when not driven by programming port PB2 Input IN04...

Страница 88: ...ogramming Port Serial Port A Inactive high PC7 Input RxA Programming Port Inactive high PD0 Output OUT0 Inactive low PD1 Output OUT1 Inactive low PD2 Output OUT2 Inactive low PD3 Output OUT3 Inactive...

Страница 89: ...w when external power source is connected high for battery PG0 Output RS 485 Transmit Enable Inactive low PG1 Output RS 232 Shutdown Control Inactive high PG2 Output TxF RS 485 Serial Port F Inactive...

Страница 90: ...84 Fox LP3500...

Страница 91: ...oard 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 Prototypin...

Страница 92: ...87 mm 105 mm 11 mm Operating Temperature 40 C to 70 C Humidity 5 to 95 noncondensing Prototyping Area 2 2 3 4 56 mm 86 mm throughhole 0 1 spacing GND RxE TxE GND RxC TxC GND RxB TxB GND 485 GND K OUT...

Страница 93: ...gnals to be available GND VIN GND VBAT EXT GND PWM2 PWM1 PWM0 GND AIN7 AIN6 AIN5 AIN4 AIN3 AIN2 AIN1 AIN0 GND IN15 IN14 IN13 IN12 IN11 IN10 IN09 IN08 IN07 IN06 IN05 IN04 IN03 IN02 IN01 IN00 J11 J12 J1...

Страница 94: ...to PE0 PE1 PE4 and PE5 to demonstrate the interface to the Rabbit 3000 microprocessor NOTE Before running sample programs based on the LP3500 you will have to plug in the LP3500 to the Prototyping Boa...

Страница 95: ...e 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...

Страница 96: ...Connections Connects to header J9 Display Interface on LP3500 LCD Panel Size 122 32 graphic display Keypad 7 key keypad LEDs Seven user programmable LEDs The LCD keypad module has 0 1 IDC header socke...

Страница 97: ...for 2 8 V by 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...

Страница 98: ...and insert your new legend prepared according to the template in Figure C 4 The keypad legend is located under the blue key pad matte and is accessible from the left only as shown in Figure C 5 Figur...

Страница 99: ...or in hardware C 4 1 I O Address Assignments 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 Addres...

Страница 100: ...1 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 Recommend...

Страница 101: ...gasket is compressed and the plastic bezel face plate is touching the panel Do not tighten each screw fully before moving on to the next screw Apply only one or two turns to each screw in sequence unt...

Страница 102: ...J5 R25 R26 C44 C43 C59 C60 U9 R16 R13 C10 C13 R17 R18 C16 C19 C36 U1 C70 R51 R58 C65 C26 C33 R20 R25 R22 R26 R29 C37 R32 C40 Y1 D22 C50 R36 R40 C54 R37 C24 R30 D19 D20 D21 D18 D25 Q5 R42 Q6 R43 R33 Q...

Страница 103: ...is being applied to the LCD keypad module The red LED is turned off when the brdInit function executes One function is available to control the LEDs and can be found in the LIB Rabbit3000 DISPLAYS LCD...

Страница 104: ...lPlotDot glBlock glPlotDot glPlotPolygon glPlotCircle glHScroll glVScroll glXFontInit glPrintf glPutChar glSetBrushType glBuffLock glBuffUnlock glPlotLine Turns the display backlight on or off PARAMET...

Страница 105: ...screen to white RETURN VALUE None SEE ALSO glFillScreen glBlock glPlotPolygon glPlotCircle Draws a rectangular block in the page buffer and on the LCD if the buffer is unlocked Any portion of the bloc...

Страница 106: ...e 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 If fewer than 3 vertices are spec...

Страница 107: ...will return without doing anything PARAMETERS n is the number of vertices x1 is the x coordinate of the first vertex y1 is the y coordinate of the first vertex x2 is the x coordinate of the second ver...

Страница 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...

Страница 109: ...riptor structure where the font is stored in xmem PARAMETERS pInfo is a pointer to the font descriptor to be initialized pixWidth is the width in pixels of each font item pixHeight is the height in pi...

Страница 110: ...e top left corner of the text y is the y coordinate row of the top left corner of the text pInfo is a pointer to the font descriptor code is the ASCII character to display RETURN VALUE None SEE ALSO g...

Страница 111: ...vides an interface between the STDIO string handling functions and the graphic library The STDIO string formatting function will call this function one character at a time until the entire format ted...

Страница 112: ...tring conversion parameter s EXAMPLE glprintf 0 0 fi12x16 Test d n count RETURN VALUE None SEE ALSO glXFontInit Increments LCD screen locking counter Graphic calls are recorded in the LCD memory buffe...

Страница 113: ...white pixels turns pixel off PIXXOR draws old pixel XOR ed with the new pixel RETURN VALUE None SEE ALSO glGetBrushType Gets the current method or color of pixels drawn by subsequent graphic calls RE...

Страница 114: ...divisible by 8 otherwise truncates top is the top left corner of the bitmap cols is the number of columns in the window must be evenly divisible by 8 otherwise truncates rows is the number of rows in...

Страница 115: ...rows in the window RETURN VALUE None SEE ALSO glVScroll glDown1 Scrolls byte aligned window down one pixel top column is filled by current pixel type color PARAMETERS left is the top left corner of bi...

Страница 116: ...Parameters will be checked to verify that the scrolling area is valid The minimum scrolling area is a width of 8 pixels and a height of one row PARAMETERS left is the top left corner of bitmap must be...

Страница 117: ...enly divisible by 8 rows is the number of rows in the window nPix is the number of pixels to scroll within the defined window a negative value will produce a scroll up RETURN VALUE None SEE ALSO glHSc...

Страница 118: ...aracters within the text window using only character row and column coordinates The text window feature provides end of line wrapping and clipping after the character in the last column and row is dis...

Страница 119: ...SO TextPutChar TextPrintf TextWindowFrame Gets the current cursor location that was set by a Graphic Text function NOTE Execute the TextWindowFrame function before using this function PARAMETERS windo...

Страница 120: ...also escape sequences r and n are recognized All other escape sequences will be skipped over for example b and t will print if they exist in the font set but will not have any effect as control charac...

Страница 121: ...alue is returned when a key is pressed 0 Unused See keypadDef for default press codes cRelease is a key release code An 8 bit value is returned when a key is pressed 0 Unused cCntHold is a hold tick w...

Страница 122: ...nment debouncing press and release and repeat NOTE This function is also able to process an 8 x 8 matrix keypad RETURN VALUE None SEE ALSO keyConfig keyGet keypadDef Get next keypress RETURN VALUE The...

Страница 123: ...keyConfig 3 R 0 0 0 0 0 keyConfig 6 E 0 0 0 0 0 keyConfig 2 D 0 0 0 0 0 keyConfig 4 0 0 0 0 0 keyConfig 1 U 0 0 0 0 0 keyConfig 5 0 0 0 0 0 keyConfig 0 L 0 0 0 0 0 Characters are returned upon keypres...

Страница 124: ...play_Keypad directory To run a sample program open it with the File menu if it is not still open compile it using the Compile menu and then run it by selecting Run in the Run menu The LP3500 must be c...

Страница 125: ...ver The base alone is a convenient surface on which to mount the LP3500 and also provides a means to mount the LP3500 on any flat surface Appendix D describes how to mount the LP3500 inside the plas t...

Страница 126: ...D7 D2 D4 C 8 C 6 D8 D1 AIN0 AIN1 AIN2 AIN3 J3 R1 C 3 C 2 R6 R7 R9 Q22 RN1 RN2 R54 R P 1 4 RP13 Q20 U 1 3 C 6 4 R50 R49 Y2 C 6 1 Q12 R 4 5 R 3 4 U8 C51 R 3 9 R 4 1 C 5 3 R 3 8 R48 C 6 6 U12 U10 GND K...

Страница 127: ...8 C16 C19 C36 U1 C 70 R 51 R58 C65 C26 C33 R20 R25 R22 R26 R 29 C 37 R32 C 40 Y1 D22 C50 R36 R40 C54 R 37 C 24 R30 D 19 D 20 D21 D18 D25 Q 5 R 42 Q6 R43 R33 Q 8 Q10 D 26 D 28 Q16 D 30 Q17 D 34 K1 Q13...

Страница 128: ...shows the dimensions for the plastic enclosure Figure D 4 Plastic Enclosure Dimensions 5 60 142 2 85 72 2 1 3 5 4 1 375 35 0 25 6 4 4 8 7 5 1 2 4 1 3 7 5 3 5 4 35 110 3 6 2 9 2 5 00 127 4 2 5 1 0 8 0...

Страница 129: ...yping Board includes a Shottky diode for protection against reverse polarity The raw DC power VIN goes through a linear regulator as shown in Figure E 1 The lin ear regulator outputs a Vcc of 2 8 V DC...

Страница 130: ...levels depending on which sections of the board are turned off using the devPowerSet function Table E 1 lists the sections NOTE RxE always remains active to allow the LP3500 to listen while it is in t...

Страница 131: ...xpected life of the onboard battery is The drain on the battery is typically less than 4 A when external power is applied and so the expected LP3500 battery in service life is The primary role of the...

Страница 132: ...ectly 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 Pow...

Страница 133: ...ormally the SRAM requires Vcc to operate However only 2 V is required for data retention in powerdown mode Thus when power is removed from the circuit the battery voltage needs to be provided to both...

Страница 134: ...128 Fox LP3500...

Страница 135: ...ons GND RxE TxE GND RxC TxC GND RxB TxB GND 485 GND K OUT9 OUT8 OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 GND VIN GND VBAT EXT GND PWM2 PWM1 PWM0 GND AIN7 AIN6 AIN5 AIN4 AIN3 AIN2 AIN1 AIN0 GND IN 15 IN...

Страница 136: ...3 Open DIGIN C with the File menu compile it using the Compile menu and then run it by selecting Run in the Run menu 4 The following display will appear in the Dynamic C STDIO window 5 When pressing...

Страница 137: ...standard features debugging 40 starting 14 telephone based technical support 5 41 upgrades and patches 41 USB serial port converter 14 E exclusion zone 75 F features 2 flash memory lifetime write cyc...

Страница 138: ...120 dimensions 122 mounting instructions 121 setup attach LP3500 to enclosure base 120 attaching top 121 power management 123 power modes 19 20 21 entering power save mode 20 function calls 47 devPowe...

Страница 139: ...rial interface port J6 28 setup 9 attach LP3500 to Prototyping Board 10 power supply connections 12 programming cable connec tions 11 software 5 libraries 46 LCD122KEY7 LIB 97 LP3500 46 LP35xx LIB 46...

Страница 140: ...134 Fox LP3500...

Страница 141: ...ng 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 rab...

Страница 142: ......

Страница 143: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Rabbit Semiconductor 101 0526 101 0530...

Отзывы: