101-0679 Rabbit Semiconductor, 101-0679 Datasheet

KIT DEV RABBIT RCM3600 INTL

101-0679

Manufacturer Part Number
101-0679
Description
KIT DEV RABBIT RCM3600 INTL
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3000r
Type
MPU Moduler
Datasheet

Specifications of 101-0679

Contents
RabbitCore Module, Dev. Board, Cable and Dynamic C® CD-Rom
Processor To Be Evaluated
Rabbit 3000
Interface Type
RS-232
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Operating Supply Voltage
5 V
For Use With/related Products
RCM3600
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
RabbitCore RCM3600
C-Programmable Core Module
User’s Manual
019–0135 • 070831–E

Related parts for 101-0679

101-0679 Summary of contents

Page 1

RabbitCore RCM3600 C-Programmable Core Module User’s Manual 019–0135 • 070831–E ...

Page 2

... Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc. Rabbit 3000 and RabbitCore are trademarks of Rabbit Semiconductor Inc. The latest revision of this manual is available on the Rabbit Semiconductor Web site, www.rabbit.com, for free, unregistered download. Rabbit Semiconductor Inc. ...

Page 3

Chapter 1. Introduction 1.1 RCM3600 Features ...............................................................................................................................1 1.2 Advantages of the RCM3600 ...............................................................................................................3 1.3 Development and Evaluation Tools......................................................................................................4 1.3.1 Development Kit ...........................................................................................................................4 1.3.2 Software ........................................................................................................................................5 1.3.3 Connectivity Interface Kits ...........................................................................................................5 1.3.4 Online Documentation ..................................................................................................................5 Chapter 2. Getting Started 2.1 Install ...

Page 4

Chapter 5. Software Reference 5.1 More About Dynamic C ..................................................................................................................... 33 5.2 Dynamic C Functions......................................................................................................................... 35 5.2.1 Board Initialization ..................................................................................................................... 35 5.2.2 Analog Inputs ............................................................................................................................. 36 5.2.3 Digital I/O................................................................................................................................... 52 5.2.4 Serial Communication Drivers ................................................................................................... 53 5.3 Upgrading Dynamic C ...

Page 5

Appendix D. Power Supply D.1 Power Supplies.................................................................................................................................123 D.1.1 Battery-Backup Circuits...........................................................................................................123 D.1.2 Reset Generator ........................................................................................................................124 Index Schematics User’s Manual 123 125 129 ...

Page 6

RabbitCore RCM3600 ...

Page 7

The RCM3600 is a compact module that incorporates the pow- erful Rabbit ® 3000 microprocessor, flash memory, static RAM, and digital I/O ports. The Development Kit has what you need to design your own microprocessor-based system: a complete Dynamic C ...

Page 8

Real-time clock • Watchdog supervisor • Connections via header J1 for customer-supplied backup battery • 10-bit free-running PWM counter and four pulse-width registers • Two-channel Input Capture can be used to time input signals from various port pins • ...

Page 9

Advantages of the RCM3600 • Fast time to market using a fully engineered, “ready-to-run/ready-to-program” micro- processor core. • Competitive pricing when compared with the alternative of purchasing and assembling individual components. • Easy C-language program development and debugging • ...

Page 10

... Dynamic C CD-ROM, with complete product documentation on disk. • Getting Started instructions. • Accessory parts for use on the Prototyping Board. • Rabbit 3000 Processor Easy Reference poster. • Registration card. Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc. Figure 1. RCM3600 Development Kit 4 RabbitCore RCM3600 ...

Page 11

... Rabbit Semiconductor has available an interface kit to allow you to provide a wireless interface to the RCM3600. • 802.11b Wi-Fi Add-On Kit (Part No. 101-0999)—The Wi-Fi Add-On Kit for the RCM3600/RCM3700 footprint consists of an RCM3600/RCM3700 Interposer Board, a Wi-Fi CompactFlash card with a CompactFlash Wi-Fi Board, a ribbon interconnect- ing cable, and the software drivers and sample programs to help you enable your RCM3600 module with Wi-Fi capabilities ...

Page 12

RabbitCore RCM3600 ...

Page 13

... Install Dynamic C To develop and debug programs for the RCM3600 (and for all other Rabbit Semiconductor hardware), you must install and use Dynamic C. If you have not yet installed Dynamic C version 8.11 (or a later version now by inserting the Dynamic C CD from the RCM3600 Development Kit in your PC’ ...

Page 14

Hardware Connections There are three steps to prepare the RCM3600 for use with Dynamic C and the sample programs: 1. Attach the RCM3600 module to the Prototyping Board. 2. Connect the programming cable between the RCM3600 and the COM ...

Page 15

... Figure 3. Connect Programming Cable and Power Supply NOTE: Be sure to use the programming cable (Part No. 101-0542) supplied with this Development Kit—the programming cable has blue shrink wrap around the RS-232 con- verter section located in the middle of the cable. Programming cables from other Rabbit Semiconductor kits are not designed to work with RCM3600 modules ...

Page 16

Connect Power When all other connections have been made, connect the wall transformer to 3-pin header J4 on the Prototyping Board as shown in Figure 3. The connector may be attached either way as long not ...

Page 17

Starting Dynamic C Once the RCM3600 is connected as described in the preceding pages, start Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on dcrabXXXX.exe in the Dynamic C root directory, where XXXX are version-specific ...

Page 18

... If there are any problems at this point: • Use the Dynamic C Help • Check the Rabbit Semiconductor Technical Bulletin Board at www.rabbit.com/support/bb/. • Use the Technical Support e-mail form at www.rabbit.com/support/. 12 menu to get further assistance with Dynamic C. ...

Page 19

... R To develop and debug programs for the RCM3600 (and for all other Rabbit Semiconductor hardware), you must install and use Dynamic C. 3.1 Introduction To help familiarize you with the RCM3600 modules, Dynamic C includes several sample programs. Loading, executing and studying these programs will give you a solid hands-on overview of the RCM3600’ ...

Page 20

Sample Programs Of the many sample programs included with Dynamic C, several are specific to the RCM3600. Sample programs illustrating the general operation of the RCM3600, serial communication, and the A/D converter on the Prototyping Board are provided in ...

Page 21

Modbus ASCII packets between two Prototyping • IR_DEMO.c Board assemblies via the IrDA transceivers with the IrDA transceivers facing each other. Note that this sample program requires a second Prototyping Board or Rabbit Semicon- ductor single-board computer that ...

Page 22

Serial Communication The following sample programs can be found in the Dynamic C folder. SERIAL NOTE: PE5 is set up to enable/disable the RS-232 chip on the Prototyping Board. This pin will also be toggled when you run RS-232 ...

Page 23

RS-232 serial • SIMPLE3WIRE.C communication. Lower case characters are sent by TxC, and are received by RxD. The characters are converted to upper case and are sent out by TxD, are received by RxC, and are ...

Page 24

A/D Converter Inputs The following sample programs are found in the Dynamic C folder. —Demonstrates how to recalibrate one differential analog input • AD_CALDIFF_CH.C channel using two known voltages to generate the calibration constants for that channel. Constants will ...

Page 25

AD_SAMPLE.C The program will continuously display the voltage (average of 10 samples) that is present on the A/D channels. Before running this program, make sure that pins 3–5 are ...

Page 26

UPLOADCALIB.C block in flash memory and then transmit the file using a serial port and a PC serial utility such as Tera Term. Use created by this program ...

Page 27

Chapter 4 describes the hardware components and principal hardware subsystems of the RCM3600. Appendix A, “RCM3600 Specifica- tions,” provides complete physical and electrical specifications. Figure 4 shows the Rabbit-based subsystems designed into the RCM3600. User’s Manual 4. H ARDWARE Figure ...

Page 28

RCM3600 Digital Inputs and Outputs Figure 5 shows the RCM3600 pinouts for header J1. standard IDC header with a nominal 0.1" pitch. Header Figure 5. RCM3600 Pinouts RabbitCore RCM3600 ...

Page 29

Figure 6 shows the use of the Rabbit 3000 microprocessor ports in the RCM3600 modules. Figure 6. Use of Rabbit 3000 Ports The ports on the Rabbit 3000 microprocessor used in the RCM3600 are configurable, and so the factory defaults ...

Page 30

Table 2. RCM3600 Pinout Configurations Pin Pin Name 1–8 PA[7:0] Parallel I/O 9 PF1 Input/Output 10 PF0 Input/Output 11 PB0 Input/Output 12 PB2 Input/Output 13 PB3 Input/Output 14 PB4 Input/Output 15 PB5 Input/Output 16 PB7 Input/Output 17 PF4 Input/Output 18 ...

Page 31

Table 2. RCM3600 Pinout Configurations (continued) Pin Pin Name 26 PE5 Input/Output 27 PE4 Input/Output 28 PE1 Input/Output 29 PE0 Input/Output 30 PG7 Input/Output 31 PG6 Input/Output 32 /IOWR Output 33 /IORD Input 34 PD4 Input/Output 35 PD5 Input/Output 36 ...

Page 32

Memory I/O Interface The Rabbit 3000 address lines (A0–A18) and all the data lines (D0–D7) are routed inter- nally to the onboard flash memory and SRAM chips. I/0 write (/IOWR) and I/0 read (/IORD) are available for interfacing to ...

Page 33

Serial Communication The RCM3600 board does not have any serial transceivers directly on the board. How- ever, a serial interface may be incorporated on the board the RCM3600 is mounted on. For example, the Prototyping Board has RS-232, RS-485 ...

Page 34

Serial Programming Port The RCM3600 programming port is accessed through header J2 or over an Ethernet con- nection via the RabbitLink EG2110. The programming port uses the Rabbit 3000’s Serial Port A for communication. Dynamic C uses the programming ...

Page 35

Serial Programming Cable The programming cable is used to connect the programming port of the RCM3600 serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to the CMOS ...

Page 36

A program “runs” in either mode, but can only be downloaded and debugged when the RCM3600 is in the program mode. Refer to the Rabbit 3000 Microprocessor User’s Manual gramming port and the programming cable. 4.3.2 Standalone Operation of the ...

Page 37

Other Hardware 4.4.1 Clock Doubler The RCM3600 takes advantage of the Rabbit 3000 microprocessor’s internal clock dou- bler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emissions. The 22.1 MHz frequency specified for the ...

Page 38

... RCM3600 series boards have 256K–512K of SRAM. 4.5.2 Flash EPROM RCM3600 series boards also have 256K–512K of flash EPROM. NOTE: Rabbit Semiconductor recommends that any customer applications should not be constrained by the sector size of the flash EPROM since it may be necessary to change the sector size in the future. ...

Page 39

... Dynamic integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with Rabbit Semiconductor single-board com- puters and other single-board computers based on the Rabbit microprocessor. Chapter 5 describes the libraries and function calls related to the RCM3600. 5.1 More About Dynamic C Dynamic C has been in use worldwide since 1989 ...

Page 40

Dynamic C has a number of standard features. Some of these standard features are listed below. • Full-feature source and assembly-level debugger, no in-circuit emulator required. • Royalty-free TCP/IP stack with source code and most common protocols. • Hundreds of ...

Page 41

Dynamic C Functions The functions described in this section are for use with the Prototyping Board features. The source code is in the RCM36xx.LIB folder if you need to modify it for your own board design. Other generic functions ...

Page 42

Analog Inputs unsigned int anaInConfig(unsigned int instructionbyte, unsigned int cmd, long baud); Use this function to configure the ADS7870 A/D converter. This function will address the ADS7870 in Register Mode only, and will return error if you try the ...

Page 43

PARAMETERS instructionbyte is the instruction byte that will initiate a read or write operation bits on the designated register address. For example, checkid = anaInConfig(0x5F, 0, 9600); cmd refers to the command data that configure the ...

Page 44

Reads the voltage of an analog input channel by serial-clocking an 8-bit command to the ADS7870 A/D converter by the Direct Mode method. This function assumes that Mode1 (most significant byte first) ...

Page 45

RETURN VALUE 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 anaInConfig, anaIn, brdInit User’s Manual ...

Page 46

Reads the value of an analog input channel using the direct method of addressing the ADS7870 A/D converter. The A/D converter is enabled the first time this function is called—this will ...

Page 47

RETURN VALUE A value corresponding 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-bit timeout ...

Page 48

Calibrates the response of the desired A/D converter channel as a linear function using the two conver- sion points provided. Four values are calculated and ...

Page 49

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

Page 50

Reads the state of a single-ended analog input channel and uses the calibration constants previously set using anaInCalib to convert it to volts. PARAMETERS channel is the channel number (0–7) Channel Code 0 ...

Page 51

Reads the state of differential analog input channels and uses the calibration constants previously set using anaInCalib to convert it to volts. PARAMETERS channel is the analog input channel number ( ...

Page 52

Reads the state of an analog input channel and uses the calibration constants previously set using anaInCalib to convert it to current. PARAMETERS channel is the channel number (0–7) RETURN VALUE A current value between 4.00 ...

Page 53

Reads the calibration constants, gain, and offset for an input based on their designated position in the simulated EEPROM area of the flash memory, and places them into global ...

Page 54

The gaincode parameter is ignored when channel is ALLCHAN. RETURN VALUE 0 if successful address is invalid or out of range there is no valid ID block. ...

Page 55

Writes the calibration constants, gain, and offset for an input based from global tables to designated posi- tions in the simulated EEPROM area of the flash memory. The constants are ...

Page 56

The gaincode parameter is ignored when channel is ALLCHAN. RETURN VALUE 0 if successful -1 if address is invalid or out of range there is no valid ID block. ...

Page 57

Writes a state to a digital output channel on header JP4 of the RCM3600 Prototyping Board. The PIO0 to PIO3 channels on the A/D converter chip are accessed via header JP4 on the RCM3600 Prototyping ...

Page 58

Digital I/O The RCM3600 was designed to interface with other systems, and so there are no drivers written specifically for the I/O. The general Dynamic C read and write functions allow you to customize the parallel I/O to meet ...

Page 59

Serial Communication Drivers Library files included with Dynamic C provide a full range of serial communications sup- port. The library provides a set of circular-buffer-based serial functions. The RS232.LIB library provides packet-based serial functions where packets can be delimited ...

Page 60

... Add-On Modules Dynamic C installations are designed for use with the board they are included with, and are included at no charge as part of our low-cost kits. Rabbit Semiconductor offers add-on Dynamic C modules including the popular µC/OS-II real-time operating system, as well as PPP, Advanced Encryption Standard (AES), and other select libraries. ...

Page 61

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

Page 62

A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM3600. Figure A-1. RCM3600 Dimensions NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. All dimensions have a manufacturing tolerance of ±0.01" (0.25 mm). ...

Page 63

It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM3600 in all directions when the RCM3600 is incorporated into an assembly that includes other printed circuit boards. This “exclusion zone” that you keep ...

Page 64

Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM3600. Table A-1. RabbitCore RCM3600 Specifications Parameter Microprocessor Flash Memory SRAM Backup Battery General-Purpose I/O Additional I/O Auxiliary I/O Bus Four 3.3 V CMOS-compatible ports configurable as: • Serial ...

Page 65

A.1.1 Headers The RCM3600 uses one header at J1 for physical connection to other boards × 20 SMT header with a 0.1" pin spacing. Figure A-3 shows the layout of another board for the RCM3600 to ...

Page 66

A.2 Bus Loading Pay careful attention to bus loading when designing an interface to the RCM3600. This section provides bus loading information for external devices. Table A-2 lists the capacitance for the various RCM3600 I/O ports. Table A-2. Capacitance of ...

Page 67

Figure A-4 shows a typical timing diagram for the Rabbit 3000 microprocessor 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 ...

Page 68

Table A-4 lists the delays in gross memory access time. Table A-4. Data and Clock Delays VIN ±10%, Temp, -40°C–+85°C (maximum) Clock to Address Output Delay (ns) VIN 3 The measurements are taken at ...

Page 69

A.3 Rabbit 3000 DC Characteristics Table A-5. Rabbit 3000 Absolute Maximum Ratings Symbol T Operating Temperature A T Storage Temperature S Maximum Input Voltage: • Oscillator Buffer Input • 5-V-tolerant I/O V Maximum Operating Voltage DD Stresses beyond those listed ...

Page 70

A.4 I/O Buffer Sourcing and Sinking Limit Unless otherwise specified, the Rabbit I/O buffers are capable of sourcing and sinking 6 current per pin at full AC switching speed. Full AC switching assumes a 22.1 MHz CPU clock ...

Page 71

A.5 Conformal Coating The areas around the 32 kHz real-time clock crystal oscillator have had the Dow Corning silicone-based 1-2620 conformal coating applied. The conformally coated area is shown in Figure A-5. The conformal coating protects these high-impedance circuits from ...

Page 72

A.6 Jumper Configurations Figure A-6 shows the header locations used to configure the various RCM3600 options via jumpers. Figure A-6. Location of RCM3600 Configurable Positions Table A-8 lists the configuration options. Table A-8. RCM3600 Jumper Configurations Header Description JP1 Flash ...

Page 73

A PPENDIX Appendix B describes the features and accessories of the Proto- typing Board. User’s Manual B. P ROTOTYPING B OARD 67 ...

Page 74

B.1 Introduction The Prototyping Board included in the Development Kit makes it easy to connect an RCM3600 module to a power supply and a PC workstation for development. It also pro- vides some basic I/O peripherals (RS-232, RS-485, an IrDA ...

Page 75

... SMT device pads on both top and bottom of the Prototyping Board.) Each SMT pad is connected to a hole designed to accept a 30 AWG solid wire. LCD/Keypad Module —Rabbit Semiconductor’s LCD/keypad module may be plugged • in directly to headers LCD1JA, LCD1JB, and LCD1JC. The signals on headers LCD1JB and LCD1JC will be available only if the LCD/keypad module is plugged in to header LCD1JA ...

Page 76

RS-232 serial port and one 3-wire RS-232 • serial port are available on the Prototyping Board at header J2. A jumper on header JP2 is used to select the drivers for Serial Port ...

Page 77

B.2 Mechanical Dimensions and Layout Figure B-2 shows the mechanical dimensions and layout for the RCM3600 Prototyping Board. Figure B-2. Prototyping Board Dimensions User’s Manual 71 ...

Page 78

Table B-1 lists the electrical, mechanical, and environmental specifications for the Proto- typing Board. Table B-1. Prototyping Board Specifications Parameter Board Size Operating Temperature Humidity Input Voltage Maximum Current Draw (including user-added circuits) A/D Converter IrDA Transceiver Prototyping Area Standoffs/Spacers ...

Page 79

B.4 Using the Prototyping Board The Prototyping Board is actually both a demonstration board and a prototyping board demonstration board, it can be used to demonstrate the functionality of the RCM3600 right out of the box without any ...

Page 80

The Prototyping Board comes with the basic components necessary to demonstrate the operation of the RCM3600. Two LEDs (DS1 and DS2) are connected to PF6 and PF7, and two switches (S1 and S2) are connected to PF4 and PB7 to ...

Page 81

B.4.2 Analog Features The RCM3600 Prototyping Board has an onboard ADS7870 A/D converter to demon- strate the interface capabilities of the Rabbit 3000. The A/D converter multiplexes con- verted signals from eight single-ended or three differential inputs to alternate Serial ...

Page 82

... VREF, the reference voltage generated and buffered by the A/D converter. Adjacent input channels are paired so that moving a particular jumper changes both of the paired channels. At the present time Rabbit Semiconductor does not offer the software drivers to work with single-ended negative voltages, but the differential mode described below may be used to measure negative voltages ...

Page 83

Table B-3. Differential Voltage Ranges Min. Differential Max. Differential Voltage ( The A/D converter inputs can also be used with 4–20 mA current sources by measuring the resulting analog voltage drop across ...

Page 84

B.4.2.3 Other A/D Converter Features The A/D converter’s internal reference voltage is software-configurable for 1.15 V, 2.048 V, or 2.5 V using the #define AD_OSC_ENABLE library. The scaling circuitry on the Prototyping Board and the sample programs are optimized for ...

Page 85

B.4.2.4 A/D Converter Calibration To get the best results from the A/D converter necessary to calibrate each mode (sin- gle-ended, differential, and current) for each of its gains imperative that you calibrate each of the A/D ...

Page 86

B.4.3 Serial Communication The RCM3600 Prototyping Board allows you to access five of the serial ports from the RCM3600 module. Table B-4 summarizes the configuration options. Table B-4. RCM3600 Prototyping Board Serial Port Configurations Serial Port Signal Header C J2 ...

Page 87

B.4.3.1 RS-232 RS-232 serial communication on the RCM3600 Prototyping Board is supported by an RS-232 transceiver installed at U4. This transceiver provides the voltage output, slew rate, and input voltage immunity required to meet the RS-232 serial communication protocol. Basically, ...

Page 88

B.4.3.2 RS-485 The RCM3600 Prototyping Board has one RS-485 serial channel, which is connected to the Rabbit 3000 Serial Port E through an RS-485 transceiver. The half-duplex communi- cation uses an output from PF5 on the Rabbit 3000 to control ...

Page 89

The RCM3600 Prototyping Board comes with a 220 Ω termination resistor and two 681 Ω bias resistors installed and enabled with jumpers across pins 1–2 and 5–6 on header JP1, as shown in Figure B-9. Figure B-9. RS-485 Termination and ...

Page 90

B.5 RCM3600 Prototyping Board Jumper Configurations Figure B-10 shows the header locations used to configure the various RCM3600 Prototyp- ing Board options via jumpers. Figure B-10. Location of RCM3600 Configurable Positions 84 RabbitCore RCM3600 ...

Page 91

Table B-5 lists the configuration options using jumpers. Table B-5. RCM3600 Jumper Configurations Header Description RS-485 Bias and Termination JP1 Resistors JP2 RS-232/RS-485 on Serial Port E JP4 A/D Converter Outputs JP5 ADC_IN4–ADC_IN5 JP6 ADC_IN2–ADC_IN3 JP7 ADC_IN0–ADC_IN1 Analog Voltage/4–20 mA ...

Page 92

RabbitCore RCM3600 ...

Page 93

... LCD/keypad module on the Prototyping Board. Either version of the LCD/keypad module can be installed at a remote location (24") away. Contact your sales representa- tive or your authorized Rabbit Semiconductor distributor for further assistance in purchasing an LCD/keypad module. User’s Manual C ...

Page 94

... Mounting hardware and (24") extension cable are also available for the LCD/keypad module through your Rabbit Semiconductor sales representative or authorized distributor. Table C-1 lists the electrical, mechanical, and environmental specifications for the LCD/ keypad module. Table C-1. LCD/Keypad Specifications Parameter Board Size ...

Page 95

C.2 Contrast Adjustments for All Boards Starting in 2005, LCD/keypad modules were factory-configured to optimize their contrast based on the voltage of the system they would be used in. Be sure to select a KDU3V LCD/keypad module for use with ...

Page 96

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

Page 97

C.4 Header Pinouts Figure C-6 shows the pinouts for the LCD/keypad module. Figure C-6. LCD/Keypad Module Pinouts C.4.1 I/O Address Assignments The LCD and keypad on the LCD/keypad module are addressed by the /CS strobe as explained in Table C-2. ...

Page 98

C.5 Install Connectors on Prototyping Board Before you can use the LCD/keypad module with the RCM3600 Prototyping Board, you will need to install connectors to attach the LCD/keypad module to the RCM3600 Proto- typing Board. These connectors are included with ...

Page 99

C.6 Mounting LCD/Keypad Module on the Prototyping Board Install the LCD/keypad module on header sockets LCD1JA, LCD1JB, and LCD1JC of the Prototyping Board as shown in Figure C-8. Be careful to align the pins over the headers, and do not ...

Page 100

C.7 Bezel-Mount Installation This section describes and illustrates how 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 dimen- sions in ...

Page 101

Fasten the unit with the four 4-40 screws and washers included with the LCD/keypad module. If your panel is thick, use a 4-40 screw that is approximately 3/16" (5 mm) longer than the thickness of the panel. Figure C-10. ...

Page 102

... Figure C-11. Connecting LCD/Keypad Module to RCM3600 Prototyping Board Note the locations and connections relative to pin 1 on both the RCM3600 Prototyping Board and the LCD/keypad module. Rabbit Semiconductor offers 2 ft. (60 cm) extension cables. Contact your authorized dis- tributor or a Rabbit Semiconductor sales representative for more information. 96 ...

Page 103

C.8 Sample Programs Sample programs illustrating the use of the LCD/keypad module with the Prototyping Board are provided in the SAMPLES\RCM3600\LCD_KEYPAD These sample programs use the auxiliary I/O bus on the Rabbit 3000 chip, and so the line is already ...

Page 104

C.9 LCD/Keypad Module Function Calls When mounted on the Prototyping Board, the LCD/keypad module uses the auxiliary 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 ...

Page 105

C.9.3 LCD Display The functions used to control the LCD display are contained in the located in the Dynamic C LIB\DISPLAYS\GRAPHIC nates on the display screen are specified, x can range from 0 to 121, and y can range from ...

Page 106

Sets display contrast. NOTE: This function is not used with the LCD/keypad module since the support circuits are not available on the LCD/keypad module. void glFillScreen(int pattern); Fills the LCD display screen with a pattern. PARAMETER The ...

Page 107

... RETURN VALUE None. SEE ALSO glFillScreen, glBlankScreen, glBlock User’s Manual 101 ...

Page 108

Draws a rectangular block in the page buffer and on the LCD if the buffer is unlocked. Any portion of the block that is outside the LCD display area will be ...

Page 109

Plots the outline of a polygon in the LCD page buffer and on the LCD if the buffer is unlocked. Any portion of the polygon that is outside the LCD ...

Page 110

Fills a polygon in the LCD page buffer and on the LCD if the buffer is unlocked. Any portion of the polygon that is outside the LCD display ...

Page 111

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

Page 112

Puts an entry from the font table to the page buffer and on the LCD if the buffer is unlocked. Each font character's bitmap is column major and byte-aligned. Any portion ...

Page 113

Provides an interface between the STDIO string-formatting function will call this function, one character at a time, until the entire format- ted string has been parsed. Any portion of the bitmap ...

Page 114

Increments LCD screen locking counter. Graphic calls are recorded in the LCD memory buffer and are not transferred to the LCD if the counter is non-zero. NOTE: glBuffLock() sure to balance the calls not a requirement ...

Page 115

Gets the current method (or color) of pixels drawn by subsequent graphic calls. RETURN VALUE The current brush type. SEE ALSO glSetBrushType void glXGetBitmap(int x, int y, int bmWidth, int bmHeight, unsigned long xBm); Gets a bitmap from ...

Page 116

Draws a single pixel in the LCD buffer, and on the LCD if the buffer is unlocked. If the coordinates are outside the LCD display area, the dot will not be plotted. PARAMETERS x is ...

Page 117

Scrolls byte-aligned window right one pixel, left column is filled by current pixel type (color). PARAMETERS left is the top left corner of bitmap, must be evenly divisible by 8, otherwise ...

Page 118

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

Page 119

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

Page 120

Draws bitmap in the specified space. The data for the bitmap are stored in xmem. This function is like glXPutBitmap, except that it is faster. The restriction is ...

Page 121

TextBorderInit(windowFrame *wPtr, int border, char *title); This function initializes the window frame structure with the border and title information. NOTE: Execute the TextWindowFrame PARAMETERS wPtr is a pointer to the window frame descriptor. border is the border style: SINGLE_LINE ...

Page 122

TextGotoXY(windowFrame *window, int col, int row); Sets the cursor location to display the next character. The display location is based on the height and width of the character to be displayed. NOTE: Execute the TextWindowFrame PARAMETERS window is a ...

Page 123

TextPutChar(struct windowFrame *window, char ch); Displays a character on the display where the cursor is currently pointing. Once a character is displayed, the cursor will be incremented to the next character position. If any portion of a bitmap character ...

Page 124

TextMaxChars(windowFrame *wPtr); This function returns the maximum number of characters that can be displayed within the text window. NOTE: Execute the TextWindowFrame PARAMETERS wPtr is a pointer to the window frame descriptor. RETURN VALUE The maximum number of characters ...

Page 125

C.9.4 Keypad The functions used to control the keypad are contained in the Dynamic C library. PADS\KEYPAD7.LIB void keyInit(void); Initializes keypad process RETURN VALUE None. SEE ALSO brdInit void keyConfig(char cRaw, char cPress, char cRelease, char cCntHold, char cSpdLo, char ...

Page 126

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

Page 127

Configures the physical layout of the keypad with the desired ASCII return key codes. Keypad physical mapping ['L'] ['U'] ['–'] where 'D' represents Down Scroll 'U' represents Up Scroll 'R' represents Right ...

Page 128

RabbitCore RCM3600 ...

Page 129

A Appendix D provides information on the current requirements of the RCM3600, and includes some background on the chip select circuit used in power management. D.1 Power Supplies Power is supplied from the motherboard to which the RCM3600 is connected ...

Page 130

A lithium battery with a nominal voltage and a minimum capacity of 165 mA·h is recommended. A lithium battery is strongly recommended because of its nearly constant nominal voltage over most of its life. The drain on ...

Page 131

A A/D converter calibration ......................... 79 calibration constants ......... 79 CONVERT pin ................. 78 function calls anaIn .............................. 40 anaInCalib ..................... 42 anaInConfig ................... 36 anaInDiff ....................... 45 anaInDriver ................... 38 anaInEERd .................... 47 anaInEEWr .................... 49 anaInmAmps ................. 46 ...

Page 132

... LCD display function calls glBackLight ................99 glBlankRegion ..........101 glBlankScreen ...........100 glBlock .....................102 glBuffLock ...............108 glBuffUnlock ............108 glDispOnOff ...............99 glDown1 ...................111 glFastFillRegion .......101 glFillCircle ................104 glFillPolygon ............104 glFillRegion ..............100 glFillScreen ...............100 glFillVPolygon .........103 glFontCharAddr ........105 glGetBrushType .......109 glGetPfStep ...............106 glHScroll ...................112 glInit ...........................99 glLeft1 ...

Page 133

S sample programs ................... 14 A/D converter AD_CALDIFF_CH.C 18, 79 AD_CALMA_CH.C 18, 79 AD_CALSE_ALL.C 18, 79 AD_CALSE_CH.C ....... 79 AD_CALSE_CHAN AD_RDDIFF_CH.C 18, 79 AD_RDMA_CH.C .. 18, 79 AD_RDSE_ALL.C . 18, 79 AD_SAMPLE.C ........... 19 ANAINCONFIG.C ....... 19 DNLOADCALIB.C ...

Page 134

RabbitCore RCM3600 ...

Page 135

RCM3600 Schematic www.rabbit.com/documentation/schemat/090-0176.pdf 090-0180 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0180.pdf 090-0156 LCD/Keypad Module Schematic www.rabbit.com/documentation/schemat/090-0156.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf You may use the URL information provided above to access the latest schematics directly. User’s Manual S CHEMATICS 129 ...

Page 136

...

Related keywords