101-0517 Rabbit Semiconductor, 101-0517 Datasheet

no-image

101-0517

Manufacturer Part Number
101-0517
Description
MODULE RABBITCORE RCM3100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0517

Rohs Status
RoHS non-compliant
Module/board Type
MPU Core Module
For Use With/related Products
RCM3100
Other names
316-1021
RabbitCore RCM3100
C-Programmable Module
User’s Manual
019–0115 • 070831–H

Related parts for 101-0517

101-0517 Summary of contents

Page 1

RabbitCore RCM3100 C-Programmable Module User’s Manual 019–0115 • 070831–H ...

Page 2

... Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc. Rabbit 3000 and RabbitCore are trademarks of Rabbit Semiconductor Inc. The latest revision of this manual is available on the Rabbit Semiconductor Web site, www.rabbit.com, for free, unregistered download. Rabbit Semiconductor Inc. ...

Page 3

Chapter 1. Introduction 1.1 RCM3100 Features ...............................................................................................................................1 1.2 Advantages of the RCM3100 ...............................................................................................................3 1.3 Development and Evaluation Tools......................................................................................................3 1.4 How to Use This Manual ......................................................................................................................3 1.4.1 Additional Product Information ....................................................................................................3 1.4.2 Online Documentation ..................................................................................................................3 Chapter 2. Hardware Setup 2.1 Development ...

Page 4

Chapter 5. Software Reference 5.1 More About Dynamic C ..................................................................................................................... 29 5.2 Dynamic C Function Calls ................................................................................................................ 31 5.2.1 I/O............................................................................................................................................... 31 5.2.2 Serial Communication Drivers ................................................................................................... 31 5.2.3 Prototyping Board Functions...................................................................................................... 31 5.2.3.1 Board Initialization ............................................................................................................ 31 5.3 Upgrading Dynamic ...

Page 5

Appendix E. Motor Control Features E.1 Overview ............................................................................................................................................89 E.2 Header J6 ............................................................................................................................................90 E.3 Using Parallel Port F ..........................................................................................................................91 E.3.1 Parallel Port F Registers .............................................................................................................91 E.4 PWM Outputs.....................................................................................................................................94 E.5 PWM Registers...................................................................................................................................95 E.6 Quadrature Decoder ...........................................................................................................................96 Index Schematics User’s Manual 89 99 ...

Page 6

RabbitCore RCM3100 ...

Page 7

The RCM3100 RabbitCore module is designed to be the heart of embedded control systems. Throughout this manual, the term RCM3100 refers to the complete series of RCM3100 RabbitCore modules unless other production models are referred to specifically. The RCM3100 has ...

Page 8

... There are two production models in the RCM3100 series. If the standard models do not serve your needs, other variations can be specified and ordered in production quantities. Contact your Rabbit Semiconductor sales representative for details. Table 1 below highlights the differences between the two models in the RCM3100 family. ...

Page 9

Advantages of the RCM3100 • Fast time to market using a fully engineered, “ready to run” microprocessor core. • Competitive pricing when compared with the alternative of purchasing and assembling individual components. • Easy C-language program development and debugging ...

Page 10

RabbitCore RCM3100 ...

Page 11

This chapter describes the RCM3100 hardware in more detail, and explains how to set up and use the accompanying Prototyping Board. NOTE: This chapter (and this manual) assume that you have the RCM3100 Development Kit. If you purchased an RCM3100 ...

Page 12

Hardware Connections 2.2.1 Attach Module to Prototyping Board Turn the RCM3100 module so that the mounting holes on the RCM3100 and on the Proto- typing Board line up, as shown in Figure 1 below. Align the pins from headers ...

Page 13

... NOTE: Be sure to use the programming cable (part number 101-0513) supplied with this Development Kit—the programming cable has red shrink wrap around the RS-232 con- verter section located in the middle of the cable ...

Page 14

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

Page 15

Starting Dynamic C Once the RCM3100 is connected as described in the preceding pages, start Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on the Dynamic C root directory, where uses the serial port specified ...

Page 16

... NOTE: If you purchased your RCM3100 through a distributor or through a Rabbit Semi- conductor partner, contact the distributor or partner first for technical support. If there are any problems at this point: • Use the Dynamic C Help • Check the Rabbit Semiconductor Technical Bulletin Board at www.rabbit.com/support/bb/. • Use the Technical Support 10 sample program to verify that the PONG ...

Page 17

... R To develop and debug programs for the RCM3100 (and for all other Rabbit Semiconductor hardware), you must install and use Dynamic C. Chapter 3 walks you through the sample programs associated with the RCM3100. 3.1 Introduction To help familiarize you with the RCM3100 modules, Dynamic C includes several sample programs. Loading, executing and studying these programs will give you a solid hands-on overview of the RCM3100’ ...

Page 18

Sample Programs Of the many sample programs included with Dynamic C, several are specific to the RCM3100. Sample programs illustrating the general operation of the RCM3100, and serial communication are provided in the has comments that describe the purpose ...

Page 19

Serial Communication The following sample programs can be found in the —This program demonstrates hardware flow control by configuring • FLOWCONTROL.C Serial Port C (PC3/PC2) for CTS/RTS with serial data coming from TxB at 115,200 bps. One character at ...

Page 20

SWITCHCHAR.C ASCII string on Serial Ports B and C. It also displays the serial data received from both ports in the window. STDIO To set up the Prototyping Board, you will ...

Page 21

Real-Time Clock If you plan to use the real-time clock functionality in your application, you will need to set the real-time clock. Set the real-time clock using the the Dynamic C SAMPLES\RTCLOCK sample program in the Dynamic C RTC_TEST.C ...

Page 22

RabbitCore RCM3100 ...

Page 23

Chapter 2 describes the hardware components and principal hardware subsystems of the RCM3100. Appendix A, “RabbitCore RCM3100 Specifications,” provides complete physical and electrical specifica- tions. Figure 4 shows these Rabbit-based subsystems designed into the RCM3100. User’s Manual 4. H ARDWARE ...

Page 24

RCM3100 Digital Inputs and Outputs The RCM3100 has 54 parallel I/O lines grouped in seven 8-bit ports available on headers J1 and J2. The 46 bidirectional I/O lines are located on pins PA0–PA7, PB0, PB2–PB7, PD0–PD7, PE0–PE1, PE3–PE7, PF0–PF7, ...

Page 25

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

Page 26

Table 2. RCM3100 Pinout Configurations Pin Pin Name 1 GND 2 STATUS Output (Status) 3–10 PA[7:0] Parallel I/O 11 PF3 Input/Output 12 PF2 Input/Output 13 PF1 Input/Output 14 PF0 Input/Output 15 PC0 Output 16 PC1 Input 17 PC2 Output 18 ...

Page 27

Table 2. RCM3100 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 ...

Page 28

Table 2. RCM3100 Pinout Configurations (continued) Pin Pin Name 20 PG7 Input/Output 21 PG6 Input/Output 22 PG5 Input/Output 23 PG4 Input/Output 24 /IOWR Output 25 /IORD Input (0,0)—start executing at address zero (0,1)—cold boot from slave port (1,0)—cold boot from ...

Page 29

Memory I/O Interface The Rabbit 3000 address lines (A0–A19) and all the data lines (D0–D7) are routed inter- nally to the onboard flash memory and SRAM chips. I/0 write (/IOWR) and I/0 read (/IORD) are available for interfacing to ...

Page 30

Serial Communication The RCM3100 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 RCM3100 is mounted on. For example, the Prototyping ...

Page 31

The two startup mode pins determine what happens after a reset—the Rabbit 3000 is either cold-booted or the program begins executing at address 0x0000. The status pin is used by Dynamic C to determine whether a Rabbit microprocessor is present. ...

Page 32

Figure 7. Switching Between Program Mode and Run Mode A program “runs” in either mode, but can only be downloaded and debugged when the RCM3100 is in the Program Mode. Refer to the Rabbit 3000 Microprocessor User’s Manual gramming port ...

Page 33

Other Hardware 4.4.1 Clock Doubler The RCM3100 takes advantage of the Rabbit 3000 microprocessor’s internal clock dou- bler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emissions. The 29.4 MHz frequency specified for the ...

Page 34

... The RCM3100 can accept 128K to 512K of SRAM at U4. 4.5.2 Flash EPROM The RCM3100 can accept 256K to 512K of flash EPROM. NOTE: Rabbit Semiconductor recommends that any customer applications should not be constrained by the sector size of the flash EPROM since it may be necessary to change the sector size in the future. ...

Page 35

... Dynamic integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with Rabbit Semiconductor devices and other devices based on the Rabbit microprocessor. Chapter 4 provides the libraries and function calls related to the RCM3100. 5.1 More About Dynamic C Dynamic C has been in use worldwide since 1989 specially designed for program- ming embedded systems, and features quick compile and interactive debugging. A com- plete reference guide to Dynamic C is contained in the Dynamic C User’ ...

Page 36

Developing software with Dynamic C is simple. Users can write, compile, and test C and assembly code without leaving the Dynamic C development environment. Debugging occurs while the application runs on the target. Alternatively, users can compile a program to ...

Page 37

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

Page 38

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

Page 39

A PPENDIX Appendix A provides the specifications for the RCM3100, and describes the conformal coating. User’s Manual ABBIT ORE S RCM3100 PECIFICATIONS 33 ...

Page 40

A.1 Electrical and Mechanical Characteristics Figure A-1 shows the mechanical dimensions for the RCM3100. Figure A-1. RCM3100 Dimensions NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. All dimensions have a manufacturing tolerance of ±0.01" (0.25 mm). ...

Page 41

Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM3100. Table A-1. RabbitCore RCM3100 Specifications Feature Microprocessor EMI Reduction Flash Memory SRAM Backup Battery Connection for user-supplied backup battery to support RTC and SRAM) General-Purpose I/O Additional Digital ...

Page 42

Table A-1. RabbitCore RCM3100 Specifications (continued) Feature Operating Temperature Humidity Connectors (for connection to headers J4 and J5) Board Size A.1.1 Exclusion Zone It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM3100 ...

Page 43

A.1.2 Headers The RCM3100 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 ...

Page 44

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

Page 45

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

Page 46

Table A-4 lists the delays in gross memory access time for V Table A-4. Data and Clock Delays V Clock to Address Output Delay (ns) VDD 3.3 6 The measurements are taken at the 50% points ...

Page 47

A.3 Rabbit 3000 DC Characteristics Table A-5 outlines the DC characteristics for the Rabbit 3000 at 3.3 V over the recom- mended operating temperature range from T Rabbit 3000 is rated to operate over a voltage range from 3.0–3.6 V, ...

Page 48

A.4 I/O Buffer Sourcing and Sinking Limit Unless otherwise specified, the Rabbit 3000 I/O buffers are capable of sourcing and sink- ing 6 current per pin at full AC switching speed. Full AC switching assumes a 29.4 MHz ...

Page 49

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

Page 50

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

Page 51

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

Page 52

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

Page 53

B.1.1 Prototyping Board Features —A power-supply jack and a 3-pin header are provided for con- Power Connection • nection to the power supply. Note that the 3-pin header is symmetrical, with both outer pins connected to ground and the center ...

Page 54

... V or the +3.3 V supplies, respectively. —A motor/encoder header is provided at header J6 for future use. Motor Encoder • —Rabbit Semiconductor’s LCD/keypad module may be plugged LCD/Keypad Module • in directly to headers J7, J8, and J10. 48 — ...

Page 55

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

Page 56

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

Page 57

B.4 Using the Prototyping Board The Prototyping Board is actually both a demonstration board and a prototyping board demonstration board, it can be used to demonstrate the functionality of the RCM3100 right out of the box without any ...

Page 58

B.4.1 Adding Other Components There are pads that can be used for surface-mount prototyping involving SOIC devices. There is provision for seven 16-pin devices (six on one side, one on the other side). There are 10 sets of pads that ...

Page 59

... The RCM3100 has a 2-channel quadrature decoder and a 10-bit free-running PWM counter with four pulse-width registers. These features allow the RCM3100 to be used in a motor control application, although Rabbit Semiconductor does not offer the drivers or a compatible stepper motor control board at this time. ...

Page 60

B.5 Use of Rabbit 3000 Parallel Ports Table B-2 lists the Rabbit 3000 parallel ports and their use for the RCM30/31/32XX Prototyping Board. Table B-2. RCM30/31/32XX Prototyping Board Use of Rabbit 3000 Parallel Ports Port I/O PA0–PA7 Output PB0–PB1 Input ...

Page 61

Table B-2. RCM30/31/32XX Prototyping Board Use of Rabbit 3000 Parallel Ports (continued) Port I/O PG0 Input PG1 Input PG2 Output PG3 Input PG4 Input PG5 Input PG6 Output PG7 Output User’s Manual Use Switch S3 (normally open) Switch S2 (normally ...

Page 62

RabbitCore RCM3100 ...

Page 63

... LCD/keypad module on the Prototyping Board. Either version of the LCD/keypad module can be installed at a remote location (24") away. Contact your Rabbit Semi- conductor sales representative or your authorized Rabbit Semiconductor distributor for further assistance in purchasing an LCD/keypad module. User’s Manual C ...

Page 64

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

Page 65

C.2 Contrast Adjustments for All Boards Starting in 2005, LCD/keypad modules were factory-configured to optimize their contrast based on the voltage of the system they would be used in. Be sure to select a KDU5V LCD/keypad module for use with ...

Page 66

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

Page 67

C.4 Header Pinouts Figure C-6 shows the pinouts for the LCD/keypad module. Figure C-6. LCD/Keypad Module Pinouts C.4.1 I/O Address Assignments The LCD and keypad on the LCD/keypad module are addressed by the /CS strobe as explained in Table C-2. ...

Page 68

C.5 Mounting LCD/Keypad Module on the Prototyping Board 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 ...

Page 69

C.6 Bezel-Mount Installation This section describes and illustrates how to bezel-mount the LCD/keypad module. Fol- low these steps for bezel-mount installation. 1. Cut mounting holes in the mounting panel in accordance with the recommended dimen- sions in Figure C-8, then ...

Page 70

Fasten the unit with the four 4-40 screws and washers included with the LCD/keypad module. If your panel is thick, use a 4-40 screw that is approximately 3/16" (5 mm) longer than the thickness of the panel. Figure C-9. ...

Page 71

... Note the locations and connections relative to pin 1 on both the RCM30/31/32XX Proto- typing Board and the LCD/keypad module. Rabbit Semiconductor offers 2 ft. (60 cm) extension cables. Contact your authorized dis- tributor or a Rabbit Semiconductor sales representative for more information. User’s Manual ...

Page 72

C.7 LCD/Keypad Module Function Calls When mounted on the Prototyping Board, the LCD/keypad module uses the auxiliary I/O bus on the Rabbit 3000 chip. Remember to add the line #define PORTA_AUX_IO to the beginning of any programs using the auxiliary ...

Page 73

C.7.3 LCD Display The functions used to control the LCD display are contained in the located in the Dynamic C DISPLAYS\GRAPHIC void glInit(void); Initializes the display devices, clears the screen. RETURN VALUE None. SEE ALSO glDispOnOFF, glBacklight, glSetContrast, glPlotDot, glBlock, ...

Page 74

Sets display contrast. NOTE: This function is not used with the LCD/keypad module since the support circuits are not available on the LCD/keypad module. void glFillScreen(char pattern); Fills the LCD display screen with a pattern. PARAMETER The ...

Page 75

Plots the outline of a polygon in the LCD page buffer, and on the LCD if the buffer is unlocked. Any portion of the polygon that is outside the LCD display area will be clipped. ...

Page 76

Fills a polygon in the LCD page buffer and on the LCD screen if the buffer is unlocked. Any portion of the polygon that is outside the LCD display area will be clipped. If fewer ...

Page 77

Draws 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 LCD display area will be clipped. ...

Page 78

Puts an entry from the font table to the page buffer and on the LCD if the buffer is unlocked. Each font character's bitmap is column major and byte-aligned. Any portion ...

Page 79

Provides an interface between the STDIO string-formatting function will call this function, one character at a time, until the entire format- ted string has been parsed. Any portion of the bitmap ...

Page 80

Increments LCD screen locking counter. Graphic calls are recorded in the LCD memory buffer and are not transferred to the LCD if the counter is non-zero. NOTE: glBuffLock() sure to balance the calls not a requirement ...

Page 81

Gets the current method (or color) of pixels drawn by subsequent graphic calls. RETURN VALUE The current brush type. SEE ALSO glSetBrushType void glPlotDot(int x, int y); Draws a single pixel in the LCD buffer, and on the ...

Page 82

Scrolls byte-aligned window left one pixel, right column is filled by current pixel type (color). PARAMETERS left is the top left corner of bitmap, must be evenly divisible by 8, otherwise ...

Page 83

Scrolls byte-aligned window down one pixel, top column is filled by current pixel type (color). PARAMETERS left is the top left corner of bitmap, must be evenly divisible by 8, otherwise ...

Page 84

Scrolls up or down, within the defined window by x number of pixels. The opposite edge of the scrolled window will be filled in with white pixels. The window ...

Page 85

Draws bitmap in the specified space. The data for the bitmap are stored in xmem. This function is like glXPutBitmap, except that it is faster. The restriction is ...

Page 86

TextGotoXY(windowFrame *window, int col, int row); Sets the cursor location on the display of where to display the next character. The display location is based on the height and width of the character to be displayed. NOTE: Execute the ...

Page 87

TextPrintf(struct windowFrame *window, char *fmt, ...); Prints a formatted string (much like printf) on the LCD screen. Only printable characters in the font set are printed, also escape sequences, '\r' and '\n' are recognized. All other escape sequences will ...

Page 88

C.7.4 Keypad The functions used to control the keypad are contained in the Dynamic C library. KEYPAD7.LIB void keyInit(void); Initializes keypad process RETURN VALUE None. SEE ALSO brdInit void keyConfig(char cRaw, char cPress, char cRelease, char cCntHold, char cSpdLo, char ...

Page 89

How many times to repeat after low speed repeat None. RETURN VALUE None. SEE ALSO keyProcess, keyGet, keypadDef void keyProcess(void); Scans and processes keypad data for key assignment, debouncing, press and release, ...

Page 90

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

Page 91

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

Page 92

RabbitCore RCM3100 ...

Page 93

A Appendix D provides information on the current requirements of the RCM3100, and includes some background on the chip select circuit used in power management. D.1 Power Supplies The RCM3100 requires a regulated 3.3 V ± 0. power ...

Page 94

The drain on the battery by the RCM3100 is typically 7.1 µA when no other power is sup- plied 165 mA·h battery is used, the battery can last almost 3 years: The actual life in your application will ...

Page 95

... A PPENDIX The RCM30/31/32XX Prototyping Board has a header at J6 for a motor control connection. While Rabbit Semiconductor does not have the drivers or a compatible stepper motor control board at this time, this appendix provides additional information about Parallel Port F on the Rabbit 3000 microprocessor to enable you to develop your own application ...

Page 96

E.2 Header J6 The connector × 5, 0.1" pitch header suitable for connecting to an IDC receptacle with the following pin allocations. Table E-1. RCM30/31/32XX Prototyping Board Header J6 Pinout Pin Rabbit 3000 Primary Function 1 Parallel ...

Page 97

... Setting the bit to 0 configures that output as active high or low. Function Register—PFFR, address 00111101 (0x3D), Write-only, no default on reset. This register sets the alternate output function assigned to each of the pins of the port. ...

Page 98

... Upper nibble transfer clock is CLK/2 01 Upper nibble transfer clock is Timer A1 10 Upper nibble transfer clock is Timer B1 11 Upper nibble transfer clock is Timer B2 xx These bits are ignored PFFR 00111101 (0x3D) Value 0 Corresponding port bits function normally 1 Bit 0 carries SCLK_D 1 Bit 1 carries SCLK_C x No effect ...

Page 99

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

Page 100

E.4 PWM Outputs The Pulse-Width Modulator consists of a 10-bit free-running counter and four width regis- ters. Each PWM output is high for counts out of the 1024-clock count cycle, where n is the value held in ...

Page 101

... PWM output High for single block. Spread PWM output throughout the cycle Address Address = 10001001 (0x89) Address = 10001011 (0x8B) Address = 10001101 (0x8D) Address = 10001111 (0x8F) Description The most significant eight bits for the Pulse-Width Modulator count are stored With a count of n, the PWM output will be high for n +1 clocks out of the 1024 clocks of the PWM counter ...

Page 102

E.6 Quadrature Decoder The two-channel Quadrature Decoder accepts inputs via Parallel Port F from two external optical incremental encoder modules. Each channel of the Quadrature Decoder accepts an in-phase (I) and a quadrature-phase (Q) signal, and provides 8-bit counters to ...

Page 103

The Quadrature Decoder generates an interrupt when the counter increments from 0x00 to 0x01 or when the counter decrements from 0x00 to 0xFF. Note that the status bits in the QDCSR are set coincident with the interrupt, and the interrupt ...

Page 104

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

Page 105

A additional information online documentation .......... 3 auxiliary I/O bus ................... 23 software ............................. 66 B battery backup battery life ......................... 88 external battery connec- tions .............................. 87 real-time clock .................. 88 reset generator ................... 88 board initialization function calls ...

Page 106

LCD/keypad module LCD dispaly function calls (continued) glSetPfStep .................72 glSwap ........................74 glUp1 ..........................76 glVScroll .....................78 glXFontInit .................71 glXPutBitmap .............78 glXPutFastmap ...........79 TextCursorLocation ....80 TextGotoXY ...............80 TextPrintf ....................81 TextPutChar ................80 TextWindowFrame .....79 LEDs function calls .................66 ledOut .........................66 model options ....................57 ...

Page 107

... T technical support ................... 10 U USB/serial port converter ....... 7 Dynamic C settings ............. 9 user block function calls readUserBlock ............... 28 writeUserBlock ............. 28 User’s Manual 101 ...

Page 108

RabbitCore RCM3100 ...

Page 109

RCM3100 Schematic www.rabbit.com/documentation/schemat/090-0144.pdf 090-0137 RCM3000/RCM3100/RCM3200 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 103 ...

Page 110

...

Related keywords