101-1028 Rabbit Semiconductor, 101-1028 Datasheet

no-image

101-1028

Manufacturer Part Number
101-1028
Description
MODULE RABBITCORE RCM3750
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1028

Module/board Type
MPU Core Module
For Use With/related Products
RCM3750
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
RabbitCore RCM3750
C-Programmable Core Module
with Ethernet, Serial Flash, and Enhanced Software
User’s Manual
019–0149 • 070831–E

Related parts for 101-1028

101-1028 Summary of contents

Page 1

RabbitCore RCM3750 C-Programmable Core Module with Ethernet, Serial Flash, and Enhanced Software User’s Manual 019–0149 • 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 RCM3750 Features ...............................................................................................................................1 1.2 Advantages of the RCM3750 ...............................................................................................................3 1.3 Development and Evaluation Tools......................................................................................................4 1.3.1 Development Kit ...........................................................................................................................4 1.3.2 Software ........................................................................................................................................5 1.3.3 Application Kits ............................................................................................................................5 1.3.4 802.11b Wi-Fi Add-On Kit ...........................................................................................................5 1.3.5 Online Documentation ..................................................................................................................6 Chapter ...

Page 4

Memory .............................................................................................................................................. 33 4.5.1 SRAM......................................................................................................................................... 33 4.5.2 Flash EPROM............................................................................................................................. 33 4.5.3 Serial Flash ................................................................................................................................. 33 4.5.4 Dynamic C BIOS Source Files................................................................................................... 33 Chapter 5. Software Reference 5.1 More About Dynamic C ..................................................................................................................... 35 5.2 Dynamic C Functions......................................................................................................................... 37 5.2.1 ...

Page 5

... B.1.6 Serial Communication ..............................................................................................................100 B.1.6.1 RS-232 ............................................................................................................................. 101 B.1.6.2 RS-485 ............................................................................................................................. 102 B.1.7 Other Prototyping Board Modules ...........................................................................................104 B.1.8 Jumper Configurations .............................................................................................................105 B.1.9 Use of Rabbit 3000 Parallel Ports ............................................................................................107 B.2 RCM3720 Prototyping Board ..........................................................................................................109 B.2.1 Features ....................................................................................................................................110 B.2.2 Mechanical Dimensions and Layout ........................................................................................111 B ...

Page 6

RabbitCore RCM3750 ...

Page 7

The RCM3750 is a compact module that incorporates the latest revision of the powerful Rabbit memory, onboard serial flash, static RAM, and digital I/O ports. The RCM3750 features an integrated 10/100Base-T Ethernet port that provides for LAN and Internet-enabled systems. ...

Page 8

RJ-45 Ethernet port • 512K flash memory and 512K SRAM (options for 256K flash memory and 128K SRAM) • 1 Mbyte serial flash memory, which is required to run the optional Dynamic C FAT file system • Real-time ...

Page 9

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

Page 11

... Wi-Fi Add-On Kit Rabbit Semiconuctor also offers a Wi-Fi Add-On Kit (Part No. 101-0999) for the full line of RCM3700 modules, including the RCM3750. This Wi-Fi Add-On Kit consists of an RCM3600–RCM3700 Interposer Board, a Wi-Fi CompactFlash card with a CompactFlash Wi-Fi Board, a ribbon interconnecting cable, and the software drivers and sample pro- grams to help you enable the full line of RCM3700 modules with Wi-Fi capabilities ...

Page 12

Online Documentation The online documentation is installed along with Dynamic C, and an icon for the docu- mentation menu is placed on the workstation’s desktop. Double-click this icon to reach the menu. If the icon is missing, use your ...

Page 13

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

Page 14

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

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 con- verter section located in the middle of the cable. The simplified programming cable and adapter board that are supplied with the Ethernet Connection Kit may also be used as shown in the inset diagram above ...

Page 16

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

Page 17

Starting Dynamic C Once the RCM3750 is connected as described in the preceding pages, start Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on dcrab_XXXX.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 RCM3750 (and for all other Rabbit Semiconductor hardware), you must install and use Dynamic C. 3.1 Introduction To help familiarize you with the RCM3750 modules, Dynamic C includes several sample programs. Loading, executing and studying these programs will give you a solid hands-on overview of the RCM3750’ ...

Page 20

The default I/O configuration in the sample programs is based on the RabbitCore module detected during compile time: • Any RCM3700 RabbitCore module (except the RCM3720) will have its I/O ports con- figured for an RCM3700 Prototyping Board. • An ...

Page 21

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

Page 22

LEDs • CONTROLLED.c on the Prototyping Board on or off from the Once you compile and run Dynamic C window. STDIO Press “1” or “2” on your keyboard to ...

Page 23

Use of Serial Flash The following sample programs can be found in the and the SAMPLES\RCM3720\SerialFlash —This program runs a simple Web server and stores a log of • SERIAL_FLASHLOG.C hits on the home page of the serial flash ...

Page 24

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 25

A/D Converter Inputs The following sample programs are found in the —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 be rewritten into ...

Page 26

UPLOADCALIB.C block in flash memory and then transmitting 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 RCM3750. Appendix A, “RCM3750 Specifica- tions,” provides complete physical and electrical specifications. Figure 4 shows the Rabbit-based subsystems designed into the RCM3750. User’s Manual 4. H ARDWARE Figure ...

Page 28

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

Page 29

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

Page 30

Table 2. RCM3750 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. RCM3750 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 Output 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 ...

Page 33

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

Page 34

Ethernet Port Figure 8 shows the pinout for the RJ-45 Ethernet port (J3). Note that some Ethernet con- nectors are numbered in reverse to the order used here. Figure 8. RJ-45 Ethernet Port Pinout Two LEDs are placed next ...

Page 35

The programming port may also be used as a serial port via the programming cable. In addition to Serial Port A, the Rabbit 3000 startup-mode (SMODE0, SMODE1), status, and reset pins are available on the programming port. The two startup ...

Page 36

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

Page 37

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

Other Hardware 4.4.1 Clock Doubler The RCM3750 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 39

Memory 4.5.1 SRAM RCM3750 modules have 512K of SRAM. 4.5.2 Flash EPROM RCM3750 modules also have 512K of flash EPROM. NOTE: Rabbit Semiconuctor recommends that any customer applications should not be constrained by the sector size of the flash ...

Page 40

RabbitCore RCM3750 ...

Page 41

Dynamic integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with Rabbit Semiconuctor controllers and other controllers based on the Rabbit microprocessor. Chapter 5 describes the libraries and ...

Page 42

Dynamic C has a number of standard features: • Full-feature source and/or assembly-level debugger, no in-circuit emulator required. • Royalty-free TCP/IP stack with source code and most common protocols. • Hundreds of functions in source-code libraries and sample programs: Exceptionally ...

Page 43

Dynamic C Functions The functions described in this section are for use with the Prototyping Board features. The source code is in the RCM37xx.LIB the folder, depending on which Prototyping Board you will be using, SAMPLES\RCM3720 if you need ...

Page 44

Board Initialization void brdInit (void); Call this function at the beginning of your program. This function initializes Parallel Ports A through G for use with the RCM3700 Prototyping Board or the RCM3720 Prototyping Board. The brdInit function is set ...

Page 45

Analog Inputs NOTE: The function calls for the A/D converter in this section will work only with the RCM3700 Prototyping Board. unsigned int anaInConfig(unsigned int instructionbyte, unsigned int cmd, long baud); Use this function to configure the ADS7870 A/D ...

Page 46

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 47

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 48

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 42 RabbitCore RCM3750 ...

Page 49

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 50

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 51

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 52

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 53

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 54

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 55

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 56

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 57

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 User’s Manual Voltage Range ...

Page 58

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

Page 59

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 void digConfig(char statemask); Configures ...

Page 60

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

Page 61

Digital I/O The RCM3750 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 62

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 63

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 Add-On Modules Dynamic C installations are designed for use with the board they are included with, ...

Page 64

RabbitCore RCM3750 ...

Page 65

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

Page 66

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 RCM3750 module’s Ethernet port to an existing LAN, preferably • one to which the ...

Page 67

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 68

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

Page 69

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 70

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 71

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 72

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 73

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 RCM3750 board together on the same network. This ...

Page 74

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 75

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

Run the PINGME.C Sample Program Connect the crossover cable from your computer’s Ethernet port to the RCM3750 module’s RJ-45 Ethernet connector. Open this sample program from the folder, compile the program, and start it running under Dynamic C. When ...

Page 77

The sample program SMTP.C ing Board is pressed. Follow the instructions included with the sample program. LED DS1 on the Prototyping Board will light up when sending e-mail. Note that pin PB7 is con- nected to both switch S2 and ...

Page 78

Secure Sockets Layer (SSL) Sample Programs You will need to have the Dynamic C SSL module installed before you run the sample programs described in this section. The sample programs can be found in the folder. RCM3700\TCPIP\SSL Before running ...

Page 79

Manager (DLM) and HTTP upload capability, respectively—note that neither of these currently supports SSL security. Before you run the INTEGRATION.C partition the serial flash. Find the folder. Open this sample program with the SAMPLES\FileSystem then compile and run it by ...

Page 80

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

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

Page 82

A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM3750. Figure A-1. RCM3750 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 83

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

Page 84

Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM3750. Table A-1. RabbitCore RCM3750 Specifications Parameter Microprocessor Ethernet Port Flash Memory SRAM Serial Flash Memory Backup Battery General-Purpose I/O Additional I/O Auxiliary I/O Bus Serial Ports Serial Rate ...

Page 85

Table A-1. RabbitCore RCM3750 Specifications (continued) Parameter Connectors Board Size A.1.1 Headers The RCM3750 uses one header at J1 for physical connection to other boards × 20 SMT header with a 0.1" pin spacing. Figure A-3 ...

Page 86

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

Page 87

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 88

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 89

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 90

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 91

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 92

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

Page 93

A PPENDIX Two different Prototyping Boards are available for the RCM3700 series of RabbitCore modules. The RCM3700 Proto- typing Board has power-supply connections and also provides some basic I/O peripherals (RS-232, RS-485, A/D converter, IrDA transceiver, LEDs, and switches), as ...

Page 94

B.1 RCM3700 Prototyping Board The RCM3700 Prototyping Board included in the RCM3750 Development Kit makes it easy to connect an RCM3750 module to a power supply and a PC workstation for devel- opment. It also provides some basic I/O peripherals ...

Page 95

B.1.1 Features Power Connection —A 3-pin header is provided for connection to the power supply. • Note that the 3-pin header is symmetrical, with both outer pins connected to ground and the center pin connected to the raw DCIN input. ...

Page 96

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 97

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

Page 98

Table B-1 lists the electrical, mechanical, and environmental specifications for the RCM3700 Prototyping Board. Table B-1. RCM3700 Prototyping Board Specifications Parameter Board Size 4.50" × 6.50" × 0.75" (114 mm × 165 mm × 19 mm) Operating Temperature –20°C to ...

Page 99

B.1.4 Using the RCM3700 Prototyping Board The RCM3700 Prototyping Board is actually both a demonstration board and a prototyp- ing board demonstration board, it can be used to demonstrate the functionality of the RCM3750 right out of the ...

Page 100

The RCM3700 Prototyping Board comes with the basic components necessary to demon- strate the operation of the RCM3750. Two LEDs (DS1 and DS2) are connected to PF6 and PF7, and two switches (S1 and S2) are connected to PF4 and ...

Page 101

B.1.5 Analog Features The RCM3700 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 102

Table B-2. Positive A/D Converter Input Voltage Ranges Min. Voltage Max. Voltage (V) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 Other possible ranges are possible by physically changing the resistor values that make up the attenuator circuit ...

Page 103

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

Page 104

B.1.5.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. The scaling circuitry on the Prototyping Board and the sample programs are opti- mized for an internal reference voltage ...

Page 105

B.1.5.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 106

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

Page 107

... Standard 3-wire RS-232 communication using Serial Ports C and D is illustrated in the following sample code. #define CINBUFSIZE 15 #define COUTBUFSIZE 15 #define DINBUFSIZE 15 #define DOUTBUFSIZE 15 #define MYBAUD 115200 #endif main(){ serCopen(_MYBAUD); serDopen(_MYBAUD); serCwrFlush(); serCrdFlush(); serDwrFlush(); serDrdFlush(); } User’s Manual , where is the serial port (C or D). The locations X serXflowcon- 101 ...

Page 108

B.1.6.2 RS-485 The RCM3700 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 109

The RCM3700 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 110

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

Page 111

B.1.8 Jumper Configurations Figure B-10 shows the header locations used to configure the various RCM3700 Prototyp- ing Board options via jumpers. Figure B-10. Location of RCM3700 Prototyping Board Configurable Positions User’s Manual 105 ...

Page 112

Table B-5 lists the configuration options using jumpers. Table B-5. RCM3700 Prototyping Board 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 ...

Page 113

B.1.9 Use of Rabbit 3000 Parallel Ports Table B-6 lists the Rabbit 3000 parallel ports and their use for the RCM3700 Prototyping Board. Table B-6. RCM3700 Prototyping Board Use of Rabbit 3000 Parallel Ports Port I/O PA0–PA7 Output External ID0–ID7, ...

Page 114

Table B-6. RCM3700 Prototyping Board Use of Rabbit 3000 Parallel Ports Port I/O PE5 Output RS-232 enable PE6 Output Serial Flash Select PE7 Output LCD/keypad module BUFEN PF0 Output A/D converter select line PF1 Input A/D converter busy PF2–PF3 Input ...

Page 115

B.2 RCM3720 Prototyping Board The RCM3720 Prototyping Board included in the Ethernet Connection Kit makes it easy to connect an RCM3720 module to a power supply and a PC workstation for development. It also provides some basic I/O peripherals (LEDs ...

Page 116

B.2.1 Features Power Connection —A 3-pin header is provided for connection to the power supply. • Note that the 3-pin header is symmetrical, with both outer pins connected to ground and the center pin connected to the raw DCIN input. ...

Page 117

B.2.2 Mechanical Dimensions and Layout Figure B-12 shows the mechanical dimensions and layout for the RCM3720 Prototyping Board. Figure B-12. RCM3720 Prototyping Board Dimensions User’s Manual 111 ...

Page 118

Table B-1 lists the electrical, mechanical, and environmental specifications for the RCM3720 Prototyping Board. Table B-7. RCM3720 Prototyping Board Specifications Parameter Board Size 3.856" × 4.400" × 0.37" (114 mm × 165 mm × 9 mm) Operating Temperature –20°C to ...

Page 119

B.2.4 Using the RCM3720 Prototyping Board The RCM3720 Prototyping Board is actually both a demonstration board and a prototyp- ing board demonstration board, it can be used to demonstrate the functionality of the RCM3720 right out of the ...

Page 120

The RCM3720 Prototyping Board comes with the basic components necessary to demon- strate the operation of the RCM3700, RCM3710, RCM3720, and RCM3750 modules. Two LEDs (DS1 and DS2) are connected to PF6 and PF7, and two switches (S1 and S2) ...

Page 121

A 2 × 4 header strip with a 0.1" pitch can be installed at J4, and jumpers across the appro- priate pins on header J4 can be used to reconnect specific demonstration hardware later if needed. Each pin is labeled ...

Page 122

B.2.5 Serial Communication As shipped, the RCM3720 Prototyping Board has no RS-232 chip installed, and so no RS-232 communication is possible. An optional through-hole RS-232 chip may be installed surface-mount RS-232 chip may be installed at ...

Page 123

RS-232 can be used effectively at the RabbitCore module’s maximum baud rate for dis- tances When stuffed, the RS-232 chip brings out Serial Ports C and D to the header J3 area on the RCM3720 ...

Page 124

B.2.6 Use of Rabbit 3000 Parallel Ports Table B-10 lists the Rabbit 3000 parallel ports and their use for the RCM3720 Prototyping Board. Table B-10. RCM3720 Prototyping Board Use of Rabbit 3000 Parallel Ports Port I/O PA0–PA7 Input Not used ...

Page 125

Table B-10. RCM3720 Prototyping Board Use of Rabbit 3000 Parallel Ports Port I/O PF2–PF3 Input Not used PF4 Input Switch S1 PF5 Output Not used PF6 Output LED DS1 PF7 Output LED DS2 PG0–PG1 Output Not used PG2 Input Not ...

Page 126

RabbitCore RCM3750 ...

Page 127

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

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

Page 129

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 130

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 131

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 132

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

Page 133

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

Page 134

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 135

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 136

C.7.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 RCM3700 Prototyping Board, and is connected via a ribbon cable as shown in Figure C-11. ...

Page 137

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

Page 138

C.9 LCD/Keypad Module Function Calls When mounted on the RCM3700 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 ...

Page 139

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 140

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 141

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 142

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 143

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 144

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 145

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 146

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 147

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 148

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 149

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 150

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 151

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 152

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 153

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 154

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 155

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 156

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 157

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 158

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 159

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

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 161

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

Page 162

RabbitCore RCM3750 ...

Page 163

A Appendix D provides information on the current requirements of the RCM3750, 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 RCM3750 is connected ...

Page 164

D.1.2 Battery-Backup Circuits The RCM3750 does not have a battery, but there is provision for a customer-supplied bat- tery to back up the data SRAM and keep the internal Rabbit 3000 real-time clock running. Header J1, shown in Figure D-1, ...

Page 165

PPENDIX Appendix E provides information for the Secure Embedded Web Application Kit based on the RCM3700. In addition to an RCM3700 series RabbitCore module and Dynamic C 8. later version, the Secure Embedded Web Application ...

Page 166

Software Modules on CD-ROM 3—Dynamic C Secure Sockets Layer (SSL) module. This module provides HTTPS security for supported Rabbit-based devices to provide: • fast processing of complex encryption algorithms (up to 120 kbits/s) • support for HTTPS with SSL version ...

Page 167

A A/D converter function calls anaIn .............................. 43 anaInCalib ..................... 45 anaInConfig ................... 39 anaInDiff ....................... 48 anaInDriver ................... 41 anaInEERd .................... 50 anaInEEWr .................... 52 anaInmAmps ................. 49 anaInVolts ..................... 47 digConfig ...................... 53 digIn .............................. 54 digOut ........................... ...

Page 168

I I/O address assignments LCD/keypad module .......125 I/O buffer sourcing and sinking limits .............................84 IP addresses ...........................63 how to set in sample programs ........................................68 how to set PC IP address ...69 J jumper configurations ...........86 JP3 (flash memory size) ....86 ...

Page 169

... LEDS_CHECKBOX.C SPRINKLER.C ......... 71 TEMPERATURE SMTP.C ........................ 71 SSL SSL_BROWSELED SSL_MBOXDEMO.C serial communication ............ 27 RCM3700 Prototyping Board RS-232 ........................ 101 RS-485 network .......... 102 RS-485 termination and bias resistors .................... 103 RCM3720 Prototyping Board RS-232 ........................ 117 serial ports ............................. 27 Ethernet port ..................... 28 programming port ............. 28 software .................................. 5 auxiliary I/O bus ......... 26, 55 I/O drivers ......................... 55 libraries ...

Page 170

I/O buffer sourcing and sinking limits .................84 dimensions .........................76 electrical, mechanical, and environmental ...............78 exclusion zone ...................77 header footprint .................79 headers ...............................79 LCD/keypad module dimensions ...................121 electrical ......................122 header footprint ...........122 mechanical ...................122 relative ...

Page 171

RCM3750 Schematic www.rabbit.com/documentation/schemat/090-0210.pdf 090-0180 RCM3600/RCM3700 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0180.pdf 090-0199 RCM3720 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0199.pdf 090-0156 LCD/Keypad Module Schematic www.rabbit.com/documentation/schemat/090-0156.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf 090-0185 Programming Cable with Adapter Board Schematic www.rabbit.com/documentation/schemat/090-0185.pdf You may use the URL information ...

Page 172

...

Related keywords