background image

Distributor of Digi International: Excellent Integrated System Limited

Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS 
Contact us: [email protected] Website: www.integrated-circuit.com

 

 

Excellent Integrated System Limited

Excellent Integrated System Limited

Stocking Distributor

Stocking Distributor

Click to view price, real time Inventory, Delivery & Lifecycle Information:

Click to view price, real time Inventory, Delivery & Lifecycle Information:

Digi International

Digi International

20-101-1194

20-101-1194

 

 

 

 

For any questions, you can email us directly:

For any questions, you can email us directly:

[email protected]

[email protected]

                            1 / 191

                            1 / 191

Summary of Contents for RabbitCore RCM3309

Page 1: ...ited Excellent Integrated System Limited Stocking Distributor Stocking Distributor Click to view price real time Inventory Delivery Lifecycle Information Click to view price real time Inventory Delive...

Page 2: ...ited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com RabbitCore RCM3309 RCM3319 C Programmable Core Module with Seria...

Page 3: ...improvements to its products without providing notice Trademarks Rabbit RabbitCore and Dynamic C are registered trademarks of Digi International Inc No part of the contents of this manual may be repro...

Page 4: ...2 Step 2 Connect Programming Cable 11 2 2 3 Step 3 Connect Power 12 2 3 Starting Dynamic C 13 2 4 Run a Sample Program 13 2 4 1 Troubleshooting 13 2 5 Where Do I Go From Here 14 2 5 1 Technical Suppo...

Page 5: ...C 49 5 3 1 Extras 49 Chapter 6 Using the TCP IP Features 51 6 1 TCP IP Connections 51 6 2 TCP IP Primer on IP Addresses 53 6 2 1 IP Addresses Explained 55 6 2 2 How IP Addresses are Used 56 6 2 3 Dyna...

Page 6: ...rts 100 Appendix C LCD Keypad Module 103 C 1 Specifications 103 C 2 Contrast Adjustments for All Boards 105 C 3 Keypad Labeling 106 C 4 Header Pinouts 107 C 4 1 I O Address Assignments 107 C 5 Mountin...

Page 7: ...Digi International Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com RabbitCore RC...

Page 8: ...the circuitry necessary for management of battery backup of the Rabbit 3000 s internal real time clock and the static RAM Two 34 pin headers bring out the Rabbit 3000 I O bus lines parallel ports and...

Page 9: ...program execution SRAM 512K data SRAM 4MB 8MB mass storage flash memory options which are required to run the Dynamic C FAT file system module and the featured remote application update Real time cloc...

Page 10: ...he featured remote application update or the Dynamic C download manager with or without a RabbitLink Appendix A provides detailed specifications for the RCM3309 and the RCM3319 Table 1 RCM3309 RCM3319...

Page 11: ...ACT LEDs have been combined to one LED on the RCM3309 RCM3319 and the RCM3309 RCM3319 has an FDX COL LED instead of the SF LED on the RCM3305 RCM3315 The SF LED on the RCM3305 RCM3315 blinks when data...

Page 12: ...ve pricing when compared with the alternative of purchasing and assembling individual components Easy C language program development and debugging Program download utility Rabbit Field Utility and clo...

Page 13: ...tCore 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 directory of the Dyna...

Page 14: ...hase Visit our Web site at www rabbit com for further information and complete documentation or contact your Rabbit sales representative or authorized distributor 1 4 3 Connectivity Interface Kits Rab...

Page 15: ...Digi International Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com 8 RabbitCore R...

Page 16: ...rt Run menu or Windows Disk Explorer to launch setup exe from the root folder of the CD ROM The installation program will guide you through the installation process Most steps of the process are self...

Page 17: ...5 GND GND A2 A0 D1 D3 D5 D7 RABBITNET R44 C28 C27 R43 R46 C30 C29 R45 Q5 R48 R47 DS7 RELAY NO1 COM1 NC1 NO2 COM2 NC2 K1 KEYPAD DISPLAY BOARD D8 LCD1JB LCD1JC V RES LED0 LED2 LED4 LED6 GND A3 A1 D0 D2...

Page 18: ...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 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3...

Page 19: ...velopment Kit presently includes Canada Japan U S Aus tralia N Z U K and European style plugs Snap in the top of the plug assembly into the slot at the top of the AC adapter as shown in Figure 3 then...

Page 20: ...3319 is powered correctly the red core LED on the Prototyping Board should be lit when the RCM3309 RCM3319 is mounted on the Prototyping Board and the AC adapter is plugged in Check both ends of the p...

Page 21: ...to save Press Ctrl Y to force Dynamic C to recompile the BIOS The LEDs on the USB pro gramming cable will blink and you should receive a Bios compiled successfully message 2 5 Where Do I Go From Here...

Page 22: ...tool NOTE The sample programs assume that you have at least an elementary grasp of the C programming language If you do not see the introductory pages of the Dynamic C User s Manual for a suggested re...

Page 23: ...by having you turn the LEDs on the Prototyping Board on or off from the STDIO window on your PC Once you compile and run CONTROLLED C the following display will appear in the Dynamic C STDIO window Pr...

Page 24: ...yping Board This sample program demonstrates how to read and write from to the Serial Flash card 3 2 2 Serial Communication The following sample programs can be found in the SAMPLES RCM3300 SERIAL fol...

Page 25: ...ndow and will display again once TxF is connected back to RxF SWITCHCHAR C This program transmits and then receives an ASCII string on Serial Ports E and F It also displays the serial data received fr...

Page 26: ...Real Time Clock If you plan to use the real time clock functionality in your application you will need to set the real time clock Set the real time clock using the SETRTCKB C sample program from the D...

Page 27: ...Digi International Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com 20 RabbitCore...

Page 28: ...RCM3319 modules Appendix A RCM3309 RCM3319 Specifications provides complete physical and electrical specifications Figure 4 shows the Rabbit based subsystems designed into the RCM3309 RCM3319 Figure 4...

Page 29: ...e RCM3309 RCM3319 Pins 29 32 on header J61 are configured using 0 resistors at locations JP9 JP10 JP7 and JP8 to be PD2 PD3 PD6 and PD7 respectively They may also be reconfigured to carry the Ethernet...

Page 30: ...309 RCM3319 are config urable and so the factory defaults can be reconfigured Table 2 lists the Rabbit 3000 factory defaults and the alternate configurations RABBIT 3000 Port A Port B Port D PA0 PA7 P...

Page 31: ...Serial Port D 16 PC1 Input RXD 17 PC2 Output TXC Serial Port C 18 PC3 Input RXC 19 PC4 Output TXB Serial Port B RCM3309 RCM3319 Not Connected used for onboard serial flash 20 PC5 Input RXB 21 PC6 Out...

Page 32: ...6 PB5 Input Output IA3 SA1 External Address 3 Slave port Address 1 7 PB6 Input Output IA4 External Address 4 8 PB7 Input Output IA5 SLAVEATTN External Address 5 Slave Attention 9 PF4 Input Output AQD...

Page 33: ...pin Header J62 20 PG7 Input Output RXE Serial Port E 21 PG6 Input Output TXE 22 PG5 Input Output RCLKE Serial Clock E input 23 PG4 Input Output TCLKE Serial Clock E ouput 24 IOWR Output External write...

Page 34: ...ired to enable auxiliary I O bus 4 1 2 LEDs The RCM3309 RCM3319 has three Ethernet status LEDs located beside the RJ 45 Ethernet jack these are discussed in Section 4 2 Addiitionally there is one dual...

Page 35: ...e up to the baud rate of the system clock divided by 8 An asynchronous port can handle 7 or 8 data bits A 9th bit address scheme where an additional bit is sent to mark the first byte of a message is...

Page 36: ...ble This search is repeated every second if no Ethernet cable is detected If you do not plan to connect an Ethernet cable use the Dynamic C pd_powerdown function call to turn off the Ethernet chip The...

Page 37: ...bbit Cloning Board In addition to Serial Port A the Rabbit 3000 startup mode SMODE0 SMODE1 status and reset pins are available on the programming port The two startup mode pins determine what happens...

Page 38: ...ELAY RATED 0 5 A 30 V J17 U12 U11 R42 R41 C20 C19 R40 R39 SERIAL FLASH MODEM J7 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 M...

Page 39: ...a a similar arrangement on a customer supplied board Once the RCM3309 RCM3319 has been pro grammed successfully remove the programming cable from the programming connector and reset the RCM3309 RCM331...

Page 40: ...iguration macro as shown below NOTE Refer to the Rabbit 3000 Microprocessor User s Manual for more information on the spectrum spreading setting and the maximum clock speed 1 Select the Defines tab fr...

Page 41: ...the Rabbit 3000 Microprocessor Designer s Handbook and the Dynamic C Function Reference Manual for additional information A Flash Memory Bank Select jumper configuration option based on 0 surface moun...

Page 42: ...antage is that the code and data might not both fit in RAM NOTE An application should be run from the program execution SRAM after the pro gramming cable is disconnected Your final code must always be...

Page 43: ...amic C Provision for customers to create their own source code libraries and augment on line help by creating function description block comments using a special format for library functions Standard...

Page 44: ...Via the RabbitLink which allows a Rabbit based target to have programs downloaded to it and debugged with the same ease as exists when the target is connected directly to a PC 2 The RCM3309 RCM3319 h...

Page 45: ...e programs in the Dynamic C SAMPLES RCM3300 folder provide further examples 5 2 2 SRAM Use The RCM3309 RCM3319 have a battery backed data SRAM and a program execution SRAM Dynamic C provides the prote...

Page 46: ...es and the TCP IP functions is provided in the Dynamic C TCP IP User s Manual 5 2 5 Serial Flash Drivers The Dynamic C LIB SerialFlash SFLASH LIB library is used to interface to serial flash memory de...

Page 47: ...evices based on Rabbit microprocessors are described in the Dynamic C Function Reference Manual 5 2 6 1 Board Initialization brdInit void brdInit void DESCRIPTION Call this function at the beginning o...

Page 48: ...e of a digital input on headers J5 and J6 on the Prototyping Board Do not use this function call if you configure these pins for alternate use after brdInit is called A runtime error will occur if brd...

Page 49: ...ww integrated circuit com 42 RabbitCore RCM3309 RCM3319 digOut void digOut int channel int value DESCRIPTION Writes a value to an output channel on Prototyping Board header J10 Do not use this functio...

Page 50: ...www integrated circuit com User s Manual 43 5 2 6 3 Switches LEDs and Relay switchIn int switchIn int swin DESCRIPTION Reads the state of a switch input A runtime error will occur if brdInit has not...

Page 51: ...ut void ledOut int led int value DESCRIPTION Controls LEDs on the Prototyping Board and on the RCM3309 RCM3319 A runtime error will occur if brdInit has not been called first PARAMETERS led the LED to...

Page 52: ...layOut void relayOut int relay int value DESCRIPTION Sets the position for the relay common contact The default position is for normally closed contacts A runtime error will occur if brdInit has not b...

Page 53: ...mitter by using one of the following methods 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 af...

Page 54: ...llowing lines at the start of your program define RN_MAX_DEV 10 max number of devices define RN_MAX_DATA 16 max number of data bytes in any transaction define RN_MAX_PORT 2 max number of serial ports...

Page 55: ...et port as a clocked serial port This call is also used by rn_init PARAMETER portnum 0 RETURN VALUE None rn_sp_enable void rn_sp_enable int portnum DESCRIPTION This is a macro that enables or asserts...

Page 56: ...e included at no charge as part of our low cost kits Starting with Dynamic C version 9 60 which is included with the RCM3309 RCM3319 Development Kit Dynamic C includes the popular C OS II real time op...

Page 57: ...Digi International Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com 50 RabbitCore...

Page 58: ...at this time Before proceeding you will need to have the following items If you don t have Ethernet access you will need at least a 10Base T Ethernet card available from your favorite computer supplie...

Page 59: ...development Use a small Ethernet 10Base T hub and connect both the PC s network interface card and the RCM3309 RCM3319 module s Ethernet port to it using standard network cables The following options...

Page 60: ...our private network to the corporate network A similar situation 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...

Page 61: ...et cable along with the network IP address the netmask and the gateway address then you may be able to run the sample programs without having to setup a direct connection between your computer and the...

Page 62: ...ow many IP addresses belong to the local network The netmask is also a 32 bit address expressed in the same form as the IP address An example netmask is 255 255 255 0 This netmask has 8 zero bits in t...

Page 63: ...mined by sending an Ethernet broadcast packet to all devices on the local network asking the device with the desired IP address to answer with its MAC address In this way the table entry can be filled...

Page 64: ...of time and could be a private IP address that is not directly accessible to others on the Internet These addresses can be used to perform some Internet tasks such as sending e mail or browsing the We...

Page 65: ...server These devices attempt to secure the company from unauthorized network traffic and usually work by disallowing traffic that did not originate from inside the net work If you want users on the I...

Page 66: ...monstrating various uses of TCP IP for networking embedded systems These programs require you to connect your PC and the RCM3309 RCM3319 board together on the same network This network can be a local...

Page 67: ...TCPCONFIG at the usual default of 1 which will set the IP configurations to 10 10 6 100 the netmask to 255 255 255 0 and the nameserver and gateway to 10 10 6 1 If you would like to change the defaul...

Page 68: ...trol panel Start Settings Control Panel and then double click the Network icon 2 Select the network interface card used for the Ethernet interface you intend to use e g TCP IP Xircom Credit Card Netwo...

Page 69: ...With Direct Connect The following 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 crea...

Page 70: ...DLP_WEB C This program outlines a basic download program with a Web interface Complete information on the use of these programs is provided in the Remote Application Update instructions which are avai...

Page 71: ...UPRESS_WARNING is available to suppress the warning message Open a Web browser and browse to the device using the IP address from the TCP_ CONFIG LIB library or the URL you assigned to the device The...

Page 72: ...tion specific shutdown tasks 6 7 Where Do I Go From Here NOTE If you purchased your RCM3309 RCM3319 through a distributor or through a Rabbit partner contact the distributor or partner first for techn...

Page 73: ...Digi International Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com 66 RabbitCore...

Page 74: ...of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com User s Manual 67 APPENDIX A RCM3309 RCM3319 SPECIFICATIONS Appendix A provides...

Page 75: ...1 J1 U2 C2 R4 JP1 J2 R5 JP2 JP3 JP4 JP5 R3 Y1 C5 R7 R8 C7 C6 R11 U4 R9 U3 C3 R10 R6 C4 C8 C9 U5 C10 C11 C14 C15 C19 C18 R17 JP7 JP10 JP9 JP8 L1 J3 C22 C23 C27 C33 L2 C35 C12 C16 C20 C21 C24 C13 C17 C2...

Page 76: ...319 in all directions when the RCM3309 RCM3319 is incorporated into an assembly that includes other printed circuit boards An exclusion zone of 0 08 2 mm is recommended below the RCM3309 RCM3319 when...

Page 77: ...Backup Battery Connection for user supplied backup battery to support RTC and data SRAM General Purpose I O 49 parallel digital I 0 lines 43 configurable I O 3 fixed inputs 3 fixed outputs Additional...

Page 78: ...pts 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 modu...

Page 79: ...62 are 2 17 SMT headers with a 2 mm pin spacing J1 the program ming port is a 2 5 header with a 1 27 mm pin spacing Figure A 3 shows the layout of another board for the RCM3309 RCM3319 to be plugged i...

Page 80: ...e A 2 lists the capacitance for the various RCM3309 RCM3319 I O ports Table A 3 lists the external capacitive bus loading for the various RCM3309 RCM3319 output ports Be sure to add the loads for the...

Page 81: ...r external I O read and write cycles Figure A 4 I O Read and Write Cycles No Extra Wait States NOTE IOCSx can be programmed to be active low default or active high Tadr Tadr External I O Read one prog...

Page 82: ...elay TBUFEN the clock to I O buffer enable delay The data setup time delays are similar for both Tsetup and Thold When the spectrum spreader is enabled with the clock doubler every other clock cycle i...

Page 83: ...ing temperature range from TA 55 C to 85 C VDD 3 0 V to 3 6 V Table A 5 Rabbit 3000 Absolute Maximum Ratings Symbol Parameter Maximum Rating TA Operating Temperature 55 to 85 C TS Storage Temperature...

Page 84: ...MHz CPU clock and capacitive loading on address and data lines of less than 100 pF per pin The absolute maximum operating voltage on all I O is 5 5 V Table A 7 shows the AC and DC output drive limits...

Page 85: ...n 1 Figure A 5 Location of RCM3309 RCM3319 Configurable Positions Table A 8 lists the configuration options Table A 8 RCM3309 RCM3319 Jumper Configurations Header Description Pins Connected Factory De...

Page 86: ...J61 pin 31 1 2 TPI 2 3 PD6 JP8 PD7 or TPI Input on J61 pin 32 1 2 TPI 2 3 PD7 JP9 PD2 or TPO Output on J61 pin 29 1 2 TPO 2 3 PD2 JP10 PD3 or TPO Output on J61 pin 30 1 2 TPO 2 3 PD3 JP11 Flash Memor...

Page 87: ...ay be replaced using standard soldering procedures for surface mounted components A new conformal coating should then be applied to offer continuing protection against the effects of moisture and cont...

Page 88: ...Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com User s Manual 81 APPENDIX B PROTOTYPING BOARD Appendix B des...

Page 89: ...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 PB5 PB3 PB0 J8...

Page 90: ...er an RCM3309 RCM3319 module is plugged in correctly on the Prototyping Board and the RCM3309 RCM3319 module is not being reset Relay LED The relay LED lights whenever the Prototyping Board relay is e...

Page 91: ...re RS 232 serial port are available on the Prototyping Board at screw terminal header J14 RS 485 One RS 485 serial port is available on the Prototyping Board at screw termi nal header J14 Quadrature D...

Page 92: ...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 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 P...

Page 93: ...6 V DC switching threshold 0 9 2 3 V typical Digital Outputs 4 sinking outputs 30 V DC 500 mA maximum per channel 8 CMOS level outputs if stepper motor not installed Relay SPDT relay 500 mA 30 V Seria...

Page 94: ...y the application different regulators can be used to supply this voltage The Prototyping Board has an onboard 5 V switching power regulator from which a 3 3 V linear regulator draws its supply Thus b...

Page 95: ...er GND DC GND DS1 J10 J14 J13 J12 Core LED VMB MDB4 MDB3 MDB2 MDB1 VMB GND QD1B QD1A QD2B QD2A 5 v 5 V IN0 IN1 IN2 IN3 GND TxE RxE GND TxF RxF 485 GND 485 OUT00 OUT01 OUT02 OUT03 OUT04 OUT05 OUT06 OUT...

Page 96: ...rom the RCM3309 RCM3319 are used for the serial flash and cannot be accessed via header J13 on the Prototyping Board If you don t plan to use the LCD keypad module additional signals may be brought ou...

Page 97: ...ts are pulled up to 3 3 V as shown in Figure B 5 Figure B 5 Prototyping Board Digital Inputs The four quadrature decoder inputs on screw terminal header J5 may be used as inputs IN4 IN7 To use the PF0...

Page 98: ...hows a wiring diagram for a typical sinking output Figure B 6 Prototyping Board Sinking Digital Outputs B 4 5 Relay Outputs Figure B 7 shows the contact connections for the relay on the Prototyping Bo...

Page 99: ...309 RCM3319 module Table B 2 summarizes the configuration options Serial Port D is configured in software either to allow J7 to be used as a RabbitNet port or to allow J11 to be used as a serial inter...

Page 100: ...to 15 m RS 232 flow control on an RS 232 port is initiated in software using the serXflowcontrolOn function call from LIB RS232 LIB where X is the serial port E or F The locations of the flow control...

Page 101: ...ial Port C is configured in software for RS 485 as follows define ser485open serCopen define ser485close serCclose define ser485wrFlush serCwrFlush define ser485rdFlush serCrdFlush define ser485putc s...

Page 102: ...2 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 PB5 PB3 PB0 J8 NC 3 3 V VRA...

Page 103: ...D S 7 R E LA Y N O 1 C O M 1 N C 1 N O 2 C O M 2 N C 2 K1 KEYPAD DISPLAY BOARD D8 LCD1JB 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...

Page 104: ...jumper settings on headers JP1 and JP2 Table B 3 Stepper Motor Power Supply Options Header Pins Connected Factory Default JP1 1 2 9 10 Onboard power supply to U2 3 4 7 8 External power supply to U2 J...

Page 105: ...sales integrated circuit com Website www integrated circuit com 98 RabbitCore RCM3309 RCM3319 B 5 Prototyping Board Jumper Configurations Figure B 12 shows the header locations used to configure the v...

Page 106: ...Default JP1 Stepper Motor Power Supply Options U2 1 2 9 10 Onboard power supply 3 4 7 8 External power supply JP2 Stepper Motor Power Supply Options U3 1 2 9 10 Onboard power supply 3 4 7 8 External p...

Page 107: ...PB2 PB5 Address Bus LCD keypad module J6 High PB6 PB7 Address Bus J6 High PC0 Output TXD SPI SF1000 serial flash J7 Serial Port D High disabled PC1 Input RXD SPI SF1000 serial flash J7 High disabled...

Page 108: ...disabled PG0 Input Switch S1 High PG1 Input Switch S2 High PG2 Input TXF RS 232 Serial Port F High disabled PG3 Input RXF RS 232 High disabled PG4 Output Motor driver A enable High disabled PG5 Outpu...

Page 109: ...igi International Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com 102 RabbitCore...

Page 110: ...keypad modules with or without a panel mounted NEMA 4 water resistant bezel are available for use with the Prototyping Board They are shown in Figure C 1 Figure C 1 LCD Keypad Modules Versions Only t...

Page 111: ...g Range 0 C to 50 C Storage Range 40 C to 85 C Humidity 5 to 95 noncondensing Power Consumption 1 5 W maximum The backlight adds approximately 650 mW to the power consumption Connections Connects to h...

Page 112: ...rast on the LCD display of pre 2005 LCD keypad modules by adjust ing the potentiometer at R2 or by setting the voltage for 3 3 V by connecting the jumper across pins 3 4 on header J5 as shown in Figur...

Page 113: ...gn your own keypad label insert Figure C 4 Keypad Template To replace the keypad legend remove the old legend and insert your new legend prepared according to the template in Figure C 4 The keypad leg...

Page 114: ...ypad module are addressed by the CS strobe as explained in Table C 2 Table C 2 LCD Keypad Module Address Assignment Address Function 0xE000 Device select base address CS 0xExx0 0xExx7 LCD control 0xEx...

Page 115: ...0 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 BOARD S1 RESET J9 S2 S3 ACT PD7 PD3 PD5 PG3 PG1...

Page 116: ...w to bezel mount the LCD keypad module designed for remote installation Follow these steps for bezel mount installation 1 Cut mounting holes in the mounting panel in accordance with the recommended di...

Page 117: ...of the panel Figure C 9 LCD Keypad Module Mounted in Panel rear view Carefully tighten the screws until the gasket is compressed and the plastic bezel face plate is touching the panel Do not tighten e...

Page 118: ...ODE1 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 PA0 PA2 PA4 PA6 STAT LINK PD6 PD2 PD4 PG2 PG0...

Page 119: ...19 must be connected to a PC using the programming cable as described in Chapter 2 Getting Started Complete information on Dynamic C is provided in the Dynamic C User s Manual KEYPADTOLED C This progr...

Page 120: ...e LCD keypad module uses the external I O bus on the Rabbit 3000 chip Remember to add the line define PORTA_AUX_IO to the beginning of any programs using the auxiliary I O bus C 8 1 LCD Keypad Module...

Page 121: ...o 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 Dynamic C LIB DISPLAYS LCD122KEY7 LIB library...

Page 122: ...m 0 to 121 and y can range from 0 to 31 These numbers represent pixels from the top left corner of the display glInit void glInit void DESCRIPTION Initializes the display devices clears the screen RET...

Page 123: ...int onOff DESCRIPTION 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 VA...

Page 124: ...rn DESCRIPTION Fills the LCD display screen with a pattern PARAMETER The screen will be set to all black if pattern is 0xFF all white if pattern is 0x00 and vertical stripes for any other pattern RETU...

Page 125: ...ctangular 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 the x coordinate of the top left corner of th...

Page 126: ...er with the pattern specified The block left and width parameters must be byte aligned Any portion of the block that is outside the LCD display area will be clipped PARAMETERS left the x coordinate of...

Page 127: ...eight DESCRIPTION Clears a region on the LCD display The block left and width parameters must be byte aligned Any portion of the block that is outside the LCD display area will be clipped PARAMETERS l...

Page 128: ...e block top the y coordinate of the top left corner of the block width the width of the block height the height of the block RETURN VALUE None SEE ALSO glFillScreen glBlankScreen glPlotPolygon glPlotC...

Page 129: ...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 specified the function will r...

Page 130: ...int pFirstCoord DESCRIPTION Fills a polygon in the LCD page buffer and on the LCD screen if the buffer is unlocked Any portion of the polygon that is outside the LCD display area will be clipped If f...

Page 131: ...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 specified the function will retur...

Page 132: ...the x coordinate of the center of the circle yc the y coordinate of the center of the circle rad the radius of the center of the circle in pixels RETURN VALUE None SEE ALSO glFillCircle glPlotPolygon...

Page 133: ...DESCRIPTION Initializes the font descriptor structure where the font is stored in xmem Each font character s bitmap is column major and byte aligned PARAMETERS pInfo a pointer to the font descriptor...

Page 134: ...LUE xmem address of bitmap character font column major and byte aligned SEE ALSO glPutFont glPrintf glPutFont void glPutFont int x int y fontInfo pInfo char code DESCRIPTION Puts an entry from the fon...

Page 135: ...ltiplied by the step values PARAMETERS stepX the glPrintf x step value stepY the glPrintf y step value RETURN VALUE None SEE ALSO Use glGetPfStep to examine the current x and y printing step direction...

Page 136: ...functions and the graphic li brary The STDIO string formatting function will call this function one character at a time until the entire formatted string has been parsed Any portion of the bitmap char...

Page 137: ...d all others are skipped For example b t n and r ASCII backspace tab new line and carriage return respectively will be printed if they exist in the font set but will not have any effect as control cha...

Page 138: ...to the LCD if the counter is non zero NOTE glBuffLock and glBuffUnlock can be nested up to a level of 255 but be sure to balance the calls It is not a requirement to use these procedures but a set of...

Page 139: ...ransferred to the LCD if the counter is zero RETURN VALUE None SEE ALSO glBuffUnlock glBuffLock _glSwapData located in the library specifically for the LCD that you are using glSetBrushType void glSet...

Page 140: ...RIPTION Gets a bitmap from the LCD page buffer and stores it in xmem RAM This function automatically calls glXGetFastmap if the left edge of the bitmap is byte aligned and the left edge and width are...

Page 141: ...o glXPutBitmap except that it s faster The bitmap must be byte aligned Any portion of a bitmap image or character that is outside the LCD display area will be clipped This function call is intended fo...

Page 142: ...ARAMETERS x the x coordinate of the dot y the y coordinate of the dot RETURN VALUE None SEE ALSO glPlotline glPlotPolygon glPlotCircle glPlotLine void glPlotLine int x0 int y0 int x1 int y1 DESCRIPTIO...

Page 143: ...int left int top int cols int rows DESCRIPTION Scrolls byte aligned window left one pixel right column is filled by current pixel type color PARAMETERS left the top left corner of bitmap must be even...

Page 144: ...left int top int cols int rows DESCRIPTION Scrolls byte aligned window right one pixel left column is filled by current pixel type color PARAMETERS left the top left corner of bitmap must be evenly di...

Page 145: ...int left int top int cols int rows DESCRIPTION Scrolls byte aligned window up one pixel bottom column is filled by current pixel type color PARAMETERS left the top left corner of bitmap must be evenly...

Page 146: ...left int top int cols int rows DESCRIPTION Scrolls byte aligned window down one pixel top column is filled by current pixel type color PARAMETERS left the top left corner of bitmap must be evenly div...

Page 147: ...will be verified for the following 1 The left and cols parameters will be verified that they are evenly divisible by 8 If not they will be truncated to a value that is a multiple of 8 2 Parameters wil...

Page 148: ...be verified for the following 1 The left and cols parameters will be verified that they are evenly divisible by 8 If not they will be truncated to a value that is a multiple of 8 2 Parameters will be...

Page 149: ...map in the specified space The data for the bitmap are stored in xmem This function calls glXPutFastmap automatically if the bitmap is byte aligned the left edge and the width are each evenly divisibl...

Page 150: ...itmap are stored in xmem This function is like glXPutBitmap except that it is faster The restriction is that the bitmap must be byte aligned Any portion of a bitmap image or character that is outside...

Page 151: ...dow feature provides end of line wrapping and clipping after the character in the last column and row is displayed NOTE Execute the TextWindowFrame function before other Text functions PARAMETERS wind...

Page 152: ...cute the TextWindowFrame function before using this function PARAMETERS wPtr a pointer to the window frame descriptor border the border style SINGLE_LINE The function will draw a single line border ar...

Page 153: ...tBorderInit function executes NOTE Execute the TextWindowFrame function before using this function PARAMETER wPtr a pointer to the window frame descriptor RETURN VALUE None SEE ALSO TextBorderInit Tex...

Page 154: ...n windowFrame window int col int row DESCRIPTION Gets the current cursor location that was set by a graphic Text function NOTE Execute the TextWindowFrame function before using this function PARAMETER...

Page 155: ...ays a character on the display where the cursor is currently pointing Once a char acter is displayed the cursor will be incremented to the next character position If any portion of a bitmap character...

Page 156: ...n are also recognized All other escape sequences will be skipped over for example b and t will will cause nothing to be displayed The text window feature provides end of line wrapping and clipping af...

Page 157: ...TextWindowFrame function before using this function PARAMETER wPtr a pointer to the window frame descriptor RETURN VALUE The maximum number of characters that can be displayed within the text window...

Page 158: ...09 ROHS Contact us sales integrated circuit com Website www integrated circuit com User s Manual 151 C 8 4 Keypad The functions used to control the keypad are contained in the Dynamic C LIB KEYPADS KE...

Page 159: ...ackets User Keypad Interface cPress a keypress code An 8 bit value is returned when a key is pressed 0 Unused See keypadDef for default press codes cRelease a key release code An 8 bit value is return...

Page 160: ...tegrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com User s Manual 153 keyConfig contined RETURN V...

Page 161: ...Core RCM3309 RCM3319 keyProcess void keyProcess void DESCRIPTION Scans and processes keypad data for key assignment debouncing press and release and repeat NOTE This function is also able to process a...

Page 162: ...MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com User s Manual 155 keyUnget int keyUnget char cKey DESCRIPTION Pushes the value of cKey to the...

Page 163: ...ad physical mapping where L represents Left Scroll U represents Up Scroll D represents Down Scroll R represents Right Scroll represents Page Down represents Page Up E represents the ENTER key Example...

Page 164: ...d circuit com Website www integrated circuit com User s Manual 157 keyScan void keyScan char pcKeys DESCRIPTION Writes 1 to each row and reads the value The position of a keypress is indicated by a ze...

Page 165: ...igi International Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com 158 RabbitCore...

Page 166: ...res a regulated 3 15 V to 3 45 V DC power source An RCM3309 RCM3319 with no loading at the outputs operating at 44 2 MHz typically draws 350 mA D 1 1 Battery Backup The RCM3309 RCM3319 does not have a...

Page 167: ...or circuit from the backup battery should the RCM3309 RCM3319 experience a loss of main power NOTE Remember to cycle the main power off on any time the RCM3309 RCM3319 is removed from the Protoyping B...

Page 168: ...age drops below the voltage necessary for reliable operation The reset occurs between 2 85 V and 3 00 V typically 2 93 V The RCM3309 RCM3319 has a reset pin pin 28 on header J4 This pin provides acces...

Page 169: ...igi International Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com 162 RabbitCore...

Page 170: ...o connect periph eral cards to a master and to allow them to communicate with each other E 1 1 RabbitNet Connections All RabbitNet connections are made point to point A RabbitNet master port can only...

Page 171: ...igurable as current mea surement and differential input pairs 2 5 V reference voltage is available on the con nector The following connectors are used Signal 0 1 friction lock connectors Power 0 156 f...

Page 172: ...e of the cable Although a peripheral card could theoretically be up to 45 m 150 ft from the master for a data rate of 1 MHz Rabbit recommends a practical limit of 10 m 33 ft Connections between periph...

Page 173: ...tializes or disables a specified RabbitNet port on the master single board computer During initialization the network is enumerated and relevant tables are filled in If the port is already initialized...

Page 174: ...ation from a given physical node address This function will check device information to determine that the peripheral card is connected to a master PARAMETER pna the physical node address indicated as...

Page 175: ...oductid product id char productrev product rev char coderev code rev long serialnum serial number Use a maximum of 3 macros for the search criteria RN_MATCH_PORT match port bitmask RN_MATCH_PNA match...

Page 176: ...sends back the character the master sent This function will check de vice information to determine that the peripheral card is connected to a master PARAMETERS handle an address index to device inform...

Page 177: ...e that the peripheral card is connected to a master PARAMETERS handle is an address index to device information Use rn_device or rn_find to establish the handle regno is the command register number as...

Page 178: ...the peripheral card is connected to a master PARAMETERS handle is an address index to device information Use rn_device or rn_find to establish the handle regno is the command register number as design...

Page 179: ...xecute the application Allow 1 5 seconds after the reset has completed before accessing the peripheral card This func tion will check peripheral card information to determine that the peripheral card...

Page 180: ...bling the software watchdog timer This function will check device information to determine that the periph eral card is connected to a master PARAMETERS handle is an address index to device informatio...

Page 181: ...be disabled except by a hard reset on the peripheral card The software watchdog timer must be updated by software on the master The peripheral card will soft reset if the timeout set by rn_sw_wdt expi...

Page 182: ...this function This function will check device information to determine that the peripheral card is connected to a master PARAMETERS handle is an address index to device information Use rn_device or r...

Page 183: ...N Reads the status of which reset occurred and whether any watchdogs are enabled PARAMETERS handle is an address index to device information Use rn_device or rn_find to establish the handle retdata is...

Page 184: ...o device information Use rn_device or rn_find to establish the handle retdata is a pointer to the return address of the communication byte A set bit indicates which error occurred This register is cle...

Page 185: ...status byte will have the following format for each designated bit 7 6 5 4 3 2 1 0 00 Reserved 01 Ready 10 Busy 11 Device not connected 0 Device 1 Router 0 No error 1 Communication error Use the func...

Page 186: ...Board 85 RCM3309 RCM3319 68 Dynamic C 7 9 13 35 add on modules 9 49 installation 9 battery backed SRAM 38 libraries RCM33xx LIB 40 RN_CFG_RCM33 LIB 40 protected variables 38 Rabbit Embedded Security P...

Page 187: ...keyProcess 154 keyScan 157 keyUnget 155 keypad template 106 LCD display function calls glBackLight 115 glBlankRegion 120 glBlankScreen 117 glBlock 121 glBuffLock 131 glBuffUnlock 131 glDispOnOff 116 g...

Page 188: ...ns 2 mounting on Prototyping Board 10 relay function calls relayOut 45 reset 12 use of reset pin 161 RS 485 network termination and bias resis tors 95 Run Mode 31 switching modes 31 S sample programs...

Page 189: ...vers 39 specifications 67 bus loading 73 digital I O buffer sourcing and sinking limits 77 dimensions 68 electrical mechanical and en vironmental 70 exclusion zone 69 header footprint 72 headers 72 LC...

Page 190: ...090 0253 RCM3309 Schematic www rabbit com documentation schemat 090 0253 pdf 090 0188 Prototyping Board Schematic www rabbit com documentation schemat 090 0188 pdf 090 0156 LCD Keypad Module Schematic...

Page 191: ...al Excellent Integrated System Limited Datasheet of 20 101 1194 MODULE RABBITCORE RCM3309 ROHS Contact us sales integrated circuit com Website www integrated circuit com Powered by TCPDF www tcpdf org...

Reviews: