20-101-0542 Rabbit Semiconductor, 20-101-0542 Datasheet

CABLE 1.27MM FOR RCM3200

20-101-0542

Manufacturer Part Number
20-101-0542
Description
CABLE 1.27MM FOR RCM3200
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0542

Accessory Type
Programming Cable
Product
Microcontroller Accessories
For Use With/related Products
Rabbit 3000-based products, except RCM30/3100, LP3500
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-101-0542
316-1180
RabbitCore RCM3200
C-Programmable Module with Ethernet
User’s Manual
019–0118 • 080528–N

Related parts for 20-101-0542

20-101-0542 Summary of contents

Page 1

... RabbitCore RCM3200 C-Programmable Module with Ethernet User’s Manual 019–0118 • 080528–N ...

Page 2

... RabbitCore RCM3200 User’s Manual Part Number 019-0118 • 080528–N • Printed in U.S.A. ©2002–2008 Digi International Inc. • All rights reserved. No part of the contents of this manual may be reproduced or transmitted in any form or by any means without the express written permission of Digi International. ...

Page 3

... Connectivity Interface Kits ...........................................................................................................7 1.4.4 Online Documentation ..................................................................................................................7 Chapter 2. Hardware Setup 2.1 Install Dynamic C .................................................................................................................................9 2.2 Hardware Connections........................................................................................................................10 2.2.1 Step 1 — Attach Module to Prototyping Board..........................................................................11 2.2.2 Step 2 — Connect Programming Cable ......................................................................................12 2.2.2.1 RCM3209 and RCM3229 .................................................................................................. 12 2.2.2.2 RCM3200 and RCM3220 .................................................................................................. 13 2.2.3 Step 3 — Connect Power ............................................................................................................14 2 ...

Page 4

... Placing Your Device on the Network ................................................................................................ 50 6.4 Running TCP/IP Sample Programs.................................................................................................... 51 6.4.1 How to Set IP Addresses in the Sample Programs..................................................................... 52 6.4.2 How to Set Up your Computer’s IP Address for Direct Connect .............................................. 53 6.4.3 Dynamic C Compiler Settings.................................................................................................... 53 6.5 Run the PINGME.C Sample Program................................................................................................ 54 6.6 Running More Sample Programs With Direct Connect..................................................................... 54 6 ...

Page 5

... Appendix E. Motor Control Option E.1 Overview ..........................................................................................................................................117 E.2 Header J6 ..........................................................................................................................................118 E.3 Using Parallel Port F ........................................................................................................................119 E.3.1 Parallel Port F Registers ...........................................................................................................119 E.4 PWM Outputs...................................................................................................................................122 E.5 PWM Registers.................................................................................................................................123 E.6 Quadrature Decoder .........................................................................................................................124 Index Schematics User’s Manual 113 117 127 131 ...

Page 6

... RabbitCore RCM3200 ...

Page 7

... The RCM3200 has a Rabbit gram execution SRAM, flash memory, two clocks (main oscillator and timekeeping), and the circuitry necessary for reset and management of battery backup of the Rabbit 3000’s internal real-time clock and the data SRAM. Two 34-pin headers bring out the Rabbit 3000 I/O bus lines, parallel ports, and serial ports ...

Page 8

... Microprocessor: Rabbit 3000 running at 44.2 MHz • (RCM3200 only) 10/100Base-T Ethernet port with supporting LEDs • 52 parallel 5 V tolerant I/O lines: 44 configurable for I/O, 4 fixed inputs, 4 fixed outputs • Two additional digital inputs, two additional digital outputs • External reset input • ...

Page 9

... CMOS-compatible ports: Serial Ports The RCM3210 was discontinued in July, 2004, and is no longer offered. * The RCM3200 can be programed locally, remotely, or via a network using appropriate interface hardware. Appendix A, “RCM3200 Specifications,” provides detailed specifications for the RCM3200. User’s Manual Table 1 ...

Page 10

... This section compares the two lines of RabbitCore modules. • Temperature Specifications tured after May, 2008, are specified to operate at 0°C to +70°C. The RCM3209/ RCM3229, rated for -40°C to +85°C, are offered to customers requiring a larger temperature range after May, 2008. — The RCM3200/RCM3220 draws 255 mA vs. the 325 mA • ...

Page 11

... Easy C-language program development and debugging • Program Download Utility and cloning board options for rapid production loading of programs. • Generous memory size allows large programs with tens of thousands of lines of code, and substantial data storage. • Integrated Ethernet port for network connectivity, royalty-free TCP/IP software. ...

Page 12

... Base-T Ethernet. These Getting Started instructions included with the Development Kit will help you get the RCM3209 included with the Development Kit up and running so that you can run the sample programs to explore its capabilities and develop your own applications. ...

Page 13

... Connectivity Interface Kits Rabbit has available a Connector Adapter Board. • Connector Adapter Board (Part No. 151-0114)—allows you to plug the RCM3200/ RCM3220 whose headers have pitch into header sockets with a 0.1" pitch. Visit our Web site at www.rabbit.com rized distributor for further information. ...

Page 14

... RabbitCore RCM3200 ...

Page 15

... The installation allows you to choose the COM port that will be used. The default selec- tion is COM1. You may select any available port for Dynamic C’s use. If you are not cer- tain which port is available, select COM1. This selection can be changed later within Dynamic C ...

Page 16

... There are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs: 1. Attach the RCM3200 series RabbitCore module to the Prototyping Board. 2. Connect the programming cable between the RCM3200 series RabbitCore module and the workstation PC. 3. Connect the power supply to the Prototyping Board. ...

Page 17

... Press the module’s pins firmly into the Prototyping Board header sockets—press down in the area above the header pins using your thumbs or fingers over the connectors as shown in Figure 2. Do not press down on the middle of the RCM3200 series module to avoid flexing the module, which could damage the module or the components on the module. ...

Page 18

... Step 2 — Connect Programming Cable The programming cable connects the RCM3200 to the PC running Dynamic C to down- load programs and to monitor the RCM3200 module during debugging. 2.2.2.1 RCM3209 and RCM3229 Connect the 10-pin connector of the programming cable labeled the RCM3209/RCM3229 module as shown in Figure 3(a). Be sure to orient the marked (usually red) edge of the cable towards pin 1 of the connector ...

Page 19

... RCM3200 and RCM3220 Connect the 10-pin connector of the programming cable labeled the RCM3200 module as shown in Figure 3(b). Be sure to orient the marked (usually red) edge of the cable towards pin 1 of the connector. (Do not use the used for a normal serial connection.) Figure 3(b). Connect Programming Cable to RCM3200 NOTE: Be sure to use the serial programming cable (part number 101-0542)— ...

Page 20

... Figure 4. Power Supply Connections Plug in the AC adapter. The red power lamp on the Prototyping Board to the left of jack J11 should light up. The RCM3200 and the Prototyping Board are now ready to be used. NOTE: A RESET button is provided on the Prototyping Board to allow hardware reset without disconnecting power ...

Page 21

... Overseas Development Kits Development kits sold outside North America up to May, 2008, included a header connec- tor that may be connected to 3-pin header J9 on the Prototyping Board. The connector may be attached either way as long not offset to one side. The red and black wires from the connector can then be connected to the positive and negative connections on your power supply. The power supply should deliver 8 V– ...

Page 22

... Starting Dynamic C NOTE: Dynamic later version is required if you are using an RCM3209 or an RCM3229 RabbitCore module. Once the RCM3200 is connected as described in the preceding pages, start Dynamic C by double-clicking on the Dynamic C icon on your desktop or in your Code and BIOS in Flash, Run in RAM > ...

Page 23

... PC cannot handle the higher program-loading baud rate. Try changing the maximum download rate to a slower baud rate as follows. • Locate the Serial Options dialog in the Dynamic C Options > Project Options > Communications menu. Select a slower Max download baud rate program compiles and loads, but then loses target communication before you can begin debugging possible that your PC cannot handle the default debugging baud rate ...

Page 24

... RabbitCore RCM3200 ...

Page 25

... Power must be applied to the RCM3200 through the Prototyping Board. Refer to Chapter 2, “Hardware Setup,” if you need further information on these steps. If you are using an RCM3200 or RCM3220, remember to allow the compiler to run the application in the program execution SRAM by selecting from the Dynamic C ...

Page 26

... The test packets and response packets have different codes. Once you have loaded and executed these five programs and have an understanding of how Dynamic C and the RCM3200 modules interact, you can move on and try the other sample programs, or begin building your own. ...

Page 27

... FLOWCONTROL.C Serial Port C (PC3/PC2) for CTS/RTS with serial data coming from TxB at 115,200 bps. One character at a time is received and is displayed in the To set up the Prototyping Board, you will need to tie TxB and RxB ...

Page 28

... SIMPLE485SLAVE.C —This program demonstrates a simple RS-485 transmission of • SIMPLE485SLAVE.C lower case letters to a master RCM3200. The slave will send back converted upper case letters back to the master RCM3200 and display them in the to program the master RCM3200. SIMPLE485MASTER.C 3.2.2 Other Sample Programs Section 6 ...

Page 29

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

Page 30

... Headers J1 and J2 are net jack is also included with the RCM3200 series. The signals labeled PD2, PD3, PD6, and PD7 on header J1 (pins 29–32) and the pins that are not connected (pins 33–34 on header J1 and pin 33 on header J2) are reserved for future use. 24 Figure 6 ...

Page 31

... Figure 7 shows the use of the Rabbit 3000 microprocessor ports in the RCM3200 modules. Figure 7. Use of Rabbit 3000 Ports The ports on the Rabbit 3000 microprocessor used in the RCM3200 are configurable, and so the factory defaults can be reconfigured. Table 2 lists the Rabbit 3000 factory defaults and the alternate configurations. User’ ...

Page 32

... PD3 Input/Output 31 PD6 Input/Output 32 PD7 Input/Output 33 LNK_OUT Output 34 ACT_OUT Output * Pins 29–32 are reserved for future use. 26 Default Use Alternate Use Output External data bus (ID0–ID7) Slave port data bus (SD0–SD7) QD2A QD2B QD1A CLKC QD1B CLKD TXD RXD ...

Page 33

... Table 2. RCM3200 Pinout Configurations (continued) Pin Pin Name 1 /RES Reset output 2 PB0 Input/Output 3 PB2 Input/Output 4 PB3 Input/Output 5 PB4 Input/Output 6 PB5 Input/Output 7 PB6 Input/Output 8 PB7 Input/Output 9 PF4 Input/Output 10 PF5 Input/Output 11 PF6 Input/Output 12 PF7 Input/Output 13 PE7 Input/Output 14 PE6 Input/Output 15 PE5 Input/Output 16 PE4 Input/Output ...

Page 34

... GND Notes 1. When using pins 33–34 on header J1 to drive LEDs, you must use an external buffer to drive these external LEDs. These pins are not connected on the RCM3220, which does not have the LEDs installed. 2. The VRAM voltage is temperature-dependent. If the VRAM voltage drops below about 1 ...

Page 35

... Parallel Port A can also be used as an external I/O data bus to isolate external I/O from the main data bus. Parallel Port B pins PB2–PB7 can also be used as an auxiliary address bus. When using the external I/O bus, you must add the following line at the beginning of your program ...

Page 36

... Serial Communication The RCM3200 board does not have an RS-232 or an RS-485 transceiver directly on the board. However, an RS-232 or RS-485 interface may be incorporated on the board the RCM3200 is mounted on. For example, the Prototyping Board has a standard RS-232 transceiver chip. 4.2.1 Serial Ports There are six serial ports designated as Serial Ports and F. All six serial ports can operate in an asynchronous mode up to the baud rate of the system clock divided by 8 ...

Page 37

... RCM3200 is connected to a functioning 100Base-T network ( ). SPD The transformer/connector assembly ground is con- nected to the RCM3200 printed circuit board digital ground via a ferrite bead, R42, as shown in Figure 9. The RJ-45 connector is shielded to minimize EMI effects to/from the Ethernet signals. User’s Manual ...

Page 38

... 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 may also be used as a serial port once the application is running. The SMODE pins may then be used as inputs and the status pin may be used as an output. ...

Page 39

... The DIAG connector of the programming cable may be used on header J3 of the RCM3200 with the RCM3200 operating in the Run Mode. This allows the programming port to be used as a regular serial port. 4.3.1 Changing Between Program Mode and Run Mode The RCM3200 is automatically in Program Mode when the gramming cable is attached, and is automatically in Run Mode when no programming cable is attached ...

Page 40

... CAUTION: Disconnect power to the Prototyping Board or other boards when removing or installing your RCM3200 module to protect against inadvertent shorts across the pins or damage to the RCM3200 if the pins are not plugged in correctly. Do not reapply power until you have verified that the RCM3200 module is plugged in correctly. ...

Page 41

... The RCM3200 takes advantage of the Rabbit 3000 microprocessor’s internal clock doubler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emis- sions. The 44.2 MHz frequency specified for the RCM3200 and the RCM3220 is gener- ated using a 22.12 MHz resonator. ...

Page 42

... Dynamic C to compile two different co-resident programs for the upper and lower halves of a 256K flash in such a way that both programs start at logical address 0000. This option is not relevant to the RCM3200 Rabbit- Core modules, which use 512K flash memories. ...

Page 43

... Dynamic C development environment. Debugging occurs while the application runs on the target. Alternatively, users can compile a program to an image file for later loading. Dynamic C runs on PCs under Windows 2000 and later—see Rabbit’s Technical Note TN257, Running Dynamic C User’ ...

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 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 RCM3200 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 your specific needs. For example, use WrPortI(PEDDR, & ...

Page 46

... For more information, see the Dynamic C Function Reference Manual and Technical Note 213, Rabbit 2000 Serial Port Software. 5.2.4 TCP/IP Drivers The TCP/IP drivers are located in the TCPIP directory. ...

Page 47

... 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 RCM3200 Prototyping Board. Summary of Initialization 1. I/O port pins are configured for Prototyping Board operation. 2. Unused configurable I/O are set as high outputs. ...

Page 48

... In addition to the Web-based technical support included at no extra charge, a one-year telephone-based technical support subscription is also available for purchase. Visit our Web site at www.rabbit.com 42 for the latest patches, workarounds, and bug fixes. for further information and complete documentation. RabbitCore RCM3200 ...

Page 49

... RCM3200 module’s Ethernet port at this time. Before proceeding you will need to have the following items. • If you don’t have Ethernet access, you will need at least a 10Base-T Ethernet card (available from your favorite computer supplier) installed in a PC. ...

Page 50

... Internet. TIP: Checking and debugging the initial setup on a micro-LAN is recommended before connecting the system to a LAN or WAN. The PC running Dynamic C through the serial port on the RCM3200 does not need to be the PC with the Ethernet card. 3. Apply Power Plug in the AC adapter. The RCM3200 module is now ready to be used. ...

Page 51

... Internet and the internal network. These machines include a combination of proxy servers and firewalls that filter and multiplex Internet traf- fic. In the configuration below, the RCM3200 board could be given a fixed address so any of the computers on the local network would be able to contact it. It may be possible to ...

Page 52

... 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 having to setup a direct connection between your computer and the RCM3200 board. You will also need the IP address of the nameserver, the name or IP address of your mail server, and your domain name for some of the sample programs ...

Page 53

... The highest address (216.102.126.255) is used as a broadcast address. Usually one other address is used for the address of the gateway out of the network. This leaves 256 - 3 = 253 available IP addresses for the example given. User’s Manual N IP addresses in a local network. The netmask (also 8 ...

Page 54

... Each RCM3200 RabbitCore module has its own unique MAC address, which consists of the prefix 0090C2 followed by the code that appears on the label affixed to the RCM3200 module. For example, a MAC address might be 0090C2C002C0. TIP: You can always verify the MAC address on your board by running the sample pro- gram DISPLAY_MAC ...

Page 55

... DHCP server. The DHCP server may try to give you the same address each time, but a fixed IP address is usually not guaranteed. If you are not concerned about accessing the RCM3200 from the Internet, you can place the RCM3200 on the internal network using a private address assigned either statically or through DHCP. User’ ...

Page 56

... If you want users on the Internet to communicate with your RCM3200, you have several options. You can either place the RCM3200 directly on the Internet with a real Internet address or place it behind the firewall. If you place the RCM3200 behind the fire- wall, you need to configure the firewall to translate and forward packets from the Internet to the RCM3200 ...

Page 57

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

Page 58

... IP address assigned to the board and the IP address of the gateway, if there is a gateway. #define MY_IP_ADDRESS "10.10.6.170" #define MY_NETMASK "255.255.255.0" #define MY_GATEWAY "10.10.6.1" #define MY_NAMESERVER "10.10.6.1" In order direct connection, the following IP addresses can be used for the RCM3200: #define MY_IP_ADDRESS "10.1.1.2" #define MY_NETMASK "255.255.255.0" // #define MY_GATEWAY "10.10.6.1" // #define MY_NAMESERVER "10.10.6.1" ...

Page 59

... IP 10.10.6.101 Netmask 255.255.255.0 Direct Connection PC to RCM3200 Board 6.4.3 Dynamic C Compiler Settings If you are using an RCM3200 or RCM3220, remember to allow the compiler to run the application in the program execution SRAM by selecting in RAM from the Dynamic C User’s Manual , do the following. ...

Page 60

... BROWSELED.C Two “LEDs” are created on the Web page, and two buttons on the Prototyping Board then toggle them. Users can change the status of the lights from the Web browser. The LEDs on the Prototyping Board match the ones on the Web page. As long as you have ...

Page 61

... Web server that allows e-mail messages to be entered • MBOXDEMO.C and then shown on the LCD/keypad module. —This program allows you to send an E-mail when a switch on the Prototyp- • SMTP.C ing Board is pressed. Follow the instructions included with the sample program. —This program demonstrates ICMP by pinging a remote host. It will flash • ...

Page 62

... RabbitCore RCM3200 ...

Page 63

... A A. RCM3200 S PPENDIX Appendix A provides the specifications for the RCM3200, 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 RCM3200. Figure A-1. RCM3200 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). 58 RabbitCore RCM3200 ...

Page 65

... It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM3200 in all directions (except above the RJ-45 plug) when the RCM3200 is incorpo- rated into an assembly that includes other printed circuit boards. This “exclusion zone” that you keep free of other components and boards will allow for sufficient air flow, and will help to minimize any electrical or electromagnetic interference between adjacent boards. An “ ...

Page 66

... MIR/SIR IrDA transceiver Serial Rate A slave port allows the RCM3200 to be used as an intelligent peripheral Slave Interface device slaved to a master processor, which may either be another Rabbit 3000 or any other type of processor ...

Page 67

... The RCM3210 was discontinued in July, 2004, and is no longer offered. * A.1.1 Headers The RCM3200 uses headers at J1 and J2 for physical connection to other boards. J1 and J2 are 2 × 17 SMT headers with pin spacing. J3, the programming port × 5 header with a 1.27 mm pin spacing. Figure A-3 shows the layout of another board for the RCM3200 to be plugged into. These values are relative to the mounting hole. User’ ...

Page 68

... A.1.2 Physical Mounting A 9/32” (7 mm) standoff with a 2-56 screw is recommended to attach the RCM3200 to a user board at the hole position shown in Figure A-3. Either use plastic hardware, or use insulating washers to keep any metal hardware from shorting out signals on the RCM3200. Figure A-3. User Board Footprint for RCM3200 ...

Page 69

... I/O Ports Parallel Ports Table A-3 lists the external capacitive bus loading for the various RCM3200 output ports. Be sure to add the loads for the devices you are using in your custom system and verify that they do not exceed the values in Table A-3. ...

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. I/O Read and Write Cycles—No Extra Wait States NOTE: /IOCSx can be programmed to be active low (default) or active high. 64 RabbitCore RCM3200 ...

Page 71

... The measurements are taken at the 50% points under the following conditions. • -40°C to 85° • Internal clock to nonloaded CLK pin delay ≤ 85°C/3.0 V The clock to address output delays are similar, and apply to the following delays. • the clock to address delay adr • ...

Page 72

... Symbol Parameter I Input Leakage High IH Input Leakage Low I IL (no pull-up) I Output Leakage (no pull-up CMOS Input Low Voltage IL V CMOS Input High Voltage IH V CMOS Switching Threshold Low-Level Output Voltage OL V High-Level Output Voltage –55°C to +125° Test Conditions Min 3 3 ...

Page 73

... MHz CPU clock and capacitive loading on address and data lines of less than 70 pF per pin. The absolute maximum operating voltage on all I/O is 5.5 V. Table A-6 shows the AC and DC output drive limits of the parallel I/O buffers when the Rabbit 3000 is used in the RCM3200. Table A-6. I/O Buffer Sourcing and Sinking Capability Pin Name ...

Page 74

... A.5 Conformal Coating The areas around the 32 kHz real-time clock crystal oscillator has 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 the effects of moisture and contaminants over time. ...

Page 75

... A.6 Jumper Configurations Figure A-6 shows the header locations used to configure the various RCM3200 options via jumpers. Figure A-6. Location of RCM3200 Configurable Positions Table A-7 lists the configuration options. Table A-7. RCM3200 Jumper Configurations Header Description JP1 External I/O data bus ...

Page 76

... RabbitCore RCM3200 ...

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 RCM3200 and to build prototypes of your own circuits. User’s Manual B. P ROTOTYPING B OARD 71 ...

Page 78

... B.1 Introduction The Prototyping Board included in the Development Kit makes it easy to connect an RCM3200 module to a power supply and a PC workstation for development. It also pro- vides some basic I/O peripherals (switches and LEDs), as well as a prototyping area for more advanced hardware development. ...

Page 79

... I/O Switches and LEDs nected to the PG0 and PG1 pins of the master RCM3200 module and may be read as inputs by sample applications. Two LEDs are connected to the PG6 and PG7 pins of the master module, and may be driven as output indicators by sample applications ...

Page 80

... RS-232 serial port are available on the Prototyping RS-232 • Board. Refer to the Prototyping Board schematic (090-0137) for additional details. A 10-pin 0.1-inch spacing header strip is installed permit connection of a ribbon cable leading to a standard DE-9 serial connector. • ...

Page 81

... B.2 Mechanical Dimensions and Layout Figure B-2 shows the mechanical dimensions and layout for the Prototyping Board. Figure B-2. RCM30/31/32XX Prototyping Board 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). User’s Manual 75 ...

Page 82

... Prototyping Area Standoffs/Spacers B.3 Power Supply The RCM3200 requires a regulated 3.3 V ± 0. power source to operate. Depend- ing on the amount of current required by the application, different regulators can be used to supply this voltage. The Prototyping Board has an onboard +5 V switching power regulator from which a +3 ...

Page 83

... The Prototyping Board comes with the basic components necessary to demonstrate the operation of the RCM3200. Two LEDs (DS1 and DS2) are connected to PG6 and PG7, and two switches (S2 and S3) are connected to PG1 and PG0 to demonstrate the interface to the Rabbit 3000 microprocessor. Reset switch S1 is the hardware reset for the RCM3200 ...

Page 84

... B.4.2 Measuring Current Draw The Prototyping Board has a current-measurement feature available on header JP1. Nor- mally, a jumper connects pins 1–2 and pins 5–6 on header JP1, which provide jumper con- nections for the +5 V and the +3.3 V regulated voltages respectively. You may remove a jumper and place an ammeter across the pins instead, as shown in the example in Figure B-5, to measure the current being drawn ...

Page 85

... Board. Refer to Appendix C, “LCD/Keypad Module,” for complete information. The RCM3200 has a 2-channel quadrature decoder and a 10-bit free-running PWM counter with four pulse-width registers. These features allow the RCM3200 to be used in a motor control application, although Rabbit does not offer the drivers or a compatible step- per motor control board at this time ...

Page 86

... I/O bus Pulled up on RCM3200 High when not driven by I/O bus Pulled up on RCM3200 High (disabled) Pulled up on RCM3200 High (disabled) Pulled up on RCM3200 High (disabled) Pulled up on RCM3200 High (disabled) Pulled up on RCM3200 High Pulled up on RCM3200 High Pulled up on ...

Page 87

... PG2 Output PG3 Input PG4 Input PG5 Input PG6 Output PG7 Output User’s Manual Use Reserved for future use Switch S3 (normally open) Switch S2 (normally open) TXF IrDA Serial Port F RXF IrDA IrDA MD1 IrDA MD0 LED DS1 LED DS2 Initial State ...

Page 88

... RabbitCore RCM3200 ...

Page 89

... Appendix C describes the LCD/keypad and provides the soft- ware function calls to make full use of the LCD/keypad. C.1 Specifications Two optional LCD/keypad modules—with or without a panel-mounted bezel—are available for use with the Prototyping Board. They are shown in Figure C-1. Figure C-1. LCD/Keypad Modules Models Only the version without the bezel can mount directly on the Prototyping Board ...

Page 90

... Operating Range: 0°C to +50°C Storage Range: –40°C to +85° 95%, noncondensing * 1.5 W maximum Connects to high-rise header sockets on the Prototyping Board 122 × 32 graphic display ...

Page 91

... You can set the contrast on the LCD display of pre-2005 LCD/keypad modules by adjust- ing the potentiometer setting the voltage for removing the jumper across pins 1–2 on header J5 as shown in Figure C-3. Only one of these two options is available on these LCD/keypad modules. NOTE: Older LCD/keypad modules that do not have a header contrast adjust- ment potentiometer at R2 are limited to operate only and will work with the Prototyping Board ...

Page 92

... To replace the keypad legend, remove the old legend and insert your new legend prepared according to the template in Figure C-4. The keypad legend is located under the blue key- pad matte, and is accessible from the left only as shown in Figure C-5. Figure C-5. Removing and Inserting Keypad Label 86 Figure C-4. Keypad Template RabbitCore RCM3200 ...

Page 93

... The LCD and keypad on the LCD/keypad module are addressed by the /CS strobe as explained in Table C-2. Table C-2. LCD/Keypad Module Address Assignment Address 0xC000 0xCxx0–0xCxx7 0xCxx8 0xCxx9 0xCxxA 0xCxxB (bits 0–6) 0xCxxB (bit 7) 0xCxxC–ExxF User’s Manual Function Device select base address (/CS) LCD control LED enable Not used ...

Page 94

... Install the LCD/keypad module on header sockets J7, J8, and J10 of the Prototyping Board as shown in Figure C-7. Be careful to align the pins over the headers, and do not bend them as you press down to mate the LCD/keypad module with the Prototyping Board. Figure C-7. Install LCD/Keypad Module on Prototyping Board 88 RabbitCore RCM3200 ...

Page 95

... Cut mounting holes in the mounting panel in accordance with the recommended dimen- sions in Figure C-8, then use the bezel faceplate to mount the LCD/keypad module onto the panel. Figure C-8. Recommended Cutout Dimensions 2. Carefully “drop in” the LCD/keypad module with the bezel and gasket attached. User’s Manual 89 ...

Page 96

... Do not tighten each screw fully before moving on to the next screw. Apply only one or two turns to each screw in sequence until all are tightened manually as far as they can be so that the gasket is compressed and the plastic bezel faceplate is touching the panel. 90 RabbitCore RCM3200 ...

Page 97

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

Page 98

... Prototyping Board. PARAMETERS led is the LED to control LED DS1 1 = LED DS2 2 = LED DS3 3 = LED DS4 4 = LED DS5 5 = LED DS6 6 = LED DS7 value is the value used to control whether the LED off ( off RETURN VALUE None. 92 library. function executes. LIB\DISPLAYS\ RabbitCore RCM3200 ...

Page 99

... Sets the LCD screen on or off. Data will not be cleared from the screen. PARAMETER onOff turns the LCD screen on or off 1—turn the LCD screen on 0—turn the LCD screen off RETURN VALUE None. SEE ALSO glInit, glSetContrast, glBackLight User’ ...

Page 100

... LCD display area will be clipped. PARAMETERS x is the x coordinate of the top left corner of the block the y coordinate of the top left corner of the block. bmWidth is the width of the block. bmWidth is the height of the block. RETURN VALUE None. SEE ALSO glFillScreen, glBlankScreen, glPlotPolygon, glPlotCircle 94 RabbitCore RCM3200 ...

Page 101

... PARAMETERS n is the number of vertices the y coordinate of the first vertex the x coordinate of the first vertex the y coordinate of the second vertex the x coordinate of the second vertex. ... are the coordinates of additional vertices. RETURN VALUE None. SEE ALSO glPlotVPolygon, glFillPolygon, glFillVPolygon User’s Manual 95 ...

Page 102

... LCD display area will be clipped. PARAMETERS xc is the x coordinate of the center of the circle the y coordinate of the center of the circle. rad is the radius of the center of the circle (in pixels). RETURN VALUE None. SEE ALSO glFillCircle, glPlotPolygon, glFillPolygon 96 RabbitCore RCM3200 ...

Page 103

... Returns the xmem address of the character from the specified font set. PARAMETERS *pInfo is the xmem address of the bitmap font set. letter is an ASCII character. RETURN VALUE xmem address of bitmap character font, column major, and byte-aligned. SEE ALSO glPutFont, glPrintf User’s Manual 97 ...

Page 104

... The actual step increments depends on the height and width of the font being displayed, which are multiplied by the step values. RETURN VALUE The x step is returned in the MSB, and the y step is returned in the LSB of the integer result. SEE ALSO Use glGetPfStep() to control the x and y printing step direction. 98 RabbitCore RCM3200 ...

Page 105

... EXAMPLE glprintf(0,0, &fi12x16, "Test %d\n", count); RETURN VALUE None. SEE ALSO glXFontInit User’s Manual STDIO string-handling functions and the graphic library. The STDIO string functions. STDIO string functions. 99 ...

Page 106

... PIXWHITE draws white pixels. PIXXOR draws old pixel XOR'ed with the new pixel. RETURN VALUE None. SEE ALSO glGetBrushType 100 and can be nested level of 255, but be glBuffUnlock() bracketing a set of related graphic calls speeds glBuffUnlock() (located in the library specifically for the LCD RabbitCore RCM3200 ...

Page 107

... LCD display area will be clipped. PARAMETERS x0 is the x coordinate of one endpoint of the line the y coordinate of one endpoint of the line the x coordinate of the other endpoint of the line the y coordinate of the other endpoint of the line. RETURN VALUE None. SEE ALSO glPlotDot, glPlotPolygon, glPlotCircle User’s Manual 101 ...

Page 108

... RETURN VALUE None. SEE ALSO glVScroll, glDown1 102 RabbitCore RCM3200 ...

Page 109

... RETURN VALUE None. SEE ALSO glVScroll User’s Manual 103 ...

Page 110

... PARAMETERS left is the top left corner of the bitmap. top is the top left corner of the bitmap. width is the width of the bitmap. height is the height of the bitmap. bitmap is the address of the bitmap in xmem. RETURN VALUE None. SEE ALSO glXPutFastmap, glPrintf 104 RabbitCore RCM3200 ...

Page 111

... RETURN VALUE 0—window frame was successfully created. -1—x coordinate + width has exceeded the display boundary. -2—y coordinate + height has exceeded the display boundary. User’s Manual function before other Text... functions. ...

Page 112

... NOTE: Execute the TextWindowFrame PARAMETERS *window is a pointer to a font descriptor character to be displayed on the LCD. RETURN VALUE None. SEE ALSO TextGotoXY, TextPrintf, TextWindowFrame, TextCursorLocation 106 function before using this function. function before using this function. function before using this function. RabbitCore RCM3200 ...

Page 113

... TextWindowFrame PARAMETERS *window is a pointer to a font descriptor. *fmt is a formatted string. ... are formatted string conversion parameter(s). EXAMPLE TextPrintf(&TextWindow, "Test %d\n", count); RETURN VALUE None. SEE ALSO TextGotoXY, TextPutChar, TextWindowFrame, TextCursorLocation User’s Manual function before using this function. 107 ...

Page 114

... Unused. cCntHold is a hold tick. How long to hold before repeating Repeat. cSpdLo is a low-speed repeat tick. How many times to repeat None. cCntLo is a low-speed hold tick. How long to hold before going to high-speed repeat Slow Only. 108 [2] [3] [5] [6] LIB\KEYPADS\ RabbitCore RCM3200 ...

Page 115

... SEE ALSO keyConfig, keyGet, keypadDef char keyGet(void); Get next keypress RETURN VALUE The next keypress none SEE ALSO keyConfig, keyProcess, keypadDef int keyUnget(char cKey); Push keypress on top of input queue PARAMETER cKey RETURN VALUE None. SEE ALSO keyGet User’s Manual 109 ...

Page 116

... Writes "1" to each row and reads the value. The position of a keypress is indicated by a zero value in a bit position. PARAMETER *pcKeys is the address of the value read. RETURN VALUE None. SEE ALSO keyConfig, keyGet, keypadDef, keyProcess 110 ['D'] ['R'] ['+'] ['E'] RabbitCore RCM3200 ...

Page 117

... Program mode (see Section 4.3, “Serial Programming Cable”), and must be connected using the programming cable as described in the RCM3200 Getting Started Manual. More complete information on Dynamic C is provided in the Dynamic C User’s Manual. The following sample programs are found in the —This program demonstrates the use of the external I/O bus. The • ...

Page 118

... RabbitCore RCM3200 ...

Page 119

... RCM3200 board through header J2. An RCM3200 with no loading at the outputs operating at 29.4 MHz typically draws 145 mA. The RCM3200 will consume an additional 10 mA when the programming cable is used to connect the programming header, J3 ...

Page 120

... The drain on the battery by the RCM3200 is typically 12 µA when no other power is sup- plied 165 mA·h battery is used, the battery can last almost 2 years: The actual life in your application will depend on the current drawn by components, not on the RCM3200 and the storage capacity of the battery. The RCM3200 does not drain the battery while it is powered up normally ...

Page 121

... The RCM3200 uses a reset generator to reset the Rabbit 3000 microprocessor when the voltage drops below the voltage necessary for reliable operation. The reset occurs between 2.85 V and 3.00 V, typically 2.93 V. The RCM3200 has a reset output, pin 1 on header J2. D.2 Optional +5 V Output The RCM3200 boards have an onboard charge pump that provides the +5 V needed by the RealTek Ethernet chip ...

Page 122

... RabbitCore RCM3200 ...

Page 123

... Parallel Port F, along with +5 V. This appendix describes the function of each pin, and the ways they may be used for motion-control applications. It should be read in conjunction with the Rabbit 3000 Microprocessor User’s Manual and the RCM3200 and the Proto- typing Board schematics. ...

Page 124

... SCLK_D input Quadrature decoder 1 I SCLK_C input Quadrature decoder input Quadrature decoder input Quadrature decoder 1 Q input Quadrature decoder 1 I input Quadrature decoder 2 Q input Quadrature decoder 2 I input OL of 2.2 V typ. When used as inputs, all pins OH RabbitCore RCM3200 of 0.4 V max. ...

Page 125

... As inputs, Parallel Port F can carry the inputs to the Quadrature Decoders on PF0–PF3 (J6, pins 1–4). When Serial Port C or Serial Port D is used in clocked serial mode, two pins of Port F (PF0 / J6:1 and PF1 / J6:2) are used to carry the serial clock sig- nals ...

Page 126

... Bit 5 carries PWM[1] output 1 Bit 6 carries PWM[2] output 1 Bit 7 carries PWM[3] output PFDCR 00111110 (0x3E) Value 0 Corresponding port bit is active high or low 1 Corresponding port bit is open drain R/W Reset Value R/W xxxxxxxx Description W only xx00xx00 Description W xxxxxxxx Description W xxxxxxxx Description RabbitCore RCM3200 ...

Page 127

... Table E-2. Parallel Port F Registers (continued) Register Name Port F Data Direction Register Bits 0:7 User’s Manual Mnemonic I/O Address PFDDR 00111111 (0x3F) Value 0 Corresponding port bit is an input 1 Corresponding port bit is an output R/W Reset Value W 00000000 Description 121 ...

Page 128

... To get the exact high time, the Pulse-Width Modulator uses the two LSBs of the pulse-width register to modify the high time in each quadrant according to Table E-3 below. The “n/4” term is the base count, and is formed from the eight MSBs of the pulse-width register. ...

Page 129

... PWM MSB x Register PWM0R PWM1R PWM2R PWM3R Bit(s) Value 7:0 write User’s Manual Table E-4. PWM Registers Address 10001000 (0x88) 10001010 (0x8A) 10001100 (0x8C) 10001110 (0x8E) Description The least significant two bits for the Pulse Width Modulator count are stored These bits are ignored ...

Page 130

... The Input Capture (see the Rabbit 3000 Microprocessor Users Manual) may be used to measure the pulse width on the I inputs because they come from the odd-numbered port bits. The operation of the digital filter is shown below. Peri Clock Timer A10 Rejected Accepted 124 RabbitCore RCM3200 ...

Page 131

... Bit 0 (wr-only) User’s Manual Mnemonic QDCSR 10010000 (0x90) Value 0 Quadrature Decoder 2 did not increment from 0xFF. Quadrature Decoder 2 incremented from 0xFF to 1 0x00. This bit is cleared by a read of this register. 0 Quadrature Decoder 2 did not decrement from 0x00. ...

Page 132

... Quadrature Decoder interrupt use Interrupt Priority 1 1. Quadrature Decoder interrupt use Interrupt Priority 10 2. Quadrature Decoder interrupt use Interrupt Priority 11 3. QDC1R Address = 10010100 (0x94) (QDC2R) Address = 10010110 (0x96) Value The current value of the Quadrature Decoder read counter is reported. Address Description Description RabbitCore RCM3200 ...

Page 133

... LCD/keypad template ....... 86 Prototyping Board ............. 75 RCM3200 .......................... 58 Dynamic C .............. 7, 9, 16, 37 add-on modules ............. 9, 42 installation ....................... 9 battery-backed SRAM ...... 39 protected variables ............ 39 Rabbit Embedded Security Pack ...................... sample programs ............... 20 standard features debugging ...................... 38 telephone-based technical support ...................... 7, 42 upgrades and patches ........ 42 USB port settings .............. 16 E Ethernet cables ...................... 43 Ethernet connections ....... 43, 45 10/100Base-T ...

Page 134

... PWM registers .....................123 Q quadrature decoder ..............124 quadrature decoder registers 125 R Rabbit 3000 data and clock delays ........65 Parallel Port F Registers ..119 Parallel Port F registers ...120 PWM outputs ..................122 PWM registers .................123 quadrature decoder regis- ters ...............................125 spectrum spreader time delays .......................................65 Rabbit subsystems .................25 ...

Page 135

... Ethernet port ..................... 31 programming port ............. 32 software ................................... 7 digital I/O I/O drivers ..................... 39 external I/O bus ................. 29 libraries KEYPAD7.LIB ........... 108 LCD122KEY7.LIB ....... 92 RCM32xx.LIB .............. 40 User’s Manual specifications ........................ 57 bus loading ........................ 63 digital I/O buffer sourcing and sinking limits ................ 67 dimensions ........................ 58 electrical, mechanical, and en- vironmental ................... 60 exclusion zone ................... 59 header footprint ................. 62 headers .............................. 61 LCD/keypad module dimensions ...

Page 136

... RabbitCore RCM3200 ...

Page 137

... RCM3200 Schematic www.rabbit.com/documentation/schemat/090-0152.pdf 090-0137 Prototyping Board Schematic www.rabbit.com/documentation/schemat/090-0137.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 131 ...

Page 138

...

Related keywords