background image

User’s Manual

69

Watchdog/
Supervisor

Yes

Pulse-Width 
Modulators

4 PWM registers with 10-bit free-running counter

and priority interrupts 

Input Capture

2-channel input capture can be used to time input signals from 
various port pins

Quadrature 
Decoder

2-channel quadrature decoder accepts inputs from external 
incremental encoder modules

Power

3.15–3.45 V DC

250 mA @ 44.2 MHz, 3.3 V

Operating 
Temperature

-40°C to +70°C (boards manufactured up to May, 2008)

0°C to +70°C (boards manufactured after May, 2008)

Humidity

5% to 95%, noncondensing

Connectors

Two 2 × 17, 2 mm pitch

one 2 × 5 for programming with 1.27 mm pitch

Board Size

1.850" × 2.725" × 0.86"

(47 mm × 69 mm × 22 mm)

Table A-1.  RCM3305/RCM3315 Specifications (continued)

Parameter

RCM3305

RCM3315

Содержание RCM3305

Страница 1: ...RabbitCore RCM3305 RCM3315 C Programmable Core Module with Serial Flash Mass Storage and Ethernet User s Manual 019 0151 080528 E...

Страница 2: ...bbitCore and Dynamic C are registered trademarks of Digi International Inc Rabbit 3000 is a trademark of Digi International Inc No part of the contents of this manual may be reproduced or transmitted...

Страница 3: ...and RCM3315 12 2 2 3 Step 3 Connect Power 13 2 2 3 1 Alternate Power Supply Connections 13 2 3 Starting Dynamic C 14 2 4 Run a Sample Program 14 2 4 1 Troubleshooting 14 2 5 Where Do I Go From Here 15...

Страница 4: ...t 46 5 3 Upgrading Dynamic C 48 5 3 1 Extras 48 Chapter 6 Using the TCP IP Features 49 6 1 TCP IP Connections 49 6 2 TCP IP Primer on IP Addresses 51 6 2 1 IP Addresses Explained 53 6 2 2 How IP Addre...

Страница 5: ...1 Specifications 101 C 2 Contrast Adjustments for All LCD Keypad Modules 103 C 3 Keypad Labeling 104 C 4 Header Pinouts 105 C 4 1 I O Address Assignments 105 C 5 Mounting LCD Keypad Module on the Prot...

Страница 6: ...RabbitCore RCM3305 RCM3315...

Страница 7: ...nd the static RAM Two 34 pin headers bring out the Rabbit 3000 I O bus lines parallel ports and serial ports The RCM3305 s and the RCM3315 s mass storage capabilities make them suited to running the o...

Страница 8: ...ate Real time clock Watchdog supervisor Provision for customer supplied backup battery via connections on header J4 10 bit free running PWM counter and four pulse width registers Two channel Input Cap...

Страница 9: ...without a RabbitLink Appendix A provides detailed specifications for the RCM3305 and the RCM3315 Table 1 RCM3305 RCM3315 Features Feature RCM3305 RCM3315 Microprocessor Rabbit 3000 running at 44 2 MHz...

Страница 10: ...rent The RCM3305 RCM3315 draws 250 mA vs the 325 mA required by the RCM3309 RCM3319 LEDs The SPEED and user USR BSY LED locations have been swapped between the RCM3305 RCM3315 and the RCM3309 RCM3319...

Страница 11: ...y C language program development and debugging Program download utility Rabbit Field Utility and cloning board options for rapid production loading of programs Generous memory size allows large progra...

Страница 12: ...M3305 series of RabbitCore modules Installing 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 pro gram in the root...

Страница 13: ...tion to the Web based technical support included at no extra charge a one year telephone based technical support subscription is also available for purchase 1 4 3 Connectivity Interface Kits Rabbit ha...

Страница 14: ...8 RabbitCore RCM3305 RCM3315...

Страница 15: ...program will guide you through the installation process Most steps of the process are self explanatory Dynamic C uses a COM serial port to communicate with the target development system The installat...

Страница 16: ...K1 KEYPAD DISPLAY BOARD D8 LCD1JB LCD1JC V RES LED0 LED2 LED4 LED6 GND A3 A1 D0 D2 D4 D6 LCD1JA J16 BD0 BD1 BD2 BD3 BD4 BD5 BD6 BD7 J15 BA0 BA1 BA2 BA3 LCD CS RELAY RATED 0 5 A 30 V J17 U12 U11 R42 R4...

Страница 17: ...6 PF7 PF5 PB7 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING BOARD S1 RESET J9 S2 S3 ACT PD7 PD3 PD5 PG3 PG1 PC7 PC5 PC3 PC1 PF0 PF2 P...

Страница 18: ...C1 D1 J2 J1 J4 J6 GND IN3 IN2 IN1 IN0 5V 5V QD2A QD2B QD1A QD1B GND J5 VMB MDB1 MDB2 MDB3 MDB4 VMB VMA MDA1 MDA2 MDA3 MDA4 VMA J3 C2 JP1 C3 JP2 GND GND VBT RES SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7...

Страница 19: ...ct the AC adapter to 3 pin header J2 or jack J1 on the Prototyping Board as shown in Figure 3 a or Figure 3 b Plug in the AC adapter The red CORE LED on the Prototyping Board should light up The RCM33...

Страница 20: ...s module is powered correctly the red CORE LED on the Prototyping Board should be lit when the module is mounted on the Prototyping Board and the AC adapter is plugged in Check both ends of the progra...

Страница 21: ...e Do I Go From Here If the sample program ran fine you are now ready to go on to other sample programs and to develop your own applications The source code for the sample programs is provided to allow...

Страница 22: ...16 RabbitCore RCM3305 RCM3315...

Страница 23: ...r s Manual for a suggested reading list More complete information on Dynamic C is provided in the Dynamic C User s Manual In order to run the sample programs discussed in this chapter and elsewhere in...

Страница 24: ...our PC Once you compile and run CONTROLLED C the following display will appear in the Dynamic C STDIO window Press 2 or 3 or 4 or 5 on your keyboard to select LED DS3 or DS4 or DS5 or DS6 on the Proto...

Страница 25: ...2 Serial Communication The following sample programs can be found in the SAMPLES RCM3300 SERIAL folder FLOWCONTROL C This program demonstrates hardware flow control by configuring Serial Port F for C...

Страница 26: ...d then receives an ASCII string on Serial Ports E and F It also displays the serial data received from both ports in the STDIO window To set up the Prototyping Board you will need to tie TxE and RxF t...

Страница 27: ...d to set the real time clock Set the real time clock using the SETRTCKB C sample program from the Dynamic C SAMPLES RTCLOCK folder using the onscreen prompts The RTC_ TEST C sample program in the Dyna...

Страница 28: ...22 RabbitCore RCM3305 RCM3315...

Страница 29: ...specifications Figure 4 shows the Rabbit based subsystems designed into the RCM3305 RCM3315 Figure 4 RCM3305 RCM3315 Subsystems 32 kHz osc RabbitCore Module RABBIT 3000 Customer supplied external 3 V...

Страница 30: ...JP6 and JP7 to be PD2 PD3 PD6 and PD7 respectively They may also be reconfigured to carry the Ethernet signals TPI TPI TPO and TPO Pins 33 and 34 on header J3 are wired to carry the LINK and ACT signa...

Страница 31: ...t 3000 fac tory defaults and the alternate configurations RABBIT 3000 Port A Port B Port D PA0 PA7 PB2 PB7 PE0 PE1 PE3 PE7 PD2 PD7 RES IORD IOWR Watchdog 11 Timers Clock Doubler Slave Port Real Time C...

Страница 32: ...rial Port B RCM3305 RCM3315 Not Connected used for onboard serial flash 20 PC5 Input RXB 21 PC6 Output TXA Serial Port A programming port 22 PC7 Input RXA 23 PG0 Input Output TCLKF Serial Clock F outp...

Страница 33: ...ddress 4 8 PB7 Input Output IA5 SLAVEATTN External Address 5 Slave Attention 9 PF4 Input Output AQD1B PWM0 10 PF5 Input Output AQD1A PWM1 11 PF6 Input Output AQD2B PWM2 12 PF7 Input Output AQD2A PWM3...

Страница 34: ...E Serial Clock E input 23 PG4 Input Output TCLKE Serial Clock E ouput 24 IOWR Output External write strobe 25 IORD Output External read strobe 26 27 SMODE0 SMODE1 0 0 start executing at address zero 0...

Страница 35: ...atus RESET_IN SMODE0 and SMODE1 I O are normally associated with the programming port Since the status pin is not used by the system once a program has been downloaded and is running the status pin ca...

Страница 36: ...h bit address scheme where an additional bit is sent to mark the first byte of a message is also supported Serial Port A is normally used as a programming port but may be used either as an asyn chrono...

Страница 37: ...MI effects to from the Ethernet signals Three Ethernet status LEDs are located beside the RJ 45 Ethernet jack ACT LINK and SPEED The yellow ACT LED at DS1 indicates network activity The green LINK LED...

Страница 38: ...set pins are available on the programming port The two startup mode pins determine what happens after a reset the Rabbit 3000 is either cold booted or the program begins executing at address 0x0000 Th...

Страница 39: ...R2 R7 R3 R4 R5 R6 R9 R8 U6 R10 C6 C1 D1 J2 J1 J4 J6 GND IN3 IN2 IN1 IN0 5V 5V QD2A QD2B QD1A QD1B GND J5 VMB MDB1 MDB2 MDB3 MDB4 VMB VMA MDA1 MDA2 MDA3 MDA4 VMA J3 C2 JP1 C3 JP2 GND GND VBT RES SM0 I...

Страница 40: ...uccessfully remove the programming cable from the programming connector and reset the RCM3305 RCM3315 The RCM3305 RCM3315 may be reset by cycling the power off on or by pressing the RESET button on th...

Страница 41: ...nformation on the spectrum spreading setting and the maximum clock speed 1 Select the Defines tab from the Dynamic C Options Project Options menu 2 Add the line CLOCK_DOUBLED 0 to always disable the c...

Страница 42: ...sh memory addresses at run time is also discouraged Instead use a portion of the user block area to store persistent data The functions writeUser Block and readUserBlock are provided for this Refer to...

Страница 43: ...the program execution SRAM after the pro gramming cable is disconnected Your final code must always be stored in flash memory for reliable operation RCM3305 RCM3315 modules running at 44 2 MHz have a...

Страница 44: ...by creating function description block comments using a special format for library functions Standard debugging features X Breakpoints Set breakpoints that can disable interrupts X Single stepping St...

Страница 45: ...gged with the same ease as exists when the target is connected directly to a PC 2 The RCM3305 RCM3315 has a featured remote application update written specifically to allow the RCM3305 RCM3315 to be p...

Страница 46: ...RCM3315 have a battery backed data SRAM and a program execution SRAM Dynamic C provides the protected keyword to identify variables that are to be placed into the battery backed SRAM The compiler gen...

Страница 47: ...ort Software 5 2 4 TCP IP Drivers The TCP IP drivers are located in the LIB TCPIP folder Complete information on these libraries and the TCP IP functions is provided in the Dynamic C TCP IP User s Man...

Страница 48: ...sors are described in the Dynamic C Function Reference Manual 5 2 6 1 Board Initialization Call this function at the beginning of your program This function initializes Parallel Ports A through G for...

Страница 49: ...l on header J5 or J6 0 IN0 1 IN1 2 IN2 3 IN3 4 QD1B 5 QD1A 6 QD2B 7 QD2A RETURN VALUE The logic state 0 or 1 of the input SEE ALSO brdInit Writes a value to an output channel on Prototyping Board head...

Страница 50: ...SEE ALSO brdInit Controls LEDs on the Prototyping Board and on the RCM3305 RCM3315 PARAMETERS led is the LED to control 0 red User LED on RCM3305 RCM3315 3 DS3 on Prototyping Board 4 DS4 on Prototypi...

Страница 51: ...cator for disabling the transmitter by using one of the following meth ods Byte mode disable the transmitter after the same byte that is transmitted is detected in the receive data buffer Block data m...

Страница 52: ...ces define RN_MAX_DATA 16 max number of data bytes in any transaction define RN_MAX_PORT 2 max number of serial ports Set the following bits in RNSTATUSABORT to abort transmitting data after the statu...

Страница 53: ...that enables or asserts the RCM3305 RCM3315 RabbitNet port chip select prior to data transfer PARAMETERS portnum 0 RETURN VALUE None This is a macro that disables or deasserts the RCM3305 RCM3315 Rabb...

Страница 54: ...ludes 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 for purchase the Rabbit Embedded Security Pack...

Страница 55: ...ccess you will need at least a 10Base T Ethernet card available from your favorite computer supplier installed in a PC Two RJ 45 straight through Ethernet cables and a hub or an RJ 45 crossover Ethern...

Страница 56: ...a small Eth ernet 10Base T hub and connect both the PC s network interface card and the RCM3305 RCM3315 module s Ethernet port to it using standard network cables The following options require more ca...

Страница 57: ...uation will take place if you use a dial up line to send a packet to the Internet Windows may try to send it via the local Ethernet network if it is also valid for that network The following IP addres...

Страница 58: ...n the sample programs with out having to setup a direct connection between your computer and the RCM3305 RCM3315 You will also need the IP address of the nameserver the name or IP address of your mail...

Страница 59: ...he same form as the IP address An example netmask is 255 255 255 0 This netmask has 8 zero bits in the least significant portion and this means that 28 addresses are a part of the local network Applie...

Страница 60: ...ith the desired IP address to answer with its MAC address In this way the table entry can be filled in If no device answers then the device is nonexistent or inoperative and the packet cannot be sent...

Страница 61: ...These addresses can be used to perform some Internet tasks such as sending e mail or browsing the Web but it is more difficult to participate in conversations that originate elsewhere on the Internet...

Страница 62: ...k by disallowing traffic that did not originate from inside the net work If you want users on the Internet to communicate with your RCM3305 RCM3315 you have several options You can either place the RC...

Страница 63: ...t your PC and the RCM3305 RCM3315 board together on the same network This network can be a local pri vate network preferred for initial experimentation and debugging or a connection via the Internet U...

Страница 64: ...to 255 255 255 0 and the nameserver and gateway to 10 10 6 1 If you would like to change the default values for example to use an IP address of 10 1 1 2 for the RCM3305 RCM3315 board and 10 1 1 1 for...

Страница 65: ...erface card used for the Ethernet interface you intend to use e g TCP IP Xircom Credit Card Network Adapter and click on the Properties button Depending on which version of Windows your PC is running...

Страница 66: ...ollowing sample programs are in the Dynamic C SAMPLES RCM3300 TCPIP folder BROWSELED C This program demonstrates a basic controller running a Web page Two device LEDs are created along with two button...

Страница 67: ...is program uses the TCP IP HTTP LIB library and outputs a basic static Web page DLP_WEB C This program outlines a basic download program with a Web interface Complete information on the use of these p...

Страница 68: ...s warning Ignore the warning because we are not using HTTP upload over SSL A macro HTTP_UPLOAD_SSL_SUPRESS_WARNING is available to suppress the warning message Open a Web browser and browse to the dev...

Страница 69: ...nks rapidly to indicate that it is now safe to turn the RCM3305 RCM3315 off This procedure can be modified by the user to provide other application specific shutdown tasks 6 7 Where Do I Go From Here...

Страница 70: ...64 RabbitCore RCM3305 RCM3315...

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

Страница 72: ...R8 C11 C16 C15 R13 C20 C19 C25 C24 C35 R17 U4 R14 R15 L1 C23 C31 C32 C33 R16 U5 C34 Y2 R44 C74 C78 U13 C81 R60 R61 R62 R63 R64 C58 R11 R12 U2 C14 R10 RCM33XX DS1 USR SF LINK ACT DS2 DS3 J2 R35 R36 R3...

Страница 73: ...printed circuit boards An exclusion zone of 0 08 2 mm is recommended below the RCM3305 RCM3315 when the RCM3305 RCM3315 is plugged into another assembly Figure A 2 shows this exclusion zone Figure A...

Страница 74: ...Purpose I O 49 parallel digital I 0 lines 43 configurable I O 3 fixed inputs 3 fixed outputs Additional Inputs Startup mode 2 reset in Additional Outputs Status reset out External I O Bus Can be confi...

Страница 75: ...uadrature decoder accepts inputs from external incremental encoder modules Power 3 15 3 45 V DC 250 mA 44 2 MHz 3 3 V Operating Temperature 40 C to 70 C boards manufactured up to May 2008 0 C to 70 C...

Страница 76: ...der with a 1 27 mm pin spacing Figure A 3 shows the layout of another board for the RCM3305 RCM3315 to be plugged into These values are relative to the mounting hole Figure A 3 User Board Footprint fo...

Страница 77: ...pacitive bus loading for the various RCM3305 RCM3315 output ports Be sure to add the loads for the devices you are using in your custom system and verify that they do not exceed the values in Table A...

Страница 78: ...IOCSx can be programmed to be active low default or active high Tadr Tadr External I O Read one programmed wait state CLK A 15 0 External I O Write one programmed wait state CLK A 15 0 IORD valid T1 T...

Страница 79: ...tup and Thold When the spectrum spreader is enabled with the clock doubler every other clock cycle is shortened sometimes lengthened by a maximum amount given in the table above The shortening takes p...

Страница 80: ...Ratings Symbol Parameter Maximum Rating TA Operating Temperature 55 to 85 C TS Storage Temperature 65 to 150 C Maximum Input Voltage Oscillator Buffer Input 5 V tolerant I O VDD 0 5 V 5 5 V VDD Maximu...

Страница 81: ...ute maximum operating voltage on all I O is 5 5 V Table A 7 shows the AC and DC output drive limits of the parallel I O buffers when the Rabbit 3000 is used in the RCM3305 RCM3315 Under certain condit...

Страница 82: ...A 5 shows the jumper locations used to configure the various RCM3305 RCM3315 options The black square indicates pin 1 Figure A 5 Location of RCM3305 RCM3315 Configurable Positions R41 R42 JP6 JP7 JP8...

Страница 83: ...h Memory Size 1 2 128K 256K 2 3 512K JP2 Flash Memory Bank Select 1 2 Reserved for future use 2 3 Normal Mode JP3 Data SRAM Size 1 2 128K 256K 2 3 512K JP4 Ethernet or I O Output on Header J3 1 2 TPO...

Страница 84: ...onents A new conformal coating should then be applied to offer continuing protection against the effects of moisture and contaminants NOTE For more information on conformal coatings refer to Technical...

Страница 85: ...User s Manual 79 APPENDIX B PROTOTYPING BOARD Appendix B describes the features and accessories of the Proto typing Board...

Страница 86: ...3 MDA4 VMA J3 C2 JP1 C3 JP2 GND GND VBT RES SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING BO...

Страница 87: ...module is plugged in correctly on the Prototyping Board and the RCM3305 RCM3315 module is not being reset Relay LED The relay LED lights whenever the Prototyping Board relay is energized Reset Switch...

Страница 88: ...RS 485 serial port is available on the Prototyping Board at screw termi nal header J14 Quadrature Decoder Four quadrature decoder inputs PF0 PF3 from the Rabbit 3000 chip are available on screw termi...

Страница 89: ...5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING BOARD S1 RESET J9 S2 S3 ACT PD7 PD3 PD5 PG3 PG1 PC7 PC5 P...

Страница 90: ...mA maximum per channel 8 CMOS level outputs if stepper motor not installed Relay SPDT relay 500 mA 30 V Serial Ports two 3 wire RS 232 or one RS 232 with RTS CTS one RS 485 Other Serial Interfaces Ra...

Страница 91: ...n onboard 5 V switching power regulator from which a 3 3 V linear regulator draws its supply Thus both 5 V and 3 3 V are available on the Prototyping Board The Prototyping Board itself is protected ag...

Страница 92: ...V IN0 IN1 IN2 IN3 GND TxE RxE GND TxF RxF 485 GND 485 OUT00 OUT01 OUT02 OUT03 OUT04 OUT05 OUT06 OUT07 GND VCC PC0_TxD PD2_CE PD4_DCD PC1_RxD PF0_CLK_RES PD3_RNET_ RTS PD6_ CTRL PD5_ CTS LCD_ CS BA0 B...

Страница 93: ...ototyping Board If you don t plan to use the LCD keypad module additional signals may be brought out on 1 5 and 1 8 headers from the bag of parts that you install at J15 and J16 If you don t plan to u...

Страница 94: ...r quadrature decoder inputs on screw terminal header J5 may be used as inputs IN4 IN7 To use the PF0 signal from the Rabbit microprocessor which goes to QD1B remember to reconfigure the jumper on head...

Страница 95: ...uts B 4 5 Relay Outputs Figure B 7 shows the contact connections for the relay on the Prototyping Board A diode across the coil provides a return path for inductive spikes and snubbers across the rela...

Страница 96: ...e either to allow J7 to be used as a RabbitNet port or to allow J11 to be used as a serial interface for the SF1000 series serial flash Table B 2 Prototyping Board Serial Port Configurations Serial Po...

Страница 97: ...function call from LIB RS232 LIB where X is the serial port E or F The locations of the flow control lines are specified using a set of five macros SERX_RTS_PORT Data register for the parallel port th...

Страница 98: ...close serCclose define ser485wrFlush serCwrFlush define ser485rdFlush serCrdFlush define ser485putc serCputc define ser485getc serCgetc define CINBUFSIZE 15 define COUTBUFSIZE 15 ifndef _485BAUD defin...

Страница 99: ...MDA3 MDA4 VMA J3 C2 JP1 C3 JP2 GND GND VBT RES SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING...

Страница 100: ...LCD1JC V R ES LE D0 LE D2 LE D4 LE D6 GN D A3 A1 D0 D2 D4 D6 LCD1JA J16 BD 0 BD 1 BD 2 BD 3 BD 4 BD 5 BD 6 BD 7 J15 BA 0 BA 1 BA 2 BA 3 LC D C S R E L A Y R A T E D 0 5 A 3 0 V J17 U12 U11 R42 R 41 C...

Страница 101: ...ected Factory Default JP1 1 2 9 10 Onboard power supply to U2 3 4 7 8 External power supply to U2 JP2 1 2 9 10 Onboard power supply to U3 3 4 7 8 External power supply to U3 J3 2 3 4 U2 5 1 6 3 6 11 1...

Страница 102: ...totyping Board Jumper Configurations Figure B 12 shows the header locations used to configure the various Prototyping Board options via jumpers Figure B 12 Location of Prototyping Board Configurable P...

Страница 103: ...er supply JP2 Stepper Motor Power Supply Options U3 1 2 9 10 Onboard power supply 3 4 7 8 External power supply JP3 PF0 Option 1 2 Quadrature decoder inputs enabled 2 3 RabbitNet Serial Flash interfac...

Страница 104: ...disabled PC1 Input RXD SPI serial flash J7 High disabled PC2 Output TXC RS 485 J7 Serial Port C High disabled PC3 Input RXC RS 485 J7 High disabled PC4 Output TXB RCM3305 serial flash Serial Port B Hi...

Страница 105: ...utput Motor driver A enable High disabled PG5 Output Motor driver B enable High disabled PG6 Input TXE RS 232 Serial Port E High disabled PG7 Input RXE RS 232 High disabled Serial Port B is not availa...

Страница 106: ...100 RabbitCore RCM3305 RCM3315...

Страница 107: ...use with the Prototyping Board They are shown in Figure C 1 Figure C 1 LCD Keypad Module Versions Only the version without the bezel can mount directly on the Prototyping Board if you have the versio...

Страница 108: ...1 5 W maximum The backlight adds approximately 650 mW to the power consumption Connections Connects to high rise header sockets on the Prototyping Board LCD Panel Size 122 32 graphic display Keypad 7...

Страница 109: ...2 or by setting the voltage for 3 3 V by connecting the jumper across pins 3 4 on header J5 as shown in Figure C 3 Only one of these two options is available on these LCD keypad modules NOTE Older LCD...

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

Страница 111: ...ess Assignment Address Function 0xE000 Device select base address CS 0xExx0 0xExx7 LCD control 0xExx8 LED enable 0xExx9 Not used 0xExxA 7 key keypad 0xExxB bits 0 6 7 LED driver 0xExxB bit 7 LCD backl...

Страница 112: ...G6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING BOARD S1 RESET J9 S2 S3 ACT PD7 PD3 PD5 PG3 PG1 PC7 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 STAT LINK PD6 PD2 PD4 PG2 PG0 PC6 PC4 PC2 PC0...

Страница 113: ...mount installation 1 Cut mounting holes in the mounting panel in accordance with the recommended dimen sions in Figure C 8 then use the bezel faceplate to mount the LCD keypad module onto the panel Fi...

Страница 114: ...il the 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 seque...

Страница 115: ...D S1 RESET J9 S2 S3 ACT PD7 PD3 PD5 PG3 PG1 PC7 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 STAT LINK PD6 PD2 PD4 PG2 PG0 PC6 PC4 PC2 PC0 PF1 PF3 PA1 PA3 PA5 PA7 GND JA JB POWER GND DC GND DS1 R1 GND DC D2 C8...

Страница 116: ...hapter 2 Getting Started Complete information on Dynamic C is provided in the Dynamic C User s Manual KEYPADTOLED C This program demonstrates the use of the external I O bus The program will light up...

Страница 117: ...ETURN VALUE None C 8 2 LEDs When power is applied to the LCD keypad module for the first time the red LED DS1 will come on indicating that power is being applied to the LCD keypad module The red LED i...

Страница 118: ...glBacklight glSetContrast glPlotDot glBlock glPlotDot glPlotPolygon glPlotCircle glHScroll glVScroll glXFontInit glPrintf glPutChar glSetBrushType glBuffLock glBuffUnlock glPlotLine Turns the display...

Страница 119: ...tPolygon glPlotCircle Fills a rectangular block in the LCD buffer with the pattern specified Any portion of the block that is outside the LCD display area will be clipped PARAMETERS left is the x coor...

Страница 120: ...ertical stripes for any other pattern RETURN VALUE None SEE ALSO glFillScreen glBlankScreen glBlock glBlankRegion Clears a region on the LCD display The block left and width parameters must be byte al...

Страница 121: ...EE ALSO glFillScreen glBlankScreen glPlotPolygon glPlotCircle 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...

Страница 122: ...ordinate of the second vertex are the coordinates of additional vertices RETURN VALUE None SEE ALSO glPlotVPolygon glFillPolygon glFillVPolygon Fills a polygon in the LCD page buffer and on the LCD sc...

Страница 123: ...ffer is unlocked Any por tion of the circle that is outside the LCD display area will be clipped PARAMETERS xc is the x coordinate of the center of the circle yc is the y coordinate of the center of t...

Страница 124: ...ndChar is the value of the last printable character in the font character set xmemBuffer is the xmem pointer to a linear array of font bitmaps RETURN VALUE None SEE ALSO glPrinf Returns the xmem addre...

Страница 125: ...p increments depend on the height and width of the font being displayed which are multi plied by the step values PARAMETERS stepX is the glPrintf x step value stepY is the glPrintf y step value RETURN...

Страница 126: ...tring 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 t n and r ASCII backspace tab new line and carriage return...

Страница 127: ...ffer are transferred to the LCD if the counter goes to zero RETURN VALUE None SEE ALSO glBuffLock glSwap Checks the LCD screen locking counter The contents of the LCD buffer are transferred to the LCD...

Страница 128: ...Bm is the xmem RAM storage address of the bitmap RETURN VALUE None Draws bitmap in the specified space The data for the bitmap are stored in xmem This function is similar to glXPutBitmap except that i...

Страница 129: ...dinate of one endpoint of the line x1 is the x coordinate of the other endpoint of the line y1 is the y coordinate of the other endpoint of the line RETURN VALUE None SEE ALSO glPlotDot glPlotPolygon...

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

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

Страница 132: ...t be evenly 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 ALS...

Страница 133: ...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 displayed NOTE Execute the TextWin...

Страница 134: ...ing is detected then it will be written center aligned to the top of the text menu box RETURN VALUE None SEE ALSO TextBorder TextGotoXY TextPutChar TextWindowFrame TextCursorLocation This function dis...

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

Страница 136: ...screen Only printable characters in the font set are printed escape sequences r and n are also recognized All other escape sequences will be skipped over for example b and t will cause nothing to be d...

Страница 137: ...of characters that can be displayed within the text window SEE ALSO TextGotoXY TextPrintf TextWindowFrame TextCursorLocation This functions clears the entire area within the specified text window NOT...

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

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

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

Страница 141: ...perating at 44 2 MHz typically draws 350 mA D 1 1 Battery Backup The RCM3305 RCM3315 does not have a battery but there is provision for a customer supplied battery to back up the data SRAM and keep th...

Страница 142: ...Remember to cycle the main power off on any time the RCM3305 RCM3315 is removed from the Protoyping Board or motherboard since that is where the backup battery would be located Rabbit s Technical Note...

Страница 143: ...0 V typically 2 93 V The RCM3305 RCM3315 has a reset pin pin 28 on header J4 This pin provides access to the reset input of the reset generator whose output drives the reset input of the Rabbit 3000 a...

Страница 144: ...138 RabbitCore RCM3305 RCM3315...

Страница 145: ...et Connections All RabbitNet connections are made point to point A RabbitNet master port can only be connected directly to a peripheral card and the number of peripheral cards is limited by the number...

Страница 146: ...n the con nector The following connectors are used Signal 0 1 friction lock connectors Power 0 156 friction lock connectors RabbitNet RJ 45 connector D A converter 8 channels of 0 10 V 12 bit D A conv...

Страница 147: ...r a data rate of 1 MHz Rabbit recommends a practical limit of 10 m 33 ft Connections between peripheral cards and masters are done using standard 8 conductor Ethernet cables Masters and peripheral car...

Страница 148: ...to the maximum number of ports A set bit requires a service If portflag 0x03 both RabbitNet ports 0 and 1 will need to be serviced servicetype enables or disables each RabbitNet port as set by the po...

Страница 149: ...dev flags RN_MATCH_PORT RN_MATCH_SN newdev ports 0x03 search ports 0 and 1 newdev serialnum E3446C01L handle rn_find newdev RETURN VALUE Returns the handle of the first device matching the criteria 0...

Страница 150: ...hat the data length was greater than 15 SEE ALSO rn_read Reads a string from the specified device and register Waits for results This function will check device information to determine that the perip...

Страница 151: ...N VALUE The status byte from the previous command 1 means that device information indicates the peripheral card is not connected to the master Sets software watchdog timeout period Call this function...

Страница 152: ...tchdog timer 2 enables software watchdog timer RETURN VALUE The status byte from the previous command 1 means that device information indicates the peripheral card is not connected to the master SEE A...

Страница 153: ...tatus byte from the previous command PARAMETERS handle is an address index to device information Use rn_device or rn_find to establish the handle retdata is a pointer to the return address of the comm...

Страница 154: ...eady 10 Busy 11 Device not connected 0 Device 1 Router 0 No error 1 Communication error Use the function rn_comm_status to determine which error occurred Reserved for individual peripheral cards Reser...

Страница 155: ...Pack 7 9 48 sample programs 18 standard features debugging 38 telephone based technical support 7 48 upgrades and patches 48 USB serial port converter 14 E Ethernet cables 49 how to tell them apart 49...

Страница 156: ...glLeft1 123 glPlotCircle 117 glPlotDot 123 glPlotLine 123 glPlotPolygon 116 glPlotVPolygon 115 glPrintf 120 glPutChar 120 glPutFont 119 glRight1 124 glSetBrushType 121 glSetContrast 113 glSetPfStep 1...

Страница 157: ...set IP address 58 how to use non RCM3305 RCM3315 RabbitNet sample programs 21 LCD keypad module 21 110 KEYBASIC C 104 KEYPADTOLED C 110 LCDKEYFUN C 110 reconfigure keypad 104 SWITCHTOLCD C 110 module...

Страница 158: ...elative pin 1 locations 102 temperature 102 Prototyping Board 84 Rabbit 3000 DC characteris tics 74 Rabbit 3000 timing diagram 72 relative pin 1 locations 70 spectrum spreader 73 settings 35 status by...

Страница 159: ...ing Board Schematic www rabbit com documentation schemat 090 0188 pdf 090 0156 LCD Keypad Module Schematic www rabbit com documentation schemat 090 0156 pdf 090 0128 Programming Cable Schematic www ra...

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

Отзывы: