101-1069 Rabbit Semiconductor, 101-1069 Datasheet

KIT DEVELOPMENT RCM3305 US

101-1069

Manufacturer Part Number
101-1069
Description
KIT DEVELOPMENT RCM3305 US
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3000r
Type
MPU Moduler
Datasheet

Specifications of 101-1069

Contents
RabbitCore Module, Dev. Board, AC Adapter, Cable and Dynamic C® CD-Rom
Processor To Be Evaluated
RCM3305
Interface Type
Ethernet
For Use With/related Products
RCM3305
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
316-1129
RabbitCore RCM3305/RCM3315
C-Programmable Core Module
with Serial Flash Mass Storage and Ethernet
User’s Manual
019–0151 • 080528–E

Related parts for 101-1069

101-1069 Summary of contents

Page 1

RabbitCore RCM3305/RCM3315 C-Programmable Core Module with Serial Flash Mass Storage and Ethernet User’s Manual 019–0151 • 080528–E ...

Page 2

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

Page 3

Chapter 1. Introduction 1.1 RCM3305/RCM3315 Features .............................................................................................................2 1.2 Comparing the RCM3309/RCM3319 and RCM3305/RCM3315 ........................................................4 1.3 Advantages of the RCM3305 and RCM3315.......................................................................................5 1.4 Development and Evaluation Tools......................................................................................................6 1.4.1 RCM3305 Series Development Kit ..............................................................................................6 1.4.2 Software ........................................................................................................................................7 1.4.3 Connectivity Interface Kits ...........................................................................................................7 ...

Page 4

Programming Cable............................................................................................................................ 33 4.3.1 Changing Between Program Mode and Run Mode.................................................................... 33 4.3.2 Standalone Operation of the RCM3305/RCM3315 ................................................................... 34 4.4 Other Hardware .................................................................................................................................. 35 4.4.1 Clock Doubler ............................................................................................................................ 35 4.4.2 Spectrum Spreader...................................................................................................................... 35 4.5 Memory .............................................................................................................................................. 36 4.5.1 ...

Page 5

... B.4.10 Stepper-Motor Control .............................................................................................................94 B.5 Prototyping Board Jumper Configurations ........................................................................................96 B.6 Use of Rabbit 3000 Parallel Ports ......................................................................................................98 Appendix C. LCD/Keypad Module C.1 Specifications ...................................................................................................................................101 C.2 Contrast Adjustments for All LCD/Keypad Modules......................................................................103 C.3 Keypad Labeling ..............................................................................................................................104 C.4 Header Pinouts .................................................................................................................................105 C.4.1 I/O Address Assignments.........................................................................................................105 C ...

Page 6

RabbitCore RCM3305/RCM3315 ...

Page 7

The RCM3305 and RCM3315 RabbitCore modules feature a compact module that incorporates the latest revision of the power- ® ful Rabbit 3000 microprocessor, flash memory, mass storage (serial flash), static RAM, and digital I/O ports. The RCM3305 and RCM3315 feature ...

Page 8

RCM3305/RCM3315 Features • Small size: 1.85" x 2.73" x 0.86" ( mm) • Microprocessor: Rabbit 3000 running at 44.2 MHz • 49 parallel 5 V tolerant I/O lines: 43 configurable for I/O, 3 ...

Page 9

Table 1 below summarizes the main features of the RCM3305 and the RCM3315 modules. Table 1. RCM3305/RCM3315 Features Feature Microprocessor SRAM Flash Memory (program) Flash Memory (mass data storage) 5 shared high-speed, 3.3 V CMOS-compatible ports: Serial Ports The RCM3305 ...

Page 10

Comparing the RCM3309/RCM3319 and RCM3305/RCM3315 We can no longer obtain certain components for the RCM3305/RCM3315 RabbitCore modules that support the originally specified -40°C to +70°C temperature range. Instead of changing the design of the RCM3305/RCM3315 RabbitCore modules to handle ...

Page 11

Advantages of the RCM3305 and RCM3315 • 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 ...

Page 12

Development and Evaluation Tools 1.4.1 RCM3305 Series Development Kit The RCM3305 Series Development Kit contains the hardware you need to use your RCM3305 or RCM3315 module. • RCM3309 module. • Prototyping Board. • Universal AC adapter DC, ...

Page 13

Software The RCM3305 and the RCM3315 are programmed using version 9.25 or later of Rabbit’s Dynamic C. A compatible version is included on the Development Kit CD-ROM. Dynamic C v. 9.60, which is required for the related RCM3309 and ...

Page 14

RabbitCore RCM3305/RCM3315 ...

Page 15

This chapter describes how to set up and use an RCM3305 series module and the Prototyping Board included in the Development Kit. NOTE assumed that you have a Development Kit. If you purchased an RCM3305 series module by ...

Page 16

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

Page 17

Step 2 — Connect Programming Cable The programming cable connects the RCM3305 series module to the PC running Dynamic C to download programs and to monitor the module during debugging. 2.2.2.1 RCM3309 and RCM3319 Connect the 10-pin connector of ...

Page 18

... Figure 3(b). Connect Programming Cable and Power Supply NOTE: Be sure to use the serial programming cable (part number 101-0542)—the pro- gramming cable has blue shrink wrap around the RS-232 converter section located in the middle of the cable. The USB programming cable and programming cables with clear or red shrink wrap from other Rabbit kits are not designed to work with RCM3305/ RCM3315 modules ...

Page 19

Step 3 — Connect Power When all other connections have been made, you can connect power to the Prototyping Board. If you have the universal power supply, prepare the AC adapter for the country where it will be used ...

Page 20

Starting Dynamic C NOTE: Dynamic later version is required if you are using an RCM3309 or an RCM3319 RabbitCore module. Once the RCM3305 series module is connected as described in the preceding pages, start ...

Page 21

If Dynamic C appears to compile the BIOS successfully, but you then receive a communi- cation error message when you compile and load the sample program possible that your PC cannot handle the higher program-loading baud rate. Try ...

Page 22

RabbitCore RCM3305/RCM3315 ...

Page 23

R To develop and debug programs for the RCM3305/RCM3315 (and for all other Rabbit hardware), you must install and use Dynamic C. 3.1 Introduction To help familiarize you with the RCM3305 and RCM3315 modules, Dynamic C includes several sample ...

Page 24

Sample Programs Of the many sample programs included with Dynamic C, several are specific to the RCM3305 and the RCM3315. Sample programs illustrating the general operation of the RCM3305/RCM3315, serial communication, and the serial flash are provided in the ...

Page 25

Use of Serial Flash 3.2.1.1 Onboard Serial Flash The following sample programs can be found in the folder. —This program is a handy utility for inspecting the contents of a • SFLASH_INSPECT.c serial flash chip. When the sample program ...

Page 26

RS-232 serial communication. • SIMPLE3WIRE.C Lower case characters are sent by TxE, and are received by RxF. The characters are converted to upper case and are sent out by TxF, are received by RxE, and are ...

Page 27

The RS-485 connections between the slave and master devices are as follows. • RS485+ to RS485+ • RS485– to RS485– • GND to GND —This program demonstrates a simple RS-485 transmission of • SIMPLE485MASTER.C lower case letters to a slave. ...

Page 28

RabbitCore RCM3305/RCM3315 ...

Page 29

Chapter 4 describes the hardware components and principal hardware subsystems of the RCM3305/RCM3315 modules. Appendix A, “RCM3305/RCM3315 Specifications,” provides complete physical and electrical specifications. Figure 4 shows the Rabbit-based subsystems designed into the RCM3305/RCM3315. Figure 4. RCM3305/RCM3315 Subsystems User’s Manual ...

Page 30

RCM3305/RCM3315 Digital Inputs and Outputs Figure 5 shows the RCM3305/RCM3315 pinouts for headers J3 and J4. Figure 5. RCM3305/RCM3315 Pinouts The pinouts for the RCM3000, RCM3100, RCM3200, RCM3305/RCM3315, RCM3360/ RCM3370, and RCM3365/RCM3375 are almost compatible, except signals PB0, PC4, ...

Page 31

Figure 6 shows the use of the Rabbit 3000 microprocessor ports in the RCM3305/ RCM3315 modules. Figure 6. Use of Rabbit 3000 Ports The ports on the Rabbit 3000 microprocessor used in the RCM3305/RCM3315 are config- urable, and so the ...

Page 32

Table 2. RCM3305/RCM3315 Pinout Configurations Pin Pin Name 1 GND 2 STATUS Output (Status) 3–10 PA[7:0] Parallel I/O 11 PF3 Input/Output 12 PF2 Input/Output 13 PF1 Input/Output 14 PF0 Input/Output 15 PC0 Output 16 PC1 Input 17 PC2 Output 18 ...

Page 33

Table 2. RCM3305/RCM3315 Pinout Configurations (continued) Pin Pin Name 1 /RES Reset output 2 PB0 Input/Output 3 PB2 Input/Output 4 PB3 Input/Output 5 PB4 Input/Output 6 PB5 Input/Output 7 PB6 Input/Output 8 PB7 Input/Output 9 PF4 Input/Output 10 PF5 Input/Output ...

Page 34

Table 2. RCM3305/RCM3315 Pinout Configurations (continued) Pin Pin Name 20 PG7 Input/Output 21 PG6 Input/Output 22 PG5 Input/Output 23 PG4 Input/Output 24 /IOWR Output 25 /IORD Output (0,0)—start executing at address zero (0,1)—cold boot from slave port (1,0)—cold boot from ...

Page 35

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

Page 36

Serial Communication The RCM3305/RCM3315 does not have any serial transceivers directly on the board. However, a serial interface may be incorporated into the board the RCM3305/RCM3315 is mounted on. For example, the Prototyping Board has RS-232 and RS-485 transceiver ...

Page 37

Ethernet Port Figure 7 shows the pinout for the RJ-45 Ethernet port (J2). Note that some Ethernet con- nectors are numbered in reverse to the order used here. Figure 7. RJ-45 Ethernet Port Pinout The RJ-45 connector is shielded ...

Page 38

Programming Port The RCM3305/RCM3315 is programmed either through the serial programming port, which is accessed using header J1, or through the Ethernet jack. The RabbitLink may be used to provide a serial connection via the RabbitLink’s Ethernet jack. The ...

Page 39

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

Page 40

A program “runs” in either mode, but can only be downloaded and debugged when the RCM3305/RCM3315 is in the Program Mode. Refer to the Rabbit 3000 Microprocessor User’s Manual gramming port. 4.3.2 Standalone Operation of the RCM3305/RCM3315 The RCM3305/RCM3315 must ...

Page 41

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

Page 42

Memory 4.5.1 SRAM RCM3305/RCM3315 boards have 512K of program-execution fast SRAM at U11. The program-execution SRAM is not battery-backed. There are 512K of battery-backed data SRAM installed at U10. 4.5.2 Flash EPROM RCM3305/RCM3315 boards also have 512K of flash ...

Page 43

Dynamic integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with controllers based on the Rabbit micropro- cessor. Chapter 5 describes the libraries and function calls related to ...

Page 44

Dynamic C release prior to v. 9.60 under Win- dows Vista. Programs can be downloaded at baud rates 460,800 bps after the pro- gram compiles. Dynamic C has a ...

Page 45

Developing Programs Remotely with Dynamic C Dynamic integrated development environment that allows you to edit, compile, and debug your programs. Dynamic C has the ability to allow programming over the Internet or local Ethernet. This is ...

Page 46

Dynamic C Functions 5.2.1 Digital I/O The RCM3305/RCM3315 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 func- tions allow you to customize ...

Page 47

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 48

Prototyping Board Functions The functions described in this section are for use with the Prototyping Board features. The source code is in the Dynamic C need to modify it for your own board design. The library is supported by ...

Page 49

Digital I/O int digIn(int channel); Reads the input state of inputs on Prototyping Board headers J5 and J6. Do not use this function if you configure these pins for alternate use after brdInit() is called. PARAMETERS channels is the ...

Page 50

Switches, LEDs, and Relay int switchIn(int swin); Reads the state of a switch input. PARAMETERS swin is the switch input to read: 2—S2 3—S3 RETURN VALUE State of the switch input open 0 = closed SEE ALSO ...

Page 51

Sets the position for the relay common contact. The default position is for normally closed contacts. PARAMETERS relay is the one relay (1) value is the value used to connect the relay common contact: 0 ...

Page 52

RabbitNet Port The function calls described in this section are used to configure the RabbitNet port on the Prototyping Board for use with RabbitNet peripheral cards. The user’s manual for the spe- cific peripheral card you are using contains ...

Page 53

Deactivates the RCM3305/RCM3315 RabbitNet port as a clocked serial port. This call is also used by rn_init(). PARAMETERS portnum = 0 RETURN VALUE None void rn_sp_enable(int portnum); This is a macro that enables or asserts the RCM3305/RCM3315 ...

Page 54

Upgrading Dynamic C Dynamic C patches that focus on bug fixes are available from time to time. Check the Web site www.rabbit.com/support/ 5.3.1 Extras Dynamic C installations are designed for use with the board they are included with, and ...

Page 55

U 6.1 TCP/IP Connections Programming and development can be done with the RCM3305/RCM3315 modules with- out connecting the Ethernet port to a network. However, if you will be running the sample programs that use the Ethernet capability or will ...

Page 56

Now you should be able to make your connections. 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 RCM3305/RCM3315 module to a network ...

Page 57

TCP/IP Primer on IP Addresses Obtaining IP addresses to interact over an existing, operating, network can involve a num- ber of complications, and must usually be done with cooperation from your ISP and/or network systems administrator. For this reason, ...

Page 58

T1 in Adapter Ethernet Typical Corporate Network If your system administrator can give you an Ethernet cable along with its IP address, the netmask and the gateway address, then you may be able to run the sample programs with- out ...

Page 59

IP Addresses Explained IP (Internet Protocol) addresses are expressed as 4 decimal numbers separated by periods, for example: 216.103.126.155 10.1.1.6 Each decimal number must be between 0 and 255. The total IP address is a 32-bit number consisting of ...

Page 60

How IP Addresses are Used The actual hardware connection via an Ethernet uses Ethernet adapter addresses (also called MAC addresses). These are 48-bit addresses and are unique for every Ethernet adapter manufactured. In order to send a packet to ...

Page 61

Dynamically Assigned Internet Addresses In many instances, devices on a network do not have fixed IP addresses. This is the case when, for example, you are assigned an IP address dynamically by your dial-up Internet service provider (ISP) or ...

Page 62

Placing Your Device on the Network In many corporate settings, users are isolated from the Internet by a firewall and/or a proxy server. These devices attempt to secure the company from unauthorized network traffic, and usually work by disallowing ...

Page 63

Running TCP/IP Sample Programs We have provided a number of sample programs demonstrating various uses of TCP/IP for networking embedded systems. These programs require you to connect your PC and the RCM3305/RCM3315 board together on the same network. This ...

Page 64

How to Set IP Addresses in the Sample Programs With the introduction of Dynamic C 7.30 we have taken steps to make it easier to run many of our sample programs. You will see a Dynamic C to select ...

Page 65

... NOTE: Your network interface card will likely have a different name. 3. Now select the IP Address click on “Properties” to assign an IP address to your computer (this will disable “obtain an IP address automatically”): IP Address : 10.10.6.101 Netmask : 255.255.255.0 Default gateway : 10.10.6.1 4. Click or to exit the various dialog boxes. ...

Page 66

... DOS window and running the pingme program: ping 10.10.6.101 or by Start > Run and typing the entry ping 10.10.6.101 Notice that the yellow light flashes on the RCM3305/RCM3315 module while the ACT ping is taking place, and indicates the transfer of data. The ping routine will ping the board four times and write a summary message on the screen describing the operation ...

Page 67

SMTP library to send an e-mail when • SMTP.C the S2 and S3 switches on the Prototyping Board are pressed. LEDs DS3 and DS4 on the Prototyping Board will light up when e-mail is being ...

Page 68

First, you need to format and partition the serial flash. Find the program in the Dynamic C SAMPLES\FileSystem with the File > Open menu, then compile and run it by pressing formats the mass storage device for use with the ...

Page 69

When you refresh the page in your browser, you will see that the page has been restored. You have successfully updated and restored your application's files remotely! When you are finished with the special shutdown procedure before powering off to ...

Page 70

RabbitCore RCM3305/RCM3315 ...

Page 71

A PPENDIX Appendix A provides the specifications for the RCM3305/ RCM3315, and describes the conformal coating. User’s Manual A. RCM3305/RCM3315 S PECIFICATIONS 65 ...

Page 72

A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM3305/RCM3315. Figure A-1. RCM3305/RCM3315 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 73

It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM3305/RCM3315 in all directions when the RCM3305/RCM3315 is incorporated into an assembly that includes other printed circuit boards. An “exclusion zone” of 0.08" (2 ...

Page 74

Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM3305/ RCM3315. Table A-1. RCM3305/RCM3315 Specifications Parameter Microprocessor EMI Reduction Ethernet Port SRAM Flash Memory (program) Flash Memory (mass data storage) LED Indicators Backup Battery General-Purpose I/O Additional Inputs ...

Page 75

Table A-1. RCM3305/RCM3315 Specifications (continued) Parameter Watchdog/ Supervisor Pulse-Width Modulators 2-channel input capture can be used to time input signals from Input Capture various port pins Quadrature 2-channel quadrature decoder accepts inputs from external Decoder incremental encoder modules Power Operating ...

Page 76

A.1.1 Headers The RCM3305/RCM3315 uses headers at J3 and J4 for physical connection to other boards. J3 and J4 are 2 × 17 SMT headers with pin spacing. J1, the programming port × 5 ...

Page 77

A.2 Bus Loading You must pay careful attention to bus loading when designing an interface to the RCM3305/RCM3315. This section provides bus loading information for external devices. Table A-2 lists the capacitance for the various RCM3305/RCM3315 I/O ports. Table A-2. ...

Page 78

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 79

Table A-4 lists the delays in gross memory access time at 3.3 V. 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 ...

Page 80

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 81

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 82

A.5 Jumper Configurations Figure A-5 shows the jumper locations used to configure the various RCM3305/ RCM3315 options. The black square indicates pin 1. Figure A-5. Location of RCM3305/RCM3315 Configurable Positions 76 RabbitCore RCM3305/RCM3315 ...

Page 83

Table A-8 lists the configuration options. Table A-8. RCM3305/RCM3315 Jumper Configurations Header Description JP1 Flash Memory Size JP2 Flash Memory Bank Select JP3 Data SRAM Size Ethernet or I/O Output JP4 on Header J3 Ethernet or I/O Output JP5 on ...

Page 84

A.6 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-6. The conformal coating protects these high-impedance circuits from ...

Page 85

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

Page 86

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

Page 87

B.1.1 Prototyping Board Features —A power-supply jack and a 3-pin header are provided for con- Power Connection • nection to the power supply. Note that the 3-pin header is symmetrical, with both outer pins connected to ground and the center ...

Page 88

Module Extension Headers • module is duplicated at headers J8 and J9. Developers can solder wires directly into the appropriate holes, or, for more flexible development, 2 × 17 header strips with a 0.1" pitch can be soldered into place. ...

Page 89

B.2 Mechanical Dimensions and Layout Figure B-2 shows the mechanical dimensions and layout for the Prototyping Board. Figure B-2. Prototyping Board Dimensions NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. User’s Manual 83 ...

Page 90

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) Backup Battery Digital Inputs Digital Outputs Relay ...

Page 91

B.3 Power Supply The RCM3305/RCM3315 requires a regulated 3. 3. power source to oper- ate. Depending on the amount of current required by the application, different regulators can be used to supply this voltage. The Prototyping ...

Page 92

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 with the sample programs to demonstrate the func- tionality of the RCM3305/RCM3315 right out ...

Page 93

The Prototyping Board comes with the basic components necessary to demonstrate the operation of the RCM3305/RCM3315. Four user LEDs (DS3–DS6) are connected to alternate I/O bus pins PA0–PA3 pins of the RCM3305/RCM3315 module via U8, and may be driven as ...

Page 94

B.4.2 Digital I/O B.4.2.1 Digital Inputs The Prototyping Board has four digital inputs, IN0–IN3, each of which is protected over a range of – +36 V. The inputs are pulled shown in Figure ...

Page 95

B.4.3 CMOS Digital Outputs If the stepper-motor option is not used, eight CMOS-level digital outputs are available at J10, and can each handle mA. B.4.4 Sinking Digital Outputs Four sinking digital outputs shared with LEDs DS3–DS6 are ...

Page 96

B.4.6 Serial Communication The Prototyping Board allows you to access four of the serial ports from the RCM3305/ RCM3315 module. Table B-2 summarizes the configuration options. Table B-2. Prototyping Board Serial Port Configurations Serial Port Signal Header C J14 J7 ...

Page 97

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

Page 98

B.4.6.2 RS-485 The Prototyping Board has one RS-485 serial channel, which is connected to the Rabbit 3000 Serial Port C through an RS-485 transceiver. The half-duplex communication uses an output from PD7 on the Rabbit 3000 to control the transmit ...

Page 99

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

Page 100

B.4.8 Other Prototyping Board Modules An optional LCD/keypad module is available that can be mounted on the Prototyping Board. The signals on headers LCD1JB and LCD1JC will be available only if the LCD/ keypad module is installed. Refer to Appendix ...

Page 101

Figure B-11 shows the stepper-motor driver circuit. Figure B-11. Stepper-Motor Driver Circuit The stepper motor(s) can be powered either from the onboard power supply or from an external power based on the jumper settings on headers JP1 and JP2. Table ...

Page 102

B.5 Prototyping Board Jumper Configurations Figure B-12 shows the header locations used to configure the various Prototyping Board options via jumpers. Figure B-12. Location of Prototyping Board Configurable Positions 96 RabbitCore RCM3305/RCM3315 ...

Page 103

Table B-4 lists the configuration options using jumpers. Table B-4. Prototyping Board Jumper Configurations Header Description Stepper Motor Power-Supply JP1 Options (U2) Stepper Motor Power-Supply JP2 Options (U3) JP3 PF0 Option RCM3305/RCM3315 Power JP4 Supply RS-485 Bias and Termination JP5 ...

Page 104

B.6 Use of Rabbit 3000 Parallel Ports Table B-5 lists the Rabbit 3000 parallel ports and their use for the Prototyping Board. Table B-5. Prototyping Board Use of Rabbit 3000 Parallel Ports Port I/O PA0–PA3 Data Bus PA4 Data Bus ...

Page 105

Table B-5. Prototyping Board Use of Rabbit 3000 Parallel Ports (continued) Port I/O PF0 Input PF1–PF3 Input PF4–PF7 Output PG0 Input PG1 Input PG2 Input PG3 Input PG4 Output PG5 Output PG6 Input PG7 Input * Serial Port B is ...

Page 106

RabbitCore RCM3305/RCM3315 ...

Page 107

... 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 Rabbit sales representative or your authorized for further assistance in purchasing an LCD/keypad module. User’s Manual C. LCD/K EYPAD M ODULE 101 ...

Page 108

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

Page 109

C.2 Contrast Adjustments for All LCD/Keypad Modules 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 ...

Page 110

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 111

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 112

C.5 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-7. Be careful to align the pins over the headers, and do not ...

Page 113

C.6 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 114

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-9. ...

Page 115

C.6.1 Connect the LCD/Keypad Module to Your Prototyping Board The LCD/keypad module can be located as far as 2 ft. (60 cm) away from the Prototyping Board, and is connected via a ribbon cable as shown in Figure C-10. Figure ...

Page 116

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

Page 117

C.8 LCD/Keypad Module Function Calls When mounted on the Prototyping Board, the 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 external ...

Page 118

C.8.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 119

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 120

Fills a rectangular block in the LCD buffer with the pattern specified. The block left and width parame- ters must be byte-aligned. Any portion of the block that is ...

Page 121

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 122

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

Page 123

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 124

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 pointer ...

Page 125

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 126

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 127

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 128

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 129

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 130

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 131

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 132

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 133

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 134

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 135

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 136

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 137

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 138

C.8.4 Keypad The functions used to control the keypad are contained in the Dynamic C library. 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 139

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 140

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

Page 141

A Appendix D provides information on the current requirements of the RCM3305/RCM3315, and includes some background on the reset generator. D.1 Power Supplies Power is supplied from the motherboard to which the RCM3305/RCM3315 is connected via header J4. The RCM3305/RCM3315 ...

Page 142

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 143

D.1.3 Reset Generator The RCM3305/RCM3315 uses a reset generator to reset the Rabbit 3000 microprocessor when the voltage drops below the voltage necessary for reliable operation. The reset occurs between 2.85 V and 3.00 V, typically 2.93 V. The RCM3305/RCM3315 ...

Page 144

RabbitCore RCM3305/RCM3315 ...

Page 145

E.1 General RabbitNet Description RabbitNet is a high-speed synchronous protocol developed by Rabbit to 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 ...

Page 146

Use a straight-through Ethernet cable to connect the master to slave peripheral cards, unless you are using a device such as the OP7200 that could be used either as a master or a slave. In this case you would use ...

Page 147

E.2 Physical Implementation There are four signaling functions associated with a RabbitNet connection. From the mas- ter’s point of view, the transmit function carries information and commands to the periph- eral card. The receive function is used to read back ...

Page 148

E.3 Function Calls The function calls described in this section are used with all RabbitNet peripheral cards, and are available in the RNET.LIB int rn_init(char portflag, char servicetype); Resets, initializes, or disables a specified RabbitNet port on the master single-board ...

Page 149

Locates the first active device that matches the search criteria. PARAMETER srch is the search criteria structure rn_search: unsigned int flags; unsigned int ports; char productid; char productrev; char coderev; long serialnum; Use a maximum of 3 ...

Page 150

Writes a string to the specified device and register. Waits for results. mation to determine that the peripheral card is connected to a master. PARAMETERS handle is an address index to ...

Page 151

Sends a reset sequence to the specified peripheral card. The reset takes approximately 25 ms before the peripheral card will once again execute the application. Allow 1.5 seconds after the reset has completed before accessing ...

Page 152

Enables the hardware and/or software watchdog timers on a peripheral card. The software on the periph- eral card will keep the hardware watchdog timer updated, but will hard reset if the time expires. The hardware ...

Page 153

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 a pointer to ...

Page 154

E.3.1 Status Byte Unless otherwise specified, functions returning a status byte will have the following format for each designated bit × × × × * Use the function rn_comm_status() to determine which error occurred. † Use ...

Page 155

... I/O buffer sourcing and sink- ing limits ....................... 75 memory interface .............. 29 SMODE0 .......................... 32 SMODE1 .......................... 32 User’s Manual digital inputs switching threshold ........... 88 dimensions LCD/keypad module ....... 101 LCD/keypad template ..... 104 Prototyping Board ............. 83 RCM3305/RCM3315 ........ 66 Dynamic C .............. 7, 9, 14, 37 add-on modules ............. 9, 48 installation ....................... 9 battery-backed SRAM ...... 40 libraries RCM33xx.LIB .............. 42 RN_CFG_RCM33.LIB . 42 protected variables ...

Page 156

... TextWindowFrame ..127 mounting instructions ......106 reconfigure keypad ..........104 remote cable connection ..109 removing and inserting keypad label .............................104 sample programs .............110 specifications ...................102 versions ...........................101 voltage settings ................103 LED (Prototyping Board) function calls ledOut ............................44 LEDs (RCM3305/RCM3315) Ethernet status ...................31 other LEDs ........................29 SPEED ...............................31 M MAC addresses ...

Page 157

R Rabbit 3000 data and clock delays ........ 73 spectrum spreader time delays ....................................... 73 Rabbit subsystems ................ 25 RabbitNet Ethernet cables to connect peripheral cards .. 139, 140 function calls rn_comm_status .......... 147 rn_device ..................... 142 rn_echo ........................ 143 ...

Page 158

... I/O buffer sourcing and sinking limits .................75 dimensions .........................66 electrical, mechanical, and environmental ...............68 exclusion zone ...................67 header footprint .................70 headers ...............................70 LCD/keypad module dimensions ...................101 electrical ......................102 header footprint ...........102 mechanical ...................102 relative pin 1 locations 102 temperature ..................102 Prototyping Board .............84 Rabbit 3000 DC characteris- tics .................................74 Rabbit 3000 timing diagram ...

Page 159

RCM3305/RCM3315 Schematic www.rabbit.com/documentation/schemat/090-0221.pdf 090-0188 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0188.pdf 090-0156 LCD/Keypad Module Schematic www.rabbit.com/documentation/schemat/090-0156.pdf 090-0128 Programming Cable Schematic www.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 153 ...

Page 160

...

Related keywords