RabbitCore RCM3200C-Programmable Module with EthernetUser’s Manual019–0118 • 080528–N
4 RabbitCore RCM32001.2 Comparing the RCM3209/RCM3229 and RCM3200/RCM3220We can no longer obtain certain components for the RCM3200/RCM3220 RabbitCor
94 RabbitCore RCM3200Sets display contrast.NOTE: This function is not used with the LCD/keypad module since the support circuits are not available on
User’s Manual 95Plots 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 ou
96 RabbitCore RCM3200Fills a polygon in the LCD page buffer and on the LCD screen if the buffer is unlocked. Any portion of the polygon that is outsid
User’s Manual 97Draws a filled circle in the LCD page buffer and on the LCD if the buffer is unlocked. Any portion of the circle that is outside the L
98 RabbitCore RCM3200Puts an entry from the font table to the page buffer and on the LCD if the buffer is unlocked. Each font character's bitmap
User’s Manual 99Provides an interface between the STDIO string-handling functions and the graphic library. The STDIO string-formatting function will c
100 RabbitCore RCM3200Increments LCD screen locking counter. Graphic calls are recorded in the LCD memory buffer and are not transferred to the LCD if
User’s Manual 101Gets the current method (or color) of pixels drawn by subsequent graphic calls. RETURN VALUEThe current brush type.SEE ALSOglSetBrush
102 RabbitCore RCM3200Scrolls byte-aligned window left one pixel, right column is filled by current pixel type (color).PARAMETERSleft is the top left
User’s Manual 103Scrolls byte-aligned window down one pixel, top column is filled by current pixel type (color).PARAMETERSleft is the top left corner
User’s Manual 51.3 Advantages of the RCM3200• Fast time to market using a fully engineered, “ready to run” microprocessor core.• Competitive pricing
104 RabbitCore RCM3200Scrolls up or down, within the defined window by x number of pixels. The opposite edge of the scrolled window will be filled in
User’s Manual 105Draws bitmap in the specified space. The data for the bitmap are stored in xmem. This function is like glXPutBitmap, except that it i
106 RabbitCore RCM3200Sets the cursor location on the display of where to display the next character. The display location is based on the height and
User’s Manual 107Prints a formatted string (much like printf) on the LCD screen. Only printable characters in the font set are printed, also escape se
108 RabbitCore RCM3200C.7.4 KeypadThe functions used to control the keypad are contained in the Dynamic C LIB\KEYPADS\KEYPAD7.LIB library.Initializes
User’s Manual 109cSpdHi is a high-speed repeat tick.How many times to repeat after low speed repeat.0 = None.RETURN VALUENone.SEE ALSOkeyProcess, keyG
110 RabbitCore RCM3200Configures the physical layout of the keypad with the desired ASCII return key codes.Keypad physical mapping 1 × 7where'E&a
User’s Manual 111C.8 Sample ProgramsSample programs illustrating the use of the LCD/keypad module with the Prototyping Board are provided in the SAMP
112 RabbitCore RCM3200
User’s Manual 113APPENDIX D. POWER SUPPLYAppendix D provides information on the current requirementsof the RCM3200, and includes some background on t
6 RabbitCore RCM32001.4 Development and Evaluation Tools1.4.1 RCM3200 Development KitThe RCM3200 Development Kit contains the hardware you need to u
114 RabbitCore RCM3200The drain on the battery by the RCM3200 is typically 12 µA when no other power is sup-plied. If a 165 mA·h battery is used, the
User’s Manual 115D.1.3 Reset GeneratorThe RCM3200 uses a reset generator to reset the Rabbit 3000 microprocessor when the voltage drops below the vol
116 RabbitCore RCM3200
User’s Manual 117APPENDIX E. MOTOR CONTROL OPTIONThe Prototyping Board has a header at J6 for a motor control option.While Rabbit does not support th
118 RabbitCore RCM3200E.2 Header J6The connector is a 2 × 5, 0.1" pitch header suitable for connecting to an IDC header socket, with the followi
User’s Manual 119E.3 Using Parallel Port FParallel Port F is a byte-wide port with each bit programmable for data direction and drive. These are simp
120 RabbitCore RCM3200Table E-2. Parallel Port F RegistersRegister Name Mnemonic I/O Address R/W Reset ValuePort F Data Register PFDR 00111000 (0x38
User’s Manual 121Port F Data Direction Register PFDDR 00111111 (0x3F) W 00000000Bits Value Description0:7 0 Corresponding port bit is an input1 Corre
122 RabbitCore RCM3200E.4 PWM OutputsThe Pulse-Width Modulator consists of a 10-bit free-running counter and four width regis-ters. Each PWM output i
User’s Manual 123E.5 PWM RegistersThere are no default values on reset for any of the PWM registers.Table E-4. PWM RegistersPWM LSBs Register Addres
User’s Manual 71.4.2 SoftwareThe RCM3200 and the RCM3220 are programmed using version 9.21 or later of Rabbit’s Dynamic C. A compatible version is in
124 RabbitCore RCM3200E.6 Quadrature DecoderThe two-channel Quadrature Decoder accepts inputs via Parallel Port F from two external optical increment
User’s Manual 125The Quadrature Decoder generates an interrupt when the counter increments from 0x00 to 0x01 or when the counter decrements from 0x00
126 RabbitCore RCM3200Quad Decode Control Register QDCR Address = 10010001 (0x91)Bit Value Description7:6 0xDisable Quadrature Decoder 2 inputs. Writi
User’s Manual 127INDEXAadditional informationonline documentation ... 7Bbattery backupbattery life ... 114circuit ...
128 RabbitCore RCM3200LLCD/keypad modulebezel-mount installation ...89dimensions ...83function callsdispInit ...
User’s Manual 129serial communicationFLOWCONTROL.C ... 21PARITY.C ... 21SIMPLE3WIRE.C ... 21SIMPLE485MASTER.C 22SIMPLE485SLAVE
130 RabbitCore RCM3200
User’s Manual 131SCHEMATICS090-0152 RCM3200 Schematicwww.rabbit.com/documentation/schemat/090-0152.pdf090-0137 Prototyping Board Schematicwww.rabbit.c
8 RabbitCore RCM3200
User’s Manual 92. HARDWARE SETUPThis chapter describes how to set up and connect an RCM3200 seriesmodule and the Prototyping Board included in the De
10 RabbitCore RCM32002.2 Hardware ConnectionsThere are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs
User’s Manual 112.2.1 Step 1 — Attach Module to Prototyping BoardTurn the RCM3200 series module so that the Ethernet jack extends off the Prototyping
12 RabbitCore RCM32002.2.2 Step 2 — Connect Programming CableThe programming cable connects the RCM3200 to the PC running Dynamic C to down-load prog
User’s Manual 132.2.2.2 RCM3200 and RCM3220Connect the 10-pin connector of the programming cable labeled PROG to header J3 on the RCM3200 module as s
RabbitCore RCM3200Rabbit Semiconductor Inc.www.rabbit.comRabbitCore RCM3200 User’s ManualPart Number 019-0118 • 080528–N • Printed in U.S.A.©2002–2008
14 RabbitCore RCM32002.2.3 Step 3 — Connect PowerWhen all other connections have been made, you can connect power to the Prototyping Board.If you hav
User’s Manual 152.2.3.1 Overseas Development KitsDevelopment kits sold outside North America up to May, 2008, included a header connec-tor that may b
16 RabbitCore RCM32002.3 Starting Dynamic CNOTE: Dynamic C v. 9.60 or a later version is required if you are using an RCM3209 or an RCM3229 RabbitCor
User’s Manual 17If Dynamic C appears to compile the BIOS successfully, but you then receive a communi-cation error message when you compile and load t
18 RabbitCore RCM3200
User’s Manual 193. RUNNING SAMPLE PROGRAMSTo develop and debug programs for the RCM3200 (and for allother Rabbit hardware), you must install and use
20 RabbitCore RCM32003.2 Sample ProgramsOf the many sample programs included with Dynamic C, several are specific to the RCM3200. Sample programs ill
User’s Manual 213.2.1 Serial CommunicationThe following sample programs can be found in the SAMPLES\RCM3200\SERIAL folder.• FLOWCONTROL.C—This progra
22 RabbitCore RCM3200• SWITCHCHAR.C—This program demonstrates transmitting and then receiving an ASCII string on Serial Ports B and C. It also display
User’s Manual 234. HARDWARE REFERENCEChapter 4 describes the hardware components and principal hardwaresubsystems of the RCM3200. Appendix A, “RCM320
User’s ManualTABLE OF CONTENTSChapter 1. Introduction 11.1 RCM3200 Features...
24 RabbitCore RCM32004.1 RCM3200 Digital Inputs and OutputsThe RCM3200 has 52 parallel I/O lines grouped in seven 8-bit ports available on headers J1
User’s Manual 25Figure 7 shows the use of the Rabbit 3000 microprocessor ports in the RCM3200 modules.Figure 7. Use of Rabbit 3000 PortsThe ports on
26 RabbitCore RCM3200Table 2. RCM3200 Pinout ConfigurationsPin Pin Name Default Use Alternate Use NotesHeader J11GND2 STATUS Output (Status) Output3–
User’s Manual 27Header J21 /RES Reset output Reset inputReset output from Reset Generator2 PB0 Input/Output CLKB3 PB2 Input/OutputIA0/SWRExternal Addr
28 RabbitCore RCM3200Notes1. When using pins 33–34 on header J1 to drive LEDs, you must use an external buffer to drive these external LEDs. These pin
User’s Manual 294.1.1 Memory I/O InterfaceThe Rabbit 3000 address lines (A0–A19) and all the data lines (D0–D7) are routed inter-nally to the onboard
30 RabbitCore RCM32004.2 Serial CommunicationThe RCM3200 board does not have an RS-232 or an RS-485 transceiver directly on the board. However, an RS
User’s Manual 314.2.2 Ethernet Port (RCM3200 only)Figure 8 shows the pinout for the RJ-45 Ethernet port (J4). Note that some Ethernet con-nectors are
32 RabbitCore RCM32004.2.3 Serial Programming PortThe RCM3200 serial programming port is accessed using header J3 or over an Ethernet connection via
User’s Manual 334.3 Serial Programming CableThe programming cable is used to connect the serial programming port of the RCM3200 to a PC serial COM po
RabbitCore RCM32004.5 Memory...
34 RabbitCore RCM3200A program “runs” in either mode, but can only be downloaded and debugged when the RCM3200 is in the Program Mode.Refer to the Rab
User’s Manual 354.4 Other Hardware4.4.1 Clock DoublerThe RCM3200 takes advantage of the Rabbit 3000 microprocessor’s internal clock doubler. A built
36 RabbitCore RCM32004.5 Memory4.5.1 SRAMThe RCM3200 and the RCM3220 have 512K of program execution SRAM installed at U8. The RCM3200 and RCM3220 da
User’s Manual 375. SOFTWARE REFERENCEDynamic C is an integrated development system for writingembedded software. It runs on an IBM-compatible PC and
38 RabbitCore RCM3200for additional information if you are using a Dynamic C release prior to v. 9.60 under Windows Vista. Programs can be downloaded
User’s Manual 395.2 Dynamic C Function Calls5.2.1 Digital I/OThe RCM3200 was designed to interface with other systems, and so there are no drivers w
40 RabbitCore RCM32005.2.3 Serial Communication DriversLibrary files included with Dynamic C provide a full range of serial communications sup-port.
User’s Manual 415.2.5.1 Board InitializationCall this function at the beginning of your program. This function initializes Parallel Ports A through G
42 RabbitCore RCM32005.3 Upgrading Dynamic CDynamic C patches that focus on bug fixes are available from time to time. Check the Web site www.rabbit.
User’s Manual 436. USING THE TCP/IP FEATURES6.1 TCP/IP ConnectionsProgramming and development can be done with the RCM3200 RabbitCore modules withou
User’s ManualC.3 Keypad Labeling...
44 RabbitCore RCM3200The following options require more care in address selection and testing actions, as conflicts with other users, servers and syst
User’s Manual 456.2 TCP/IP Primer on IP AddressesObtaining IP addresses to interact over an existing, operating, network can involve a num-ber of com
46 RabbitCore RCM3200If your system administrator can give you an Ethernet cable along with its IP address, the netmask and the gateway address, then
User’s Manual 476.2.1 IP Addresses ExplainedIP (Internet Protocol) addresses are expressed as 4 decimal numbers separated by periods, for example:216
48 RabbitCore RCM32006.2.2 How IP Addresses are UsedThe actual hardware connection via an Ethernet uses Ethernet adapter addresses (also called MAC
User’s Manual 496.2.3 Dynamically Assigned Internet AddressesIn many instances, there are no fixed IP addresses. This is the case when, for example,
50 RabbitCore RCM32006.3 Placing Your Device on the NetworkIn many corporate settings, users are isolated from the Internet by a firewall and/or a pr
User’s Manual 516.4 Running TCP/IP Sample ProgramsWe have provided a number of sample programs demonstrating various uses of TCP/IP for networking em
52 RabbitCore RCM32006.4.1 How to Set IP Addresses in the Sample ProgramsWith the introduction of Dynamic C 7.30 we have taken steps to make it easie
User’s Manual 536.4.2 How to Set Up your Computer’s IP Address for Direct ConnectWhen your computer is connected directly to the RCM3200 board via an
RabbitCore RCM3200
54 RabbitCore RCM32006.5 Run the PINGME.C Sample ProgramConnect the crossover cable from your computer’s Ethernet port to the RCM3200 board’s RJ-45 E
User’s Manual 55• ENET_MENU.C—This program demonstrates how to implement a menu system using a highlight bar on a graphic LCD display and to communica
56 RabbitCore RCM3200
User’s Manual 57APPENDIX A. RCM3200 SPECIFICATIONSAppendix A provides the specifications for the RCM3200, anddescribes the conformal coating.
58 RabbitCore RCM3200A.1 Electrical and Mechanical CharacteristicsFigure A-1 shows the mechanical dimensions for the RCM3200.Figure A-1. RCM3200 Dim
User’s Manual 59It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM3200 in all directions (except above the R
60 RabbitCore RCM3200Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM3200.Table A-1. RabbitCore RCM3200 Speci
User’s Manual 61A.1.1 HeadersThe RCM3200 uses headers at J1 and J2 for physical connection to other boards. J1 and J2 are 2 × 17 SMT headers with a 2
62 RabbitCore RCM3200A.1.2 Physical MountingA 9/32” (7 mm) standoff with a 2-56 screw is recommended to attach the RCM3200 to a user board at the hol
User’s Manual 63A.2 Bus LoadingYou must pay careful attention to bus loading when designing an interface to the RCM3200. This section provides bus lo
User’s Manual 11. INTRODUCTIONThe RCM3200 RabbitCore® module is designed to be the heartof embedded control systems. The RCM3200 features an inte-gra
64 RabbitCore RCM3200Figure A-4 shows a typical timing diagram for the Rabbit 3000 microprocessor external I/O read and write cycles.Figure A-4. I/O
User’s Manual 65Table A-4 lists the delays in gross memory access time for VDD = 3.3 V.The measurements are taken at the 50% points under the followin
66 RabbitCore RCM3200A.3 Rabbit 3000 DC CharacteristicsTable A-5 outlines the DC characteristics for the Rabbit at 3.3 V over the recommended operati
User’s Manual 67A.4 I/O Buffer Sourcing and Sinking LimitUnless otherwise specified, the Rabbit I/O buffers are capable of sourcing and sinking 6.8 m
68 RabbitCore RCM3200A.5 Conformal CoatingThe areas around the 32 kHz real-time clock crystal oscillator has had the Dow Corning silicone-based 1-262
User’s Manual 69A.6 Jumper ConfigurationsFigure A-6 shows the header locations used to configure the various RCM3200 options via jumpers. Figure A-6.
70 RabbitCore RCM3200
User’s Manual 71APPENDIX B. PROTOTYPING BOARDAppendix B describes the features and accessories of the Proto-typing Board, and explains the use of the
72 RabbitCore RCM3200B.1 IntroductionThe Prototyping Board included in the Development Kit makes it easy to connect an RCM3200 module to a power supp
User’s Manual 73B.1.1 Prototyping Board Features• Power Connection—A power-supply jack and a 3-pin header are provided for con-nection to the power s
2 RabbitCore RCM32001.1 RCM3200 Features• Small size: 1.85" x 2.73" x 0.86"(47 mm x 69 mm x 22 mm) • Microprocessor: Rabbit 3000 runni
74 RabbitCore RCM3200• RS-232—Two 3-wire or one 5-wire RS-232 serial port are available on the Prototyping Board. Refer to the Prototyping Board schem
User’s Manual 75B.2 Mechanical Dimensions and LayoutFigure B-2 shows the mechanical dimensions and layout for the Prototyping Board.Figure B-2. RCM3
76 RabbitCore RCM3200Table B-1 lists the electrical, mechanical, and environmental specifications for the Proto-typing Board.B.3 Power SupplyThe RCM3
User’s Manual 77B.4 Using the Prototyping BoardThe Prototyping Board is actually both a demonstration board and a prototyping board. As a demonstrati
78 RabbitCore RCM3200B.4.1 Adding Other ComponentsThere are pads that can be used for surface-mount prototyping involving SOIC devices. There is prov
User’s Manual 79B.4.3 Other Prototyping Board Modules and OptionsWith the RCM3200 plugged into the MASTER slots, it has full access to the RS-232 tra
80 RabbitCore RCM3200B.5 Use of Rabbit 3000 Parallel PortsTable B-2 lists the Rabbit 3000 parallel ports and their use for the RCM30/31/32XX Prototyp
User’s Manual 81PF0–PF7 Input Reserved for future usePulled up onPrototyping BoardPG0 Input Switch S3 (normally open) HighPG1 Input Switch S2 (normall
82 RabbitCore RCM3200
User’s Manual 83APPENDIX C. LCD/KEYPAD MODULEAn optional LCD/keypad is available for the Prototyping Board.Appendix C describes the LCD/keypad and pr
User’s Manual 3Table 1 below summarizes the main features of the RCM3200.The RCM3200 can be programed locally, remotely, or via a network using approp
84 RabbitCore RCM3200Mounting hardware and a 60 cm (24") extension cable are also available for the LCD/key-pad module through your sales represe
User’s Manual 85C.2 Contrast Adjustments for All BoardsStarting in 2005, LCD/keypad modules were factory-configured to optimize their contrast based
86 RabbitCore RCM3200C.3 Keypad LabelingThe keypad may be labeled according to your needs. A template is provided in Figure C-4 to allow you to desig
User’s Manual 87C.4 Header PinoutsFigure C-6 shows the pinouts for the LCD/keypad module.Figure C-6. LCD/Keypad Module Pinouts C.4.1 I/O Address As
88 RabbitCore RCM3200C.5 Mounting LCD/Keypad Module on the Prototyping BoardInstall the LCD/keypad module on header sockets J7, J8, and J10 of the Pr
User’s Manual 89C.6 Bezel-Mount InstallationThis section describes and illustrates how to bezel-mount the LCD/keypad module. Fol-low these steps for
90 RabbitCore RCM32003. 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
User’s Manual 91C.6.1 Connect the LCD/Keypad Module to Your Prototyping BoardThe LCD/keypad module can be located as far as 2 ft. (60 cm) away from t
92 RabbitCore RCM3200C.7 LCD/Keypad Module Function CallsWhen mounted on the Prototyping Board, the LCD/keypad module uses the external I/O bus on th
User’s Manual 93C.7.3 LCD DisplayThe functions used to control the LCD display are contained in the GRAPHIC.LIB library located in the Dynamic C DISP
Commentaires sur ces manuels