101-0587 Rabbit Semiconductor, 101-0587 Datasheet

KIT DEV RABBITCORE/RCM3400

101-0587

Manufacturer Part Number
101-0587
Description
KIT DEV RABBITCORE/RCM3400
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3000r
Type
MPU Moduler
Datasheet

Specifications of 101-0587

Rohs Status
RoHS non-compliant
Contents
RabbitCore Module, Dev. Board, AC Adapter, Cable and Dynamic C® CD-Rom
Processor To Be Evaluated
RCM3400
Data Bus Width
8 bit
Interface Type
Ethernet
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Operating Supply Voltage
2.8 V to 3.45 V
For Use With/related Products
RCM3400
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
316-1027
RabbitCore RCM3400
C-Programmable Analog Core Module
with 10/100Base-T Reference Design
User’s Manual
019–0122 • 070831–M

Related parts for 101-0587

101-0587 Summary of contents

Page 1

RabbitCore RCM3400 C-Programmable Analog Core Module with 10/100Base-T Reference Design User’s Manual 019–0122 • 070831–M ...

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 RCM3400 Features ...............................................................................................................................1 1.2 Advantages of the RCM3400 ...............................................................................................................3 1.3 Development and Evaluation Tools......................................................................................................4 1.3.1 RCM3400 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 ...

Page 4

A/D Converter .................................................................................................................................... 31 4.4.1 A/D Converter Calibration ......................................................................................................... 33 4.4.2 A/D Converter Power Supply..................................................................................................... 33 4.5 Other Hardware .................................................................................................................................. 34 4.5.1 Clock Doubler ............................................................................................................................ 34 4.5.2 Spectrum Spreader...................................................................................................................... 34 4.6 Memory .............................................................................................................................................. 35 4.6.1 SRAM......................................................................................................................................... 35 4.6.2 Flash ...

Page 5

... C.3 Placing Your Device on the Network ..............................................................................................100 C.4 Running TCP/IP Sample Programs..................................................................................................101 C.4.1 How to Set IP Addresses in the Sample Programs...................................................................102 C.4.2 How to Set Up your Computer’s IP Address for Direct Connect ............................................103 C.5 Run the PINGME.C Sample Program .............................................................................................104 C.6 Running Additional Sample Programs With Direct Connect ..........................................................104 C ...

Page 6

RabbitCore RCM3400 ...

Page 7

The RCM3400 is a compact module that incorporates the pow- erful Rabbit ® 3000 microprocessor, flash memory, static RAM, digital I/O ports, analog inputs, and PWM outputs. The Development Kit has the essentials that you need to design your own ...

Page 8

One additional analog input (CONVERT) • External reset input • Alternate I/O bus can be configured for 8 data lines and 6 address lines (shared with parallel I/O lines), I/O read/write • Ten 8-bit timers (six cascadable) and one ...

Page 9

Advantages of the RCM3400 • 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. • A bag of 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. RCM3400 Development Kit 4 RabbitCore RCM3400 ...

Page 11

... RCM3400 and to use the RCM3400 with header sockets that have a 0.1" pitch. • 802.11b Wi-Fi Add-On Kit (Part No. 101-0998)—The Wi-Fi Add-On Kit for the RCM3400 footprint consists of an RCM3400 Interposer Board, a Wi-Fi CompactFlash card with a CompactFlash Wi-Fi Board, a ribbon interconnecting cable, and the soft- ware drivers and sample programs to help you enable your RCM3400 module with Wi-Fi capabilities ...

Page 12

RabbitCore RCM3400 ...

Page 13

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

Page 14

Hardware Connections 2.2.1 Attach Module to Prototyping Board Turn the RCM3400 module so that the Rabbit 3000 chip is facing up and the Rabbit logo is facing the direction shown in Figure 2 below. Align the pins from headers ...

Page 15

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

Page 16

Connect Power When all other connections have been made, you can connect power to the Prototyping Board. Connect the wall transformer to jack J8 on the Prototyping Board as shown in Figure 3. Plug in the wall transformer. The ...

Page 17

Run a Sample Program If you already have Dynamic C installed, you are now ready to test your programming connections by running a sample program. Start Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on ...

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 can be easily modified for your own use. The menu to get further assistance with Dynamic C ...

Page 19

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

Page 20

Sample Programs Of the many sample programs included with Dynamic C, several are specific to the RCM3400. These programs will be found in the Each sample program has comments that describe the purpose and function of the pro- gram. ...

Page 21

LEDs DS1 and • FLASHLED1.c DS2 on the Prototyping Board at different rates. Once you have compiled and run this program, LEDs DS1 and DS2 will flash on/off at different rates. —demonstrates ...

Page 22

PARITY.C repeatedly sending byte values 0–127 from Serial Port D to Serial Port C. The program will switch between generating parity or not on Serial Port D. Serial Port C ...

Page 23

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 24

THERM_IN7 to calculate • THERMISTOR.C temperature for display to the thermistor is the one included in the Development Kit whose values for beta, series resistance, and resistance at standard temperature are given in the ...

Page 25

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

Page 26

RCM3400 Digital Inputs and Outputs Figure 5 shows the RCM3400 pinouts for headers J1 and J2. standard 2 × 34 headers with a nominal 1.27 mm pitch. Headers J1 and J2 are 20 Figure 5. RCM3400 Pinouts RabbitCore RCM3400 ...

Page 27

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

Page 28

Table 2. RCM3400 Pinout Configurations Pin Pin Name 1 LN3 Analog Input 2 LN7 Analog Input 3 LN2 Analog Input 4 LN6 Analog Input 5 LN1 Analog Input 6 LN5 Analog Input 7 LN0 Analog Input 8 LN4 Analog Input ...

Page 29

Table 2. RCM3400 Pinout Configurations (continued) Pin Pin Name 23 GND 24 +3.3 V_IN 25 PG7 Input/Output 26 PG6 Input/Output 27 PG5 Input/Output 28 PG4 Input/Output 29 /IORD Input 30 STATUS Output (Status) (SMODE1, SMODE0) (0,0)—start executing at address zero ...

Page 30

Table 2. RCM3400 Pinout Configurations (continued) Pin Pin Name 1 GND 2 PF1 Input/Output 3 PB6 Input/Output 4 PF0 Input/Output 5 PB5 Input/Output 6 PB4 Input/Output 7 PB3 Input/Output 8 PB2 Input/Output 9 PB1 Input/Output 10–16 PA[7:1] Parallel I/O 17 ...

Page 31

Table 2. RCM3400 Pinout Configurations (continued) Pin Pin Name 31 PD6 Input/Output 32 /RESET_IN Input 33 PD7 Input/Output 34 VBAT_EXT User’s Manual Default Use Alternate Use ATXA ARXA Notes Input to Reset Generator 25 ...

Page 32

Memory I/O Interface The Rabbit 3000 address lines (A0–A19) 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 RCM3400 board does not have any serial transceivers directly on the board. How- ever, an Ethernet or other serial interface may be incorporated on the board the RCM3400 is mounted on. For example, the Prototyping Board ...

Page 34

Alternate Uses of the Programming Port All three clocked Serial Port A signals are available as • a synchronous serial port • an asynchronous serial port, with the clock line usable as a general CMOS I/O pin The programming port ...

Page 35

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

Page 36

A program “runs” in either mode, but can only be downloaded and debugged when the RCM3400 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

A/D Converter The RCM3400 has an onboard ADS7870 A/D converter whose scaling and filtering are done via the motherboard on which the RCM3400 module is mounted. The A/D converter multiplexes converted signals from eight single-ended or four differential inputs ...

Page 38

If a device such as a battery is connected across two channels for a differential measurement, and it is not referenced to analog ground, then the current from the device will flow through both sets of attenuator resistors as shown ...

Page 39

A/D Converter Calibration All single-ended inputs are factory-calibrated with actual voltages at a gain code of 0. Typical values for the other gain codes and for other calibration constants for current and differential measurements are used to populate the ...

Page 40

Other Hardware 4.5.1 Clock Doubler The RCM3400 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 29.4 MHz frequency specified for the ...

Page 41

... RCM3400 boards have 256K–512K of SRAM installed at U6. 4.6.2 Flash EPROM RCM3400 boards also have 256K–512K of flash EPROM installed at U4. 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 42

RabbitCore RCM3400 ...

Page 43

... Dynamic integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with Rabbit Semiconductor controllers and other controllers based on the Rabbit microprocessor. Chapter 5 provides the libraries, function calls, and sample programs related to the RCM3400. 5.1 More About Dynamic C Dynamic C has been in use worldwide since 1989 ...

Page 44

... C, SPI, GPS, file system. LCD display and keypad drivers. • Powerful language extensions for cooperative or preemptive multitasking • Loader utility program to load binary images into Rabbit Semiconductor targets in the absence of Dynamic C. • Provision for customers to create their own source code libraries and augment on-line help by creating “ ...

Page 45

Dynamic C Function Calls 5.2.1 Digital I/O The RCM3400 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 ...

Page 46

Prototyping Board Function Calls The functions described in this section are for use with the Prototyping Board features. The source code is in the RCM34xx.LIB you need to modify it for your own board design. Other generic functions applicable ...

Page 47

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

Page 48

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 are the command data that configure the registers ...

Page 49

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

Page 50

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

Page 51

Reads the value of an analog input channel using the direct method of addressing the A/D converter. Note that it takes about 1 second to ensure an internal capacitor on the ...

Page 52

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 53

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

Page 54

Reads the state of a single-ended analog input channel and uses the previously set calibration constants to convert it to volts. PARAMETERS channel is the channel number ( corresponding to ADC_IN0 ...

Page 55

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

Page 56

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

Page 57

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 58

The gaincode parameter is ignored when channel is ALLCHAN. RETURN VALUE 0 if successful address is invalid or out of range. SEE ALSO anaInEEWr, anaInCalib 52 Voltage Range Gain ...

Page 59

Writes the calibration constants, gain, and offset for an input based from global tables _adcCalibS, _adcCalibD, and _adcCalibM to designated positions in the simulated EEPROM area of the flash memory. The ...

Page 60

The gaincode 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 54 Voltage Range Gain ...

Page 61

... The default installation of a patch or bug fix is to install the file in a directory (folder) dif- ferent from that of the original Dynamic C installation. Rabbit Semiconductor recom- mends using a different directory so that you can verify the operation of the patch without overwriting the existing Dynamic C installation. If you have made any changes to the BIOS or to libraries you have programs in the old directory (folder), make these same changes to the BIOS or libraries in the new directory containing the patch ...

Page 62

RabbitCore RCM3400 ...

Page 63

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

Page 64

A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM3400. Figure A-1. RCM3400 Dimensions 58 RabbitCore RCM3400 ...

Page 65

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

Page 66

Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM3400. Table A-1. RabbitCore RCM3400 Specifications Parameter Microprocessor Flash Memory SRAM Backup Battery Analog Inputs • A/D Converter Resolution • A/D Conversion Time (including 120 µs raw count and ...

Page 67

Table A-1. RabbitCore RCM3400 Specifications (continued) Parameter 2-channel input capture can be used to time input signals from various Input Capture port pins 2-channel quadrature decoder accepts inputs from external Quadrature Decoder incremental encoder modules Power Operating Temperature Humidity Connectors ...

Page 68

A.1.1 Headers The RCM3400 uses headers at J1 and J2 for physical connection to other boards. J1 and J2 are 2 × 17 SMT headers with a 1.27 mm pin spacing. Figure A-3 shows the layout of another board for ...

Page 69

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

Page 70

Figure A-4 shows a typical timing diagram for the Rabbit 3000 microprocessor external I/O read and write cycles. Figure A-4. External I/O Read and Write Cycles—No Extra Wait States NOTE: /IOCSx can be programmed to be active low (default) or ...

Page 71

Table A-5 lists the delays in gross memory access time for several values of V Table A-5. Data and Clock Delays V Clock to Address Output Delay (ns) VDD 3 The measurements ...

Page 72

A.3 Rabbit 3000 DC Characteristics Table A-6. 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 73

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 29.4 MHz CPU clock ...

Page 74

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 75

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

Page 76

RabbitCore RCM3400 ...

Page 77

A PPENDIX Appendix B describes the features and accessories of the Proto- typing Board, and explains the use of the Prototyping Board to demonstrate the RCM3400 and to build prototypes of your own circuits. The RCM3400 Prototyping Board has power-supply ...

Page 78

B.1 Introduction The Prototyping Board included in the Development Kit makes it easy to connect an RCM3400 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 79

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 80

... Current Measurement Option • be removed and replaced with an ammeter across the pins to measure the current drawn from the + the +3.3 V supplies, respectively. —Rabbit Semiconductor’s LCD/keypad module may be plugged • LCD/Keypad Module in directly to headers LCD1JA, LCD1JB, and LCD1JC. Appendix D provides complete information for mounting and using the LCD/keypad module. — ...

Page 81

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

Page 82

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

Page 83

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 RCM3400 right out of the box without any ...

Page 84

Selected signals from the Rabbit 3000 microprocessor are available on header J1 of the Prototyping Board. The remaining ports on the Rabbit 3000 microprocessor are used for RS-232, RS-485, and Ethernet serial communication. Table B-2 lists the signals on header ...

Page 85

There is a 2" × 4" through-hole prototyping space available on the Prototyping Board. The holes in the prototyping area are spaced at 0.1" (2.5 mm). +3 and GND traces run along the edge of the Prototyping ...

Page 86

B.4.3 Analog Features The Prototyping Board has typical support circuitry installed to complement the ADS7870 A/D converter on the RCM3400 module. B.4.3.1 A/D Converter Inputs Figure B-6 shows a pair of A/D converter input circuits. The resistors form an approx. ...

Page 87

... A/D con- verter. 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 soft- ware drivers to work with single-ended negative voltages, but the differential mode described below may be used to measure negative voltages ...

Page 88

B.4.3.2 Thermistor Input Analog input THERM_IN7 on the Prototyping Board was designed specifically for use with a thermistor in conjunction with the strates how to use analog input THERM_IN7 to calculate temperature for display to the Dynamic C window. The ...

Page 89

B.4.3.3 A/D Converter Calibration All single-ended inputs are factory-calibrated with actual voltages at a gain code of 0. Typical values for the other gain codes and for other calibration constants for current and differential measurements are used to populate the ...

Page 90

B.4.4 Serial Communication The RCM3400 Prototyping Board allows you to access five of the serial ports from the RCM3400 module. Table B-5 summarizes the configuration options. Note that Serial Ports E and F can be used only with the RCM3400 ...

Page 91

B.4.4.1 RS-232 RS-232 serial communication on header J5 on both Prototyping Boards 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 ...

Page 92

B.4.4.2 RS-485 The RCM3400 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 PD0 on the Rabbit 3000 to control ...

Page 93

The RCM3400 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 JP3, as shown in Figure B-9. Figure B-9. RS-485 Termination and ...

Page 94

B.4.4.3 Ethernet Port Figure B-10 shows the pinout for the Ethernet port (header J7). Note that there are two stan- dards for numbering the pins on this connector—the convention used here, and numbering in reverse to that shown. Regardless of ...

Page 95

B.4.5 Other Prototyping Board Modules An optional LCD/keypad module is available that can be mounted on the RCM3400 Prototyping Board. Refer to Appendix D, “LCD/Keypad Module,” for complete information. User’s Manual 89 ...

Page 96

B.5 RCM3400 Prototyping Board Jumper Configurations Figure B-12 shows the header locations used to configure the various RCM3400 Prototyp- ing Board options via jumpers. Figure B-12. Location of Configurable Jumpers on RCM3400 Prototyping Board Table B-6 lists the configuration options ...

Page 97

Table B-6. RCM3400 Prototyping Board Jumper Configurations (continued) Header Description Analog Voltage/4–20 mA JP5 Options JP9 ADC_IN4–ADC_IN5 JP10 Current Measurement Option RS-485 Bias and Termination JP3 Resistors * PG7 RS-232/RS-485 Select JP4 * PG3 IrDA/RS-232 Select JP6 * PG2 IrDA/RS-232 ...

Page 98

RabbitCore RCM3400 ...

Page 99

A PPENDIX C.1 TCP/IP Connections Programming and development can be done with the RCM3400 modules without connect- ing the Ethernet port on the RCM3400 Prototyping Board to a network. However, if you will be running the sample programs that use ...

Page 100

The following options require more care in address selection and testing actions, as conflicts with other users, servers and systems can occur: LAN — Connect the RCM3400 Prototyping Board’s Ethernet port to an existing LAN, • preferably one to which ...

Page 101

C.2 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 102

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 103

C.2.1 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 104

C.2.2 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 105

C.2.3 Dynamically Assigned Internet Addresses In many instances, there are no 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 when you have a ...

Page 106

C.3 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 107

... RCM3400 board together on the same network. This network can be a local private net- work (preferred for initial experimentation and debugging connection via the Internet. RCM3400 User’s PC Ethernet crossover cable Direct Connection (network of 2 computers) User’s Manual System Ethernet cables Hub Direct Connection Using a Hub RCM3400 System To additional network elements 101 ...

Page 108

C.4.1 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 109

... IP address automatically”.) You may want to write down the existing values in case you have to restore them later not necessary to edit the gateway address since the gateway is not used with direct connect. IP 10.10.6.101 Netmask 255.255.255.0 Direct Connection PC to RCM3400 System User’ ...

Page 110

C.5 Run the PINGME.C Sample Program Connect the crossover cable from your computer’s Ethernet port to the RJ-45 Ethernet connector on the RCM3400 Prototyping Board. Open this sample program from the folder, compile the program, and start it running under ...

Page 111

... 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/. If the sample programs ran fine, you are now ready to go on. ...

Page 112

RabbitCore RCM3400 ...

Page 113

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

Page 114

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

Page 115

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

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

Page 117

D.4 Header Pinouts Figure D-6 shows the pinouts for the LCD/keypad module. Figure D-6. LCD/Keypad Module Pinouts D.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 D-2. ...

Page 118

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

Page 119

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

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

Page 121

... Figure D-10. Connecting LCD/Keypad Module to RCM3400 Prototyping Board Note the locations and connections relative to pin 1 on both the RCM3400 Prototyping Board and the LCD/keypad module. Rabbit Semiconductor offers 2 ft. (60 cm) extension cables. Contact your authorized Rabbit Semiconductor distributor or a sales representative for more information. User’s Manual ...

Page 122

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

Page 123

D.8 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 124

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

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(char pattern); Fills the LCD display screen with a pattern. PARAMETER The ...

Page 126

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 127

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 128

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 129

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 130

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 131

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 132

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 133

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 134

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 135

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 136

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 137

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 138

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 139

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 140

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 141

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 142

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 143

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 144

D.8.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 145

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 146

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 147

A Appendix D provides information on the current requirements of the RCM3400, and includes some background on the chip select circuit used in power management. E.1 Power Supplies The RCM3400 requires a regulated 2.8 V – 3. power ...

Page 148

The drain on the battery by the RCM3400 is typically 7.5 µA when no other power is sup- plied 165 mA·h battery is used, the battery can last about 2.5 years: 165 mA·h ----------------------- - = 2.5 years. ...

Page 149

A A/D converter calibration ................... 33, 83 function calls anaIn .............................. 45 anaInCalib ..................... 46 anaInConfig ................... 41 anaInDiff ....................... 49 anaInDriver ................... 43 anaInEERd .................... 51 anaInEEWr .................... 53 anaInmAmps ................. 50 anaInVolts ..................... 48 inputs current measurements ... ...

Page 150

J jumper configurations Prototyping Board .............90 JP1 (analog inputs refer- ence) ...........................90 JP10 (current measurement option) .........................91 JP2 (analog inputs refer- ence) ...........................90 JP3 (RS-485 bias and termi- nation resistors) ....87, 91 JP4 (PG7 RS-232/RS-485 select) ..........................91 JP5 (analog voltage/4–20 ...

Page 151

... THERMISTOR.C ... 18, 82 UPLOADCALIB.C ....... 18 getting to know the RCM3400 CONTROLLED.C ........ 14 FLASHLED1.C ............ 15 FLASHLED2.C ............ 15 IR_DEMO.C ................. 15 TOGGLESWITCH.C .... 15 how to run TCP/IP sample programs ............. 101, 102 how to set IP address ...... 102 LCD/keypad module ....... 116 KEYBASIC.C ............. 110 KEYPADTOLED.C .... 116 LCDKEYFUN.C ......... 116 reconfigure keypad ...... 110 SWITCHTOLED.C ..... 116 User’s Manual PONG.C ............................ 11 real-time clock RTC_TEST ...

Page 152

RabbitCore RCM3400 ...

Page 153

RCM3400 Schematic www.rabbit.com/documentation/schemat/090-0157.pdf 090-0162 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0162.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 147 ...

Page 154

...

Related keywords