20-101-0522 Rabbit Semiconductor, 20-101-0522 Datasheet

MODULE RABBITCORE RCM3220

20-101-0522

Manufacturer Part Number
20-101-0522
Description
MODULE RABBITCORE RCM3220
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0522

Module/board Type
MPU Core Module
Product
Microcontroller Modules
Core Processor
Rabbit 3000
Clock Speed
44.2 MHz
Interface Type
Ethernet, Serial
Flash
512 KB
Timers
10 x 8 bit, 1 x 10 bit
Operating Supply Voltage
3.15 V to 3.45 V
Board Size
69 mm x 47 mm x 22 mm
Core
RCM3220
Processor Series
RCM3200
For Use With/related Products
RCM3220
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1098
RabbitCore RCM3200
C-Programmable Module with Ethernet
User’s Manual
019–0118 • 031205–F

Related parts for 20-101-0522

20-101-0522 Summary of contents

Page 1

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

Page 2

... RabbitCore RCM3200 User’s Manual Part Number 019-0118 • 031205–F • Printed in U.S.A. ©2002–2003 Z-World Inc. • All rights reserved. Z-World reserves the right to make changes and improvements to its products without providing notice. Rabbit and Rabbit 3000 are registered trademarks of Rabbit Semiconductor. ...

Page 3

... Development and Evaluation Tools......................................................................................................2 1.4 How to Use This Manual ......................................................................................................................3 1.4.1 Additional Product Information ....................................................................................................3 1.4.2 Online Documentation ..................................................................................................................3 Chapter 2. Hardware Reference 2.1 RCM3200 Digital Inputs and Outputs ..................................................................................................6 2.1.1 Memory I/O Interface .................................................................................................................11 2.1.2 Other Inputs and Outputs ............................................................................................................11 2.2 Serial Communication ........................................................................................................................12 2.2.1 Serial Ports ..................................................................................................................................12 2 ...

Page 4

... D.1.2 Reset Generator ......................................................................................................................... 72 D.2 Optional +5 V Output........................................................................................................................ 72 Appendix E. Programming Cable Appendix F. Motor Control Option F.1 Overview ............................................................................................................................................ 77 F.2 Header J6............................................................................................................................................ 78 F.3 Using Parallel Port F .......................................................................................................................... 79 F.3.1 Parallel Port F Registers............................................................................................................. 79 F.4 PWM Outputs .................................................................................................................................... 82 F.5 PWM Registers .................................................................................................................................. 83 F.6 Quadrature Decoder ........................................................................................................................... 84 Notice to Users Index Schematics RabbitCore RCM3200 ...

Page 5

... Small size: 1.85" × 2.65" × 0.86" (47 mm × × 22 mm) • Microprocessor: Rabbit 3000 running at 44.2 MHz • 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 6

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

... It does not contain detailed information on the Dynamic C development environment or the TCP/IP software support for the integrated Ethernet port. Most users will want more detailed information on some or all of these topics in order to put the RCM3200 module to effective use. 1.4.1 Additional Product Information ...

Page 8

... RabbitCore RCM3200 ...

Page 9

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

Page 10

... 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. 6 Figure 2 ...

Page 11

... Figure 3 shows the use of the Rabbit 3000 microprocessor ports in the RCM3200 modules. Figure 3. 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 1 lists the Rabbit 3000 factory defaults and the alternate configurations. User’ ...

Page 12

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

... Table 1. 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 14

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

... 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 auxiliary I/O bus, you must add the following line at the beginning of your program ...

Page 16

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

... Rabbit 3000 Microprocessor User’s Manual provides more information related to the bootstrap mode. The programming port is used to start the RCM3200 in a mode where it will download a program from the port and then execute the program. The programming port transmits information to and from a PC while a program is being debugged in-circuit. ...

Page 18

... The DIAG connector of the programming cable may be used on header J3 of the RCM3200 with the board operating in the run mode. This allows the programming port to be used as an application port. See Appendix E, “Programming Cable,” for more information. Figure 6. Switching Between Program Mode and Run Mode 2 ...

Page 19

... The RCM3200 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 44.2 MHz frequency specified for the RCM3200 is generated using a 22.12 MHz resonator. The clock doubler may be disabled if 44.2 MHz clock speeds are not required. Disabling the Rabbit 3000 microprocessor’ ...

Page 20

... TSOP or sTSOP case. The data SRAM installed 256K. 2.5.2 Flash EPROM The RCM3200 is also designed to accept 256K to 512K of flash EPROM packaged in a 32-pin TSOP or sTSOP case. The flash EPROM installed 512K NOTE: Z-World recommends that any customer applications should not be constrained by the sector size of the flash EPROM since it may be necessary to change the sector size in the future ...

Page 21

... User’s Manual. You have a choice of doing your software development in the flash memory or in the data SRAM included on the RCM3200. The advantage of working in RAM is to save wear on the flash memory, which is limited to about 100,000 write cycles. The disadvantage is that the code and data might not both fit in RAM. ...

Page 22

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

... 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, &PEDDRShadow, 0x00); ...

Page 24

... To run a sample program, open it with the using the menu (or press Compile (or press ). The RCM3200 must be in Program Mode (see Figure 6) and must be con- F9 nected using the programming cable. More complete information on Dynamic C is provided in the Dynamic C User’s Manual. 20 Options > Project Options ...

Page 25

... C/OS-II real-time operating system, as well as PPP, Advanced Encryption Standard (AES), and other select libraries. In addition to the Web-based technical support included at no extra charge, a one-year telephone-based technical support module is also available for purchase. User’s Manual 21 ...

Page 26

... RabbitCore RCM3200 ...

Page 27

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

Page 28

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

Page 29

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

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

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

Page 32

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

... Figure A-4 shows a typical timing diagram for the Rabbit 3000 microprocessor external memory 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. User’s Manual ...

Page 34

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

Page 35

... 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 OH User’s Manual = –55°C to +125° Test Conditions Min 3 3 ...

Page 36

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

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

... 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 Auxiliary I/O data bus ...

Page 39

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

Page 40

... B.1 Mechanical Dimensions and Layout Figure B-1 shows the mechanical dimensions and layout for the RCM3200 Prototyping Board. Figure B-1. Prototyping Board Dimensions 36 RabbitCore RCM3200 ...

Page 41

... Prototyping Area Standoffs/Spacers B.2 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 42

... The Prototyping Board provides the user with RCM3200 connection points brought out con- veniently to labeled points at headers J2 and J4 on the Prototyping Board. Small to medium circuits can be prototyped using point-to-point wiring with AWG wire between the prototyping area and the holes at locations J2 and J4. The holes are spaced at 0.1" (2.5 mm), and 40-pin headers or sockets may be installed at J2 and J4 ...

Page 43

... B.3.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-4, to measure the current being drawn ...

Page 44

... RabbitCore RCM3200 ...

Page 45

... Appendix C describes the LCD/keypad and provides the soft- ware APIs 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 ...

Page 46

... The backlight adds approximately 650 mW to the power consumption. 42 Specification 2.60" × 3.00" × 0.75" (66 mm × × 19 mm) 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 47

... Figure C-2. LCD/Keypad Module Voltage Settings 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. The older LCD/keypad modules are no longer being sold. User’s Manual × 43 ...

Page 48

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

Page 49

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

... Install the LCD/keypad module on header sockets J7, J8, and J10 of the Prototyping Board as shown in Figure C-6. 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-6. Install LCD/Keypad Module on Prototyping Board 46 RabbitCore RCM3200 ...

Page 51

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

Page 52

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

Page 53

... Note the locations and connections relative to pin 1 on both the RCM3000 Series Proto- typing Board and the LCD/keypad module. Z-World offers 2 ft. (60 cm) extension cables. Contact your authorized Z-World distributor or a Z-World sales representative at +1(530)757-3737 for more information. User’s Manual 49 ...

Page 54

... 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. SEE ALSO brdInit 50 function executes. directory. RCM3200.LIB RabbitCore RCM3200 ...

Page 55

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

... The screen will be set to all black if pattern is 0xFF, all white if pattern is 0x00, and vertical stripes for any other pattern. RETURN VALUE None. SEE ALSO glBlock, glBlankScreen, glPlotPolygon, glPlotCircle void glBlankScreen(void); Blanks the LCD display screen (sets LCD display screen to white). RETURN VALUE None. SEE ALSO glFillScreen, glBlock, glPlotPolygon, glPlotCircle 52 RabbitCore RCM3200 ...

Page 57

... LCD display area will be clipped. The function will also return, doing nothing, if there are less than 3 vertices. PARAMETERS n is the number of vertices. *pFirstCoord is a pointer to array of vertex coordinates: x1,y1, x2,y2, x3,y3,... RETURN VALUE None. SEE ALSO glPlotPolygon, glFillPolygon, glFillVPolygon User’s Manual 53 ...

Page 58

... LCD display area will be clipped. The function will also return, doing nothing, if there are less than 3 vertices. PARAMETERS n is the number of vertices. *pFirstCoord is a pointer to array of vertex coordinates: x1,y1, x2,y2, x3,y3,... RETURN VALUE None. SEE ALSO glFillPolygon, glPlotPolygon, glPlotVPolygon 54 RabbitCore RCM3200 ...

Page 59

... 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 glPlotCircle, glPlotPolygon, glFillPolygon User’s Manual 55 ...

Page 60

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

Page 61

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

Page 62

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

Page 63

... PIXWHITE draws white pixels. PIXXOR draws old pixel XOR'ed with the new pixel. RETURN VALUE None. SEE ALSO glGetBrushType User’s Manual 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 ...

Page 64

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

Page 65

... RETURN VALUE None. SEE ALSO glVScroll, glDown1 User’s Manual 61 ...

Page 66

... RETURN VALUE None. SEE ALSO glVScroll 62 RabbitCore RCM3200 ...

Page 67

... PARAMETERS left is the upper left corner of the bitmap. top is the upper 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 User’s Manual 63 ...

Page 68

... 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. 64 function before other Text... RabbitCore RCM3200 ...

Page 69

... 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 User’s Manual function before using this function. function before using this function. function before using this function. 65 ...

Page 70

... NOTE: Execute the 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 66 function before using this function. RabbitCore RCM3200 ...

Page 71

... 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. User’s Manual library directory. [2] [3] [5] [6] library KEYPAD7.LIB 67 ...

Page 72

... RETURN VALUE None 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 68 RabbitCore RCM3200 ...

Page 73

... 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 User’s Manual ['D'] ['R'] ['+'] ['E'] ...

Page 74

... Sample programs illustrating the use of the LCD/keypad module with the Prototyping Board are provided in the SAMPLES\RCM3200 These sample programs use the auxiliary I/O bus on the Rabbit 3000 chip, and so the line is already included in the sample programs. #define PORTA_AUX_IO 70 directory. RabbitCore RCM3200 ...

Page 75

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

... The RCM3200 uses a reset generator to reset the Rabbit 3000 microprocessor when the volt- age 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 77

... Otherwise, the nector on the programming cable allows the programming cable to be used as an RS-232 to CMOS level converter for serial communication, which is appropriate for monitoring or debugging a RabbitCore system while it is running. User’s Manual E. P ROGRAMMING and connectors on the ...

Page 78

... TXA to one of the SMODE pins and then test for the connection by raising PC6 (by configuring general output bit) and reading the SMODE pin after the cold-boot mode has been disabled. The value of the SMODE pin is read from the SPCR register RabbitCore RCM3200 ...

Page 79

... Once you establish that the programming port will never again be needed for program- ming possible to use the programming port for additional I/O lines. Table E-1 lists the pins available for this alternate configuration. Table E-1. RCM3200 Programming Port Pinout Configurations Pin Pin Name ...

Page 80

... RabbitCore RCM3200 ...

Page 81

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

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

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

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

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

Page 86

... 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 F-3 below. The “n/4” term is the base count, and is formed from the eight MSBs of the pulse-width register. ...

Page 87

... PWM MSB x Register PWM0R PWM1R PWM2R PWM3R Bit(s) Value 7:0 write User’s Manual Table F-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 88

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

Page 89

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

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

... No complex software or hardware system is perfect. Bugs are always present in a system of any size. In order to prevent danger to life or property the responsibility of the system designer to incorporate redundant protective mechanisms appropriate to the risk involved ...

Page 92

... RabbitCore RCM3200 ...

Page 93

... LCD/keypad module ......... 46 P physical mounting ................. 27 pinout Ethernet port ..................... 12 LCD/keypad module ......... 45 programming cable ........... 74 Prototyping Board ............. 38 RCM3200 alternate configurations ................................. 8, 75 RCM3200 headers .............. 6 power supplies +3.3 V ............................... 71 battery backup ................... 71 optional +5 V output ......... 72 Program Mode ...................... 14 switching modes ............... 14 programming cable ......... 73, 77 DIAG connector ................ 74 pinout ................................ 74 programming port ................. 13 alternate pinout configura- tions ...

Page 94

... TextPutChar ...................65 TextWindowFrame ........64 LCD/keypad module ledOut ............................50 LCD/keypad module LEDs 50 libraries PACKET.LIB ................19 RCM3200.LIB ...............50 RCM32xx.LIB ...............18 RS232.LIB .....................19 TCP/IP ...........................19 readUserBlock ...................16 sample programs ...............20 RCM3200 ......................20 TCP/IP ...........................20 serial communication driv- ers ..................................19 TCP/IP drivers ...................19 writeUserBlock .................16 specifications .........................23 bus loading ........................28 digital I/O buffer sourcing and sinking limits .................32 dimensions .........................24 electrical, mechanical, and en- vironmental ...

Page 95

... RCM3200 Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0152.pdf 090-0137 Prototyping Board Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0137.pdf 090-0156 LCD/Keypad Module Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0156.pdf 090-0128 Programming Cable Schematic www.rabbitsemiconductor.com/documentation/schemat/090-0128.pdf The schematics included with the printed manual were the latest revisions available at the time the manual was last revised. The online versions of the manual contain links to the latest revised schematic on the Web site ...

Page 96

...

Related keywords