background image

RabbitCore RCM3750

C-Programmable Core Module

with Ethernet, Serial Flash, and Enhanced Software

User’s Manual

019–0149

070831–E

Summary of Contents for RabbitCore

Page 1: ...RabbitCore RCM3750 C Programmable Core Module with Ethernet Serial Flash and Enhanced Software User s Manual 019 0149 070831 E...

Page 2: ...it 3000 and RabbitCore are trademarks of Rabbit Semiconductor 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 permis...

Page 3: ...4 Run a Sample Program 11 2 4 1 Troubleshooting 11 2 5 Where Do I Go From Here 12 2 5 1 Technical Support 12 Chapter 3 Running Sample Programs 13 3 1 Introduction 13 3 2 Sample Programs 15 3 2 1 Use o...

Page 4: ...s 68 6 4 2 How to Set Up your Computer for Direct Connect 69 6 5 Run the PINGME C Sample Program 70 6 6 Running Additional Sample Programs With Direct Connect 70 6 6 1 RabbitWeb Sample Programs 71 6 6...

Page 5: ...Adjustments for All Boards 123 C 3 Keypad Labeling 124 C 4 Header Pinouts 125 C 4 1 I O Address Assignments 125 C 5 Install Connectors on Prototyping Board 126 C 6 Mounting LCD Keypad Module on the Pr...

Page 6: ...RabbitCore RCM3750...

Page 7: ...llel ports and serial ports The RCM3750 receives regulated DC power from the customer supplied motherboard on which it is mounted The RCM3750 can interface with all kinds of CMOS compatible digital de...

Page 8: ...DLC serial port available at the expense of two of the SPI config urable ports giving you two HDLC ports and one asynchronous SPI serial port Supports 1 15 Mbps IrDA transceiver Table 1 below summariz...

Page 9: ...nguage 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 programs wit...

Page 10: ...uct documentation on disk Getting Started instructions Accessory parts for use on the Prototyping Board Rabbit 3000 Processor Easy Reference poster Registration card Installing Dynamic C Insert the CD...

Page 11: ...interfaces for embedded system control Appendix E provides additional information about the Secure Embedded Web Application Kit Ethernet Connection Kit Part No 101 0963 North American markets and Part...

Page 12: ...le click this icon to reach the menu If the icon is missing use your browser to find and load default htm in the docs folder found in the Dynamic C installation folder Each Dynamic C module has comple...

Page 13: ...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...

Page 14: ...1 D1 D3 D5 D7 GND A3 A1 D0 D2 D4 D6 GND BKLT CS LED1 LED3 LED5 GND GND A2 A0 D1 D3 D5 D7 L2 C1 C2 IR1 R1 R2 R3 R4 Rx Tx R5 R6 C3 R9 R7 R8 JP1 J1 485 GND 485 JP2 R12 R11 U3 C4 C7 C8 C10 R13 C11 U4 C5 C...

Page 15: ...S LED1 LED3 LED5 GND GND A2 A0 D1 D3 D5 D7 L2 C1 C2 IR1 R1 R2 R3 R4 Rx Tx R5 R6 C3 R9 R7 R8 JP1 J1 485 GND 485 JP2 R12 R11 U3 C4 C7 C8 C10 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF...

Page 16: ...The RCM3750 and the Prototyping Board are now ready to be used NOTE A RESET button is provided on the Prototyping Board to allow a hardware reset without disconnecting power 2 2 3 1 Overseas Developme...

Page 17: ...begin debugging it is possible that your PC cannot handle the default debugging baud rate Try lowering the debugging baud rate as follows Locate the Serial Options dialog in the Dynamic C Options Proj...

Page 18: ...d and the optional LCD keypad module For advanced development topics refer to the Dynamic C User s Manual and the Dynamic C TCP IP User s Manual also in the online documentation set 2 5 1 Technical Su...

Page 19: ...l 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 this man...

Page 20: ...rototyping Board or to run another RCM3700 RabbitCore module on the RCM3720 Prototyping Board by adding the following macro to the sample program you will be running To run an RCM3720 RabbitCore modul...

Page 21: ...s used on the RCM3700 Prototyping Board are described in Appendix C Additional sample programs are available online at www rabbit com support down loads downloads_prod shtml DIO c Demonstrates the dig...

Page 22: ...on one Prototyping Board assembly then remove the programming cable and press the RESET button on the Prototyping Board so that the first RabbitCore module is operating in the Run mode Then connect th...

Page 23: ...RS 232 sample programs on an RCM3700 Prototyping Board If you plan to use this pin for something else while you are running any of the RS 232 sample programs comment out the following line BitWrPortI...

Page 24: ...ake sure that Serial Port E is set up as an RS 232 serial port pins 1 3 and pins 2 4 on header JP2 on the Prototyping Board must be jumpered together using the 2 mm jumpers supplied in the Development...

Page 25: ...n A D input channel being used for a differential input using previously defined calibration constants AD_RDMA_CH C Demonstrates how to read an A D input channel being used to con vert analog current...

Page 26: ...es how to read calibrations constants from the user block in flash memory and then transmitting the file using a serial port and a PC serial utility such as Tera Term Use DNLOADCALIB C to download the...

Page 27: ...rical specifications Figure 4 shows the Rabbit based subsystems designed into the RCM3750 Figure 4 RCM3750 Subsystems SRAM 11 MHz osc 32 kHz osc RabbitCore Module Customer supplied external 3 V batter...

Page 28: ...M3750 Pinouts Header J1 is a standard 2 x 20 IDC header with a nominal 0 1 pitch Note These pinouts are as seen on the Bottom Side of the module PA6 PA4 PA2 PA0 PF0 PB2 PB4 PB7 PF5 PF7 PC1 PG2 PC3 PG3...

Page 29: ...abbit 3000 factory defaults and the alternate configurations Port A Port B Port D Ethernet Port Port E PA0 PA7 PB0 PB7 PB2 PB5 PE0 PE1 PE4 PE5 PE7 PD4 PD5 RES IOWR Watchdog 11 Timers Clock Doubler Sla...

Page 30: ...ss 1 Slave port read 14 PB4 Input Output IA2 SA0 External Address 2 Slave Port Address 0 15 PB5 Input Output IA3 SA1 External Address 3 Slave Port Address 1 16 PB7 Input Output IA5 SLAVEATTN External...

Page 31: ...O Strobe 0 Interrupt 0A 30 PG7 Input Output RXE Serial Port E 31 PG6 Input Output TXE 32 IOWR Output External write strobe 33 IORD Output External read strobe 34 PD4 Input Output ATXB Alternate Seria...

Page 32: ...ernet or the LCD keypad module on the Prototyping Board or for any other reason you must add the following line at the begin ning of your program define PORTA_AUX_IO required to enable auxiliary I O b...

Page 33: ...rt once application development has been completed and the RCM3750 is operating in the Run Mode Serial Ports C and D can also be operated in the clocked serial mode In this mode a clock line synchrono...

Page 34: ...programming port uses the Rabbit 3000 s Serial Port A for communication Dynamic C uses the programming port to download and debug programs The programming port is also used for the following operation...

Page 35: ...her cold booted or the program begins executing 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 prog...

Page 36: ...4 Rx Tx R5 R6 C3 R9 R7 R8 JP1 J1 485 GND 485 JP2 R12 R11 U3 C4 C7 C8 C10 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB...

Page 37: ...rogrammed successfully remove the programming cable from the programming connector and reset the RCM3750 The RCM3750 may be reset by cycling the power off on or by pressing the RESET button on the Pro...

Page 38: ...ing 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 clock doubler The clock doubler is enabled...

Page 39: ...o store persistent data The functions writeUser Block and readUserBlock are provided for this Refer to the Rabbit 3000 Micropro cessor Designer s Handbook for additional information A Flash Memory Ban...

Page 40: ...34 RabbitCore RCM3750...

Page 41: ...The advantage of working in RAM is to save wear on the flash memory which is limited to about 100 000 write cycles The disadvantage is that the code and data might not both fit in RAM NOTE An applicat...

Page 42: ...rd 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 dis...

Page 43: ...ode is in the RCM37xx LIB library in the Dynamic C SAMPLES RCM3700 or the SAMPLES RCM3720 folder depending on which Prototyping Board you will be using if you need to modify it for your own board desi...

Page 44: ...e will be displayed to inform you of that You can disable the warning by commenting out the line indicated by the compiler To run an RCM3700 RabbitCore module other than the RCM3720 on an RCM3720 Prot...

Page 45: ...AIN2 LN3 Input AIN3 LN4 Input AIN4 LN5 Input AIN5 LN6 Input AIN6 LN7 Input AIN7 RESET Input Board reset device RISE FALL Input Pulled up for SCLK active on rising edge PIO0 Input Pulled down PIO1 Inp...

Page 46: ...e registers addressed by the instruction byte Enter 0 if you are performing a read operation For example i anaInConfig 0x07 0x3b 0 write ref osc reg and enable baud is the serial clock transfer rate o...

Page 47: ...ws D7 1 D6 D4 Gain Code D3 D0 Channel Code Use the following calculation and the tables below to determine cmd cmd 0x80 gain_code 16 channel_code len the output bit length is always 12 for 11 bit conv...

Page 48: ...750 A value corresponding to the voltage on the analog input channel 0 2047 for 11 bit conversions bit 12 for sign 1 overflow or out of range 2 conversion incomplete busy bit timeout SEE ALSO anaInCon...

Page 49: ...mode of operation SINGLE single ended input DIFF differential input mAMP 4 20 mA input gaincode is the gain code of 0 to 7 unsigned int anaIn unsigned int channel int opmode int gaincode channel SING...

Page 50: ...onding to the voltage on the analog input channel 0 2047 for 11 bit A D conversions signed 12th bit ADOVERFLOW defined macro 4096 if overflow or out of range 4095 if conversion is incomplete or busy b...

Page 51: ...e is the mode of operation SINGLE single ended input DIFF differential input mAMP milliamp input gaincode is the gain code of 0 to 7 int anaInCalib int channel int opmode int gaincode int value1 float...

Page 52: ...er channel value 0 to 20 V or 4 to 20 mA value2 is the second A D converter channel value 0 2047 volts2 is the voltage or current corresponding to the first A D converter channel value 0 to 20 V or 4...

Page 53: ...macro 4096 if overflow or out of range SEE ALSO anaInCalib anaIn anaInmAmps brdInit float anaInVolts unsigned int channel unsigned int gaincode Channel Code Single Ended Input Lines Negative input is...

Page 54: ...he voltage on the analog input channel ADOVERFLOW defined macro 4096 if overflow or out of range SEE ALSO anaInCalib anaIn anaInmAmps brdInit float anaInDiff unsigned int channel unsigned int gaincode...

Page 55: ...RETURN VALUE A current value between 4 00 and 20 00 mA corresponding to the current on the analog input channel ADOVERFLOW defined macro 4096 if overflow or out of range SEE ALSO anaInCalib anaIn anaI...

Page 56: ...nalog input channels ADC_CALIB_ADDRD address start of differential analog input channels ADC_CALIB_ADDRM address start of milliamp analog input channels NOTE This function cannot be run in RAM PARAMET...

Page 57: ...e parameter is ignored when channel is ALLCHAN RETURN VALUE 0 if successful 1 if address is invalid or out of range SEE ALSO anaInEEWr anaInCalib Gain Code Voltage Range V Applies to RCM3700 Prototypi...

Page 58: ...t channels ADC_CALIB_ADDRD address start of differential analog input channels ADC_CALIB_ADDRM address start of milliamp analog input channels NOTE This function cannot be run in RAM PARAMETER channel...

Page 59: ...the RCM3700 Prototyping Board Remember to execute the brdInit function before calling this function to prevent a runtime error PARAMETER statemask is a bitwise mask representing JP4 channels 1 to 4 Us...

Page 60: ...to JP4 4 state is a logic state of 0 or 1 RETURN VALUE None SEE ALSO brdInit digIn Reads the state of a digital input channel on header JP4 of the RCM3700 Prototyping Board The PIO0 to PIO3 channels o...

Page 61: ...eeds For example use WrPortI PEDDR PEDDRShadow 0x00 to set all the Port E bits as inputs or use WrPortI PEDDR PEDDRShadow 0xFF to set all the Port E bits as outputs When using the auxiliary I O bus on...

Page 62: ...re finished transmitting or receiving and nonblocking functions which must be called repeatedly until they are fin ished allowing other functions to be performed between calls For more information see...

Page 63: ...ime operating system as well as PPP Advanced Encryption Standard AES and other select libraries In addition to the Web based technical support included at no extra charge a one year telephone based te...

Page 64: ...58 RabbitCore RCM3750...

Page 65: ...it com 1 Connect the AC adapter and the programming cable as shown in Chapter 2 Getting Started 2 Ethernet Connections There are four options for connecting the RCM3750 module to a network for develop...

Page 66: ...of direct connection to the Internet and other Wide Area Networks but exceptional care should be used with IP address settings and all network related programming and development We recommend that dev...

Page 67: ...e 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 it is als...

Page 68: ...e to run the sample programs without having to set up a direct connection between your computer and the RCM3750 You will also need the IP address of the nameserver the name or IP address of your mail...

Page 69: ...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...

Page 70: ...ce with 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 s...

Page 71: ...hese private address can be used to perform some Internet tasks such as sending e mail or browsing the Web but usually cannot be used to participate in conversations that origi nate elsewhere on the I...

Page 72: ...usually work by disallowing traffic that did not originate from inside the net work If you want users on the Internet to communicate with your RCM3750 you have several options You can either place th...

Page 73: ...nnect your PC and the RCM3750 board together on the same network This network can be a local private net work preferred for initial experimentation and debugging or a connection via the Internet RCM37...

Page 74: ...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 RCM3750 module and 10 1 1 1 for your PC...

Page 75: ...interface 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 runn...

Page 76: ...am BROWSELED C demonstrates how to make the RCM3750 module be a Web server Two LEDs are created on the Web page along with two buttons to toggle them Users can change the status of the lights from the...

Page 77: ...s sample program This program demonstrates adding and monitoring passwords entered via the LCD keypad module HANGMAN_GAME C This sample program based on the children s hangman word guessing game demon...

Page 78: ...s on then turns back off once the message has been marked as read A log of all e mail actions is kept and can be displayed in the Web browser All current e mails can also be read with the Web browser...

Page 79: ...program with the File Open menu then compile and run it by pressing F9 NOTE Since HTTP upload and the Dynamic C SSL module currently do not work together compiling the INTEGRATION C sample program wil...

Page 80: ...switch S1 on the Prototyping Board until LED DS1 blinks rapidly to indicate that it is now safe to turn the RCM3750 off This procedure can be modified by the user to provide other application specific...

Page 81: ...User s Manual 75 APPENDIX A RCM3750 SPECIFICATIONS Appendix A provides the specifications for the RCM3750 and describes the conformal coating...

Page 82: ...ootprint diagram later in this appendix for precise header locations R37 DS3 J3 L4 DS2 DS1 R32 C55 R30 R34 C80 2 R39 R40 C79 Y3 4 1 R44 R46 R45 T1 U4 U6 J2 JP3 JP1 C7 U3 U1 R18 C35 RP1 RP2 R24 R36 R2...

Page 83: ...includes other printed circuit boards An exclusion zone of 0 16 4 mm is recom mended below the RCM3750 when the RCM3750 is plugged into another assembly using the shortest connectors for header J1 Fig...

Page 84: ...HDLC with IrDA or 1 clocked serial port SPI plus 2 HDLC serial ports with IrDA Serial Rate Maximum asynchronous baud rate CLK 8 Slave Interface A slave port allows the RCM3750 to be used as an intell...

Page 85: ...ut of another board for the RCM3750 to be plugged into These values are relative to the designated fiducial reference point Figure A 3 User Board Footprint for RCM3750 Connectors One 2 x 20 0 1 pitch...

Page 86: ...acitive bus loading for the various RCM3750 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 3 Table A...

Page 87: ...an 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 Tw T1 Tw...

Page 88: ...p 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 pla...

Page 89: ...s 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 Maximum Oper...

Page 90: ...absolute 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 RCM3750 Under certain conditio...

Page 91: ...area may 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 a...

Page 92: ...umper Positions Table A 8 lists the configuration options NOTE The jumper connections are made using 0 surface mounted resistors Table A 8 RCM3750 Jumper Configurations Header Description Pins Connect...

Page 93: ...nsceiver LEDs and switches as well as a prototyping area for more advanced hardware development The RCM3720 Prototyping Board was designed specifically for the Ethernet Connection Kit and only has the...

Page 94: ...5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 PG3 GND RXC TXC RXE GND NC U1 C12 C13 C15 C14 L1 C17 U2...

Page 95: ...re con nected to the PF4 and PB7 pins of the RCM3750 module and may be read as inputs by sample applications Two LEDs are connected to the PF6 and PF7 pins of the RCM3750 module and may be driven as o...

Page 96: ...installed at J2 allows you to connect a ribbon cable that leads to a standard DE 9 serial connector RS 485 One RS 485 serial port is available on the Prototyping Board at shrouded header J1 A 3 pin s...

Page 97: ...3 C15 C14 L1 C17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET 5V VBAT PD5 IORD PG6_TXE PE0 PE4 PE7 PC2_TXC PC0_TXD PF6...

Page 98: ...CM3700 Prototyping Board Specifications Parameter Specification Board Size 4 50 6 50 0 75 114 mm 165 mm 19 mm Operating Temperature 20 C to 60 C Humidity 5 to 95 noncondensing Input Voltage 7 5 V to 3...

Page 99: ...s the RCM3700 Prototyping Board pinouts Figure B 4 RCM3700 Prototyping Board Pinout J2 GND TxD RxD TxE GND GND RxC TxC RxE J9 J1 J7 GND IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PC3 PG3 PC2...

Page 100: ...ble on the RCM3700 Prototyping Board The holes in the prototyping area are spaced at 0 1 2 5 mm 3 3 V 5 V and GND traces run along both edges of the prototyping area for easy access Small to medium ci...

Page 101: ...A D converter input circuits The resistors form an approx 10 1 attenuator and the capacitor filters noise pulses from the A D converter input Figure B 5 A D Converter Inputs The A D converter chip can...

Page 102: ...program and so is not available for use as a differential input There is also no resistor attenuator for THERM_IN7 so its input voltage range is limited Differential measurements require two channels...

Page 103: ...OR C sample program which demon strates how to use analog input THERM_IN7 to calculate temperature for display to the Dynamic C STDIO window The sample program is targeted specifically for the thermis...

Page 104: ...The internal buffer can source up to 20 mA and sink only up to 20 A A separate buffer amplifier at U7 supplies the load current The A D converter s CONVERT pin is available on pin 2 of shrouded heade...

Page 105: ...calibration is performed and the jumper is subsequently moved the corresponding input s must be recalibrated The calibration table in software only holds calibration constants based on mode channel a...

Page 106: ...l Port E is configured in hardware for RS 232 or RS 485 via jumpers on header JP2 as shown in Section B 1 8 Serial Port F is configured in software for the IrDA transceiver in lieu of Serial Ports C a...

Page 107: ...15 m RS 232 flow control on an RS 232 port is initiated in software using the serXflowcon trolOn function call from RS232 LIB where X is the serial port C or D The locations of the flow control lines...

Page 108: ...serEopen define ser485close serEclose define ser485wrFlush serEwrFlush define ser485rdFlush serErdFlush define ser485putc serEputc define ser485getc serEgetc define EINBUFSIZE 15 define EOUTBUFSIZE 1...

Page 109: ...17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET 5V VBAT PD5 IORD PG6_TXE PE0 PE4 PE7 PC2_TXC PC0_TXD PF6 PF4 PB5 PB3 P...

Page 110: ...M3700 Prototyping Board The signals on headers LCD1JB and LCD1JC will be available only if the LCD keypad module is installed Refer to Appendix C LCD Keypad Module for complete information CAUTION Pin...

Page 111: ...Configurations Figure B 10 shows the header locations used to configure the various RCM3700 Prototyp ing Board options via jumpers Figure B 10 Location of RCM3700 Prototyping Board Configurable Positi...

Page 112: ...position for jumpers JP2 RS 232 RS 485 on Serial Port E 1 3 2 4 RS 232 3 5 4 6 RS 485 JP4 A D Converter Outputs 1 PIO_0 n c 2 PIO_1 n c 3 PIO_2 n c 4 PIO_3 n c JP5 ADC_IN4 ADC_IN5 1 2 Tied to VREF 2 3...

Page 113: ...dule PC2 Output TXC RS 232 Serial Port C High set by drivers PC3 Input RXC RS 232 Pulled up core module PC4 Output TXB Serial Flash Serial Port B High set by drivers PC5 Input RXB Serial Flash Pulled...

Page 114: ...nput Switch S1 Pulled up Proto Board PF5 Output RS 485 Tx enable Pulled down Proto Board PF6 Output LED DS1 High PF7 Output LED DS2 High PG0 PG1 Input Not used Pulled up Proto Board PG2 Input TXF IrDA...

Page 115: ...5V VBAT PD5 IORD PG6 PE0 PE4 PE7 PC2 PB3 PB0 PF1 PA1 PA3 PA5 PA7 PC0 PF6 PF4 PB5 GND GND RES PD4 IOWR PG7 PE1 PE5 PC3 PG3 PC1 PG2 PF7 PF5 PB7 PB4 PB2 PF0 PA0 PA2 PA4 PA6 GND GND RES PD4 IOWR PG7 PE1 P...

Page 116: ...d PF7 pins of the RCM3720 module and may be driven as output indicators by sample applications Prototyping Area A generous prototyping area has been provided for the installation of through hole compo...

Page 117: ...PC3 PG3 PC1 PG2 PF1 PF5 PB7 PB4 PB2 PF0 PA0 PA2 PA4 PA6 5V VBAT PD5 IORD PG6 PE0 PE4 PE7 PC2 PC0 PF6 PF4 PB5 PB3 PB0 PF1 PA1 PA3 PA5 PA7 J4 PF4 PB7 PF6 PF7 SW1 SW2 DS1 DS2 J3 J1 J6 U2 C7 C2 C9 D1 C1 C...

Page 118: ...as shown in Figure B 13 Figure B 13 RCM3720 Prototyping Board Power Supply Table B 7 RCM3720 Prototyping Board Specifications Parameter Specification Board Size 3 856 4 400 0 37 114 mm 165 mm 9 mm Ope...

Page 119: ...onstrate the functionality of the RCM3720 right out of the box without any modifications Figure B 14 shows the RCM3720 Prototyping Board pinouts Figure B 14 RCM3720 Prototyping Board Pinout J2 GND RxD...

Page 120: ...n be installed The 2 20 header Part No 405 0016 can be purchased through our online store To maximize the availability of resources the demonstration hardware LEDs and switches on the Prototyping Boar...

Page 121: ...a the 5 V and ground traces and the surrounding area where surface mount components may be installed Small holes are provided around the surface mounted components that may be installed around the pro...

Page 122: ...hip translates the Rabbit 3000 s signals to RS 232 signal levels Note that the polarity is reversed in an RS 232 circuit so that a 5 V output becomes approximately 10 V and 0 V is output as 10 V The R...

Page 123: ...r D The locations of the flow control lines are specified using a set of five macros SERX_RTS_PORT Data register for the parallel port that the RTS line is on e g PCDR SERA_RTS_SHADOW Shadow register...

Page 124: ...rt C High set by drivers PC3 Input RXC RS 232 Pulled up core module PC4 Output TXB Serial Flash Serial Port B High set by drivers PC5 Input RXB Serial Flash Pulled up core module PC6 Output TXA Progra...

Page 125: ...Not used High PF6 Output LED DS1 High PF7 Output LED DS2 High PG0 PG1 Output Not used High PG2 Input Not used Pulled up core module tied to PC1 PG3 Input Not used Pulled up core module tied to PC3 PG4...

Page 126: ...120 RabbitCore RCM3750...

Page 127: ...the Prototyping Board They are shown in Figure C 1 Figure C 1 LCD Keypad Modules Versions Only the version without the bezel can mount directly on the Prototyping Board if you have the version with a...

Page 128: ...1 5 W maximum The backlight adds approximately 650 mW to the power consumption Connections Connects to high rise header sockets on the RCM3700 Prototyping Board LCD Panel Size 122 x 32 graphic displa...

Page 129: ...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 keypad...

Page 130: ...egend 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...

Page 131: ...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...

Page 132: ...10 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC...

Page 133: ...C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET 5V VBAT PD5 IORD PG6_TXE PE0 PE4 PE7 PC2_TXC PC0_TXD PF6 PF4 PB5 PB3 PB0 PF1...

Page 134: ...el mount installation 1 Cut mounting holes in the mounting panel in accordance with the recommended dimen sions in Figure C 9 then use the bezel faceplate to mount the LCD keypad module onto the panel...

Page 135: ...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 un...

Page 136: ...LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET 5V VBAT PD5 IORD PG6_TXE PE0 PE4 PE7 PC2_TXC PC0_TXD PF6 PF4 PB5 PB3 PB0 PF1 PA1 PA3 PA5 PA7 J5 GND R16 GND RES PD4 IOWR PE1 PE5 PC3 PG3...

Page 137: ...ing 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 an LED on the...

Page 138: ...call RETURN VALUE None C 9 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 re...

Page 139: ...ight glSetContrast glPlotDot glBlock glPlotDot glPlotPolygon glPlotCircle glHScroll glVScroll glXFontInit glPrintf glPutChar glSetBrushType glBuffLock glBuffUnlock glPlotLine Turns the display backlig...

Page 140: ...lotPolygon 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 co...

Page 141: ...l 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 aligned...

Page 142: ...SEE 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 outsid...

Page 143: ...te 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 screen i...

Page 144: ...buffer 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 o...

Page 145: ...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 address of...

Page 146: ...tep 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 RETU...

Page 147: ...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 respe...

Page 148: ...buffer 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...

Page 149: ...he 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 it s fas...

Page 150: ...ordinate 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 glPlotPolygo...

Page 151: ...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 window...

Page 152: ...8 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 mus...

Page 153: ...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...

Page 154: ...ow 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 TextW...

Page 155: ...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 displays t...

Page 156: ...ALSO 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 win...

Page 157: ...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 displaye...

Page 158: ...er 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 N...

Page 159: ...turned 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 which is ap...

Page 160: ...assignment 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...

Page 161: ...eyConfig 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 keypress...

Page 162: ...156 RabbitCore RCM3750...

Page 163: ...onboard 3 3 V linear power regulator that provides the 3 3 V supply to operate the microprocessor related circuitry of the RCM3750 Figure D 1 shows the power supply circuit Figure D 1 RCM3750 Power S...

Page 164: ...the battery The RCM3750 does not drain the battery while it is powered up normally Cycle the main power off on on the RCM3750 after you install a backup battery for the first time and whenever you re...

Page 165: ...ation Kit Software Modules on CD ROM 1 Dynamic C FAT File System module The Dynamic C FAT File Allocation Table File System module provides a ready to run flash based file system that works with a Dyn...

Page 166: ...the soft ware features associated with each Dynamic C module The SAMPLES FILESYSTEM folder contains sample programs that demonstrate the use of the Dynamic C FAT file system The SAMPLES TCPIP RABBITWE...

Page 167: ...LCD keypad module 121 LCD keypad template 124 RCM3700 Prototyping Board 91 RCM3720 Prototyping Board 111 RCM3750 76 Dynamic C 5 7 11 35 add on modules 5 7 57 FAT file system module 159 installation 7...

Page 168: ...le 138 glFillPolygon 138 glFillRegion 134 glFillScreen 134 glFillVPolygon 137 glFontCharAddr 139 glGetBrushType 143 glGetPfStep 140 glHScroll 146 glInit 133 glLeft1 144 glPlotCircle 138 glPlotDot 144...

Page 169: ...19 THERMISTOR C 19 97 UPLOADCALIB C 20 configuring to run on a Prototyping Board 14 FAT file system FMT_DEVICE C 73 FAT file system module 160 getting to know the RCM3750 CONTROLLED C 16 DIO C 15 FLA...

Page 170: ...ative pin 1 locations 122 temperature 122 Rabbit 3000 DC characteris tics 83 Rabbit 3000 timing dia gram 81 RCM3700 Prototyping Board 92 RCM3720 Prototyping Board 112 relative pin 1 locations 79 spect...

Page 171: ...g Board Schematic www rabbit com documentation schemat 090 0199 pdf 090 0156 LCD Keypad Module Schematic www rabbit com documentation schemat 090 0156 pdf 090 0128 Programming Cable Schematic www rabb...

Page 172: ......

Reviews: