background image

RabbitCore RCM3000

C-Programmable Module with Ethernet

User’s Manual

019–0110

070831–H

Downloaded from 

Elcodis.com

 

electronic components distributor

 

Содержание RabbitCore RCM3000

Страница 1: ...RabbitCore RCM3000 C Programmable Module with Ethernet User s Manual 019 0110 070831 H Downloaded from Elcodis com electronic components distributor...

Страница 2: ...emarks of Rabbit Semiconductor Inc 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 Rabbit Semiconductor Pe...

Страница 3: ...RabbitCore RCM3000 Rabbit Semiconductor Inc www rabbit com Downloaded from Elcodis com electronic components distributor...

Страница 4: ...RabbitCore RCM3000 Rabbit Semiconductor Inc www rabbit com Downloaded from Elcodis com electronic components distributor...

Страница 5: ...ort 10 Chapter 3 Running Sample Programs 11 3 1 Introduction 11 3 2 Sample Programs 12 3 2 1 Serial Communication 13 3 2 2 Other Sample Programs 14 Chapter 4 Hardware Reference 15 4 1 RCM3000 Digital...

Страница 6: ...om Here 47 Appendix A RCM3000 Specifications 49 A 1 Electrical and Mechanical Characteristics 50 A 1 1 Headers 53 A 1 2 Physical Mounting 53 A 2 Bus Loading 54 A 3 Rabbit 3000 DC Characteristics 57 A...

Страница 7: ...Power Supplies 103 D 1 1 Battery Backup Circuits 103 D 1 2 Reset Generator 104 D 2 Optional 5 V Output 104 Appendix E Motor Control Features 105 E 1 Overview 105 E 2 Header J6 106 E 3 Using Parallel...

Страница 8: ...RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...

Страница 9: ...headers bring out the Rabbit 3000 I O bus lines parallel ports and serial ports The RCM3000 receives its 3 3 V power from the customer supplied motherboard on which it is mounted The RabbitCore RCM30...

Страница 10: ...ductor sales representative for details Table 1 below highlights the differences between the two models in the RCM3000 family NOTE The RCM3010 is the RabbitCore module supplied with the Development Ki...

Страница 11: ...information on the RCM3000 mod ule 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 wa...

Страница 12: ...station s desktop Double click this icon to reach the menu If the icon is missing use your browser to find and load default htm in the docs folder found in the Dynamic C installation folder The latest...

Страница 13: ...RCM3010 module with Ethernet port 256K flash memory and 128K SRAM RCM30 31 32XX Prototyping Board AC adapter 12 V DC 1 A Included only with Development Kits sold for the North American market A header...

Страница 14: ...ottom 3 3V 5V 3 3V 5V GND GND GND GND 5V 5V 3 3V 3 3V GND MOTOR ENCODER RN5 J6 R20 JP1 CURRENT MEASUREMENT OPTION 3 3V 5V 3 3V POWER D1 C13 DS3 L1 C17 C15 POWER GND DC GND J9 2 5 MM JACK GND DC GND GN...

Страница 15: ...3 PD5 PG3 PG1 PC7 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 STAT GND GND SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 NC 3 3V VRAM SM1 IORD PG4 PG6 PE0 PE3 PE5 PE7 PF6 PF4 PB6 PB4 PB2 RES J1 VBAT EX...

Страница 16: ...PD7 PD3 PD5 PG3 PG1 PC7 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 STAT GND GND SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 NC 3 3V VRAM SM1 IORD PG4 PG6 PE0 PE3 PE5 PE7 PF6 PF4 PB6 PB4 PB2 RES J1...

Страница 17: ...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 If a program compiles and loads but the...

Страница 18: ...e RabbitCore RCM3000 User s Manual for details of the module s hardware and software components 3 For advanced development topics refer to the Dynamic C User s Manual and the Dynamic C TCP IP User s M...

Страница 19: ...tory pages of the Dynamic C User s Manual for a suggested reading list Complete information on Dynamic C is provided in the Dynamic C User s Manual In order to run the sample programs discussed in thi...

Страница 20: ...running LEDs DS1 and DS2 will flash on off at different rates TOGGLESWITCH c demonstrates the use of costatements to detect switches using the press and release method of debouncing LEDs DS1 and DS2...

Страница 21: ...he jumpers supplied in the Development Kit as shown in the diagram The Dynamic C STDIO window will display the error sequence SIMPLE3WIRE C This program demonstrates basic RS 232 serial communication...

Страница 22: ...the RCM30 31 32XX Prototyping Board to the RS 485 transceiver and you will con nect PD4 to the RS 485 transceiver to enable or disable the RS 485 transmitter The RS 485 connections between the slave...

Страница 23: ...ete physical and electrical specifications Figure 4 shows these Rabbit based subsystems designed into the RCM3000 Figure 4 RCM3000 Subsystems Ethernet SRAM Flash 14 MHz osc 32 kHz osc RabbitCore Modul...

Страница 24: ...ith the RCM3000 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 on other...

Страница 25: ...s RABBIT 3000 Port A Port B Port D Ethernet Port Port E PA0 PA7 PB0 PB2 PB7 PE0 PE1 PE3 PE7 PD4 PD5 RESET IOWR STATUS SMODE0 SMODE1 Watchdog 11 Timers Clock Doubler Slave Port Real Time Clock RAM Back...

Страница 26: ...nput RXD 17 PC2 Output TXC 18 PC3 Input RXC 19 PC4 Output TXB 20 PC5 Input RXB 21 PC6 Output TXA Serial Port A programming port 22 PC7 Input RXA 23 PG0 Input Output TCLKF 24 PG1 Input Output RCLKF 25...

Страница 27: ...ddress 4 8 PB7 Input Output IA5 SLAVEATTN External Address 5 9 PF4 Input Output AQD1B PWM0 10 PF5 Input Output AQD1A PWM1 11 PF6 Input Output AQD2B PWM2 12 PF7 Input Output AQD2A PWM3 13 PE7 Input Out...

Страница 28: ...rt executing at address zero 0 1 cold boot from slave port 1 0 cold boot from clocked Serial Port A SMODE0 1 SMODE1 1 Cold boot from asynchronous Serial Port A at 2400 bps programming cable connected...

Страница 29: ...ed to reset other peripheral devices 4 1 3 5 V Tolerant Inputs The RCM3000 operates over a voltage from 3 15 V to 3 45 V but most RCM3000 input pins except RESET_IN VRAM VBAT_EXT and the power supply...

Страница 30: ...n be up to 80 of the sys tem clock frequency divided by 128 or 183 750 bps for a 29 4 MHz clock speed Serial Ports E and F can also be configured as SDLC HDLC serial ports The IRDA proto col is also s...

Страница 31: ...nous serial port an asynchronous serial port with the clock line usable as a general CMOS input The serial programming port may also be used as a serial port via the DIAG connector on the serial progr...

Страница 32: ...the RCM3000 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 RCM3000 is automatically in Program Mode...

Страница 33: ...M SM1 IORD PG4 PG6 PE0 PE3 PE5 PE7 PF6 PF4 PB6 PB4 PB2 RES J1 VBAT EXT RES IN RN2 C1 C2 IR1 Rx Tx SLAVE MASTER R1 R2 R3 R4 C3 R5 UX10 RC15 RC19 RC20 UX9 RC14 RC17 RC16 UX3 RC3 GND EGND RC12 RC10 RC11...

Страница 34: ...formation on the spectrum spreading setting and the maximum clock speed 1 Select the Defines tab from the Dynamic C Options Project Options menu 2 Add the line CLOCK_DOUBLED 0 to always disable the cl...

Страница 35: ...emory Bank Select jumper configuration option based on 0 surface mounted resistors exists at header JP1 on the RCM3000 RabbitCore modules This option used in conjunction with some configuration macros...

Страница 36: ...28 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...

Страница 37: ...the Options Project Options Compiler menu 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...

Страница 38: ...for customers to create their own source code libraries and augment on line help by creating function description block comments using a special format for library functions Standard debugging featur...

Страница 39: ...ibrary files included with Dynamic C provide a full range of serial communications sup port The RS232 LIB library provides a set of circular buffer based serial functions The PACKET LIB library provid...

Страница 40: ...oprocessors are described in the Dynamic C Function Reference Manual 5 2 5 Board Initialization Call this function at the beginning of your program This function initializes Parallel Ports A through G...

Страница 41: ...y over an entire file since you may overwrite a bug fix of course you may copy over any programs you have written Once you are sure the new patch works entirely to your satisfaction you may retire the...

Страница 42: ...34 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...

Страница 43: ...AC adapter and the programming cable as shown in Chapter 2 Hardware Setup 2 Ethernet Connections There are four options for connecting the RCM3000 module to a network for develop ment and runtime purp...

Страница 44: ...ther Wide Area Networks but exceptional care should be used with IP address settings and all network related programming and development We recommend that development and debugging be done on a local...

Страница 45: ...se a dial up line to send a packet to the Internet Windows may try to send it via the local Ethernet network if it is also valid for that network The following IP addresses are set aside for local net...

Страница 46: ...t having to setup a direct connection between your computer and the RCM3000 board You will also need the IP address of the nameserver the name or IP address of your mail server and your domain name fo...

Страница 47: ...n example netmask is 255 255 255 0 This netmask has 8 zero bits in the least significant portion and this means that 28 addresses are a part of the local network Applied to the IP address above 216 10...

Страница 48: ...the local network asking the device with the desired IP address to answer with its MAC address In this way the table entry can be filled in If no device answers then the device is nonexistent or inope...

Страница 49: ...m some Internet tasks such as sending e mail or browsing the Web but usually cannot be used to participate in conversations that originate elsewhere on the Internet If you want to find out this dynami...

Страница 50: ...affic that did not originate from inside the net work If you want users on the Internet to communicate with your RCM3000 you have several options You can either place the RCM3000 directly on the Inter...

Страница 51: ...RCM3000 board together on the same network This network can be a local private net work preferred for initial experimentation and debugging or a connection via the Internet RCM3000 User s PC Ethernet...

Страница 52: ...ibrary in the LIB TCPIP directory 3 You can create a CUSTOM_CONFIG LIB library and use a TCPCONFIG value greater than 100 Instructions for doing this are at the beginning of the TCP_CONFIG LIB file Th...

Страница 53: ...k for the TCP IP Protocol Network Dial Up Connections Network line or tab Double click on this line or select Properties or Local Area Connection Properties to bring up the TCP IP properties dialog bo...

Страница 54: ...PIP folder BROWSELED C This program demonstrates a basic controller running a Web page Two LEDs are created on the Web page with two buttons to toggle them Users can change the status of the lights fr...

Страница 55: ...d when a ping is sent and received 6 12 Where Do I Go From Here NOTE If you purchased your RCM3000 through a distributor or through a Rabbit Semi conductor partner contact the distributor or partner f...

Страница 56: ...48 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...

Страница 57: ...er s Manual 49 APPENDIX A RCM3000 SPECIFICATIONS Appendix A provides the specifications for the RCM3000 and describes the conformal coating Downloaded from Elcodis com electronic components distributo...

Страница 58: ...3 R4 R5 U2 J3 C41 C44 DS2 DS1 Y3 C42 C38 Y2 U9 Q1 D1 R29 R28 R32 R33 U5 R14 R19 R11 R12 C23 U12 C83 R49 RP1 C82 C67 C69 C4 C13 C50 C9 C7 C59 C11 C55 C49 C15 C22 C1 C18 C86 C28 C75 C61 C10 C51 C12 C53...

Страница 59: ...flow and will help to minimize any electrical or electromagnetic interference between adjacent boards An exclusion zone of 0 08 2 mm is recommended below the RCM3000 when the RCM3000 is plugged into a...

Страница 60: ...e Serial Ports 6 shared high speed CMOS compatible ports 6 configurable as asynchronous with IrDA 4 as clocked serial SPI and 2 as SDLC HDLC with IrDA 1 asynchronous serial port dedicated for programm...

Страница 61: ...recommended to attach the RCM3000 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 o...

Страница 62: ...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 Table A 2 Capacitance of Rabbit 3000 I O Ports I O Ports Input Cap...

Страница 63: ...o Extra Wait States NOTE IOCSx can be programmed to be active low default or active high Tadr Tadr Memory Read no wait states CLK A 19 0 Memory Write no extra wait states CLK A 19 0 valid T1 T2 T1 Tw...

Страница 64: ...o I O buffer enable delay The data setup time delays are similar for both Tsetup and Thold When the spectrum spreader is enabled with the clock doubler every other clock cycle is shortened sometimes l...

Страница 65: ...range of 3 15 3 45 V DC Table A 5 3 3 Volt DC Characteristics Symbol Parameter Test Conditions Min Typ Max Units IIH Input Leakage High VIN VDD VDD 3 3 V 1 A IIL Input Leakage Low no pull up VIN VSS...

Страница 66: ...current may be greater than the limits outlined in Table A 6 The maximum AC DC sourcing cur rent can be as high as 12 5 mA per buffer as long as the number of sourcing buffers does not exceed three pe...

Страница 67: ...unted components A new conformal coating should then be applied to offer continuing protection against the effects of moisture and contaminants NOTE For more information on conformal coatings refer to...

Страница 68: ...rface mounted resistors Table A 7 RCM3000 Jumper Configurations Header Description Pins Connected Factory Default JP1 Flash Memory Bank Select 1 2 Normal Mode 2 3 Bank Mode JP2 Flash Memory Size 1 2 1...

Страница 69: ...dix B describes the features and accessories of the Proto typing Board and explains the use of the Prototyping Board to demonstrate the RCM3000 and to build prototypes of your own circuits Downloaded...

Страница 70: ...SLAVE MASTER R1 R2 R3 R4 C3 R5 UX10 RC15 RC19 RC20 UX9 RC14 RC17 RC16 UX3 RC3 GND EGND RC12 RC10 RC11 RC13 R21 J2 NC 3 3V VRAM SM1 IORD PG4 PG6 PE0 PE3 PE5 PE7 PF6 PF4 PB6 PB4 PB2 RES GND GND SM0 IOW...

Страница 71: ...and PG1 pins of the master RCM3000 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...

Страница 72: ...ading to a standard DE 9 serial connector Current Measurement Option Jumpers across pins 1 2 and 5 6 on header JP1 can be removed and replaced with an ammeter across the pins to measure the current dr...

Страница 73: ...UX9 RC14 RC17 RC16 UX3 RC3 GND EGND RC12 RC10 RC11 RC13 R21 J2 NC 3 3V VRAM SM1 IORD PG4 PG6 PE0 PE3 PE5 PE7 PF6 PF4 PB6 PB4 PB2 RES GND GND SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 VBAT...

Страница 74: ...Shottky diode at D2 as shown in Figure B 3 Figure B 3 Prototyping Board Power Supply Table B 1 RCM30 31 32XX Prototyping Board Specifications Parameter Specification Board Size 5 30 6 775 1 00 135 mm...

Страница 75: ...e Prototyping Board Small to medium circuits can be prototyped using point to point wiring with 20 to 30 AWG wire between the prototyping area and the holes at locations J2 and J4 The holes are spaced...

Страница 76: ...n for point to point wiring on the Prototyping Board Because the traces are very thin carefully determine which set of holes is connected to which surface mount pad B 4 2 Measuring Current Draw The Pr...

Страница 77: ...bit free running PWM counter with four pulse width registers These features allow the RCM3100 to be used in a motor control application although our does not offer the drivers or a compatible stepper...

Страница 78: ...on RCM3000 PC2 Output TXC Serial Port C High disabled PC3 Input RXC Pulled up on RCM3000 PC4 Output TXB Serial Port B High disabled PC5 Input RXB Pulled up on RCM3000 PC6 Output TXA Programming Port...

Страница 79: ...Pulled down PG3 Input RXF IrDA Driven by IrDA driver PG4 Input IrDA MD1 Pulled up on Prototyping Board PG5 Input IrDA MD0 Pulled down on Prototyping Board PG6 Output LED DS1 High disabled PG7 Output...

Страница 80: ...72 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...

Страница 81: ...e C 1 LCD Keypad Modules Models Only the version without the bezel can mount directly on the Prototyping Board if you have the version with a bezel you will have to remove the bezel to be able to moun...

Страница 82: ...imately 650 mW to the power consumption Connections Connects to high rise header sockets on the Prototyping Board LCD Panel Size 122 32 graphic display Keypad 7 key keypad LEDs Seven user programmable...

Страница 83: ...r at R2 or by setting the voltage for 5 V by 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 L...

Страница 84: ...ace 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...

Страница 85: ...0xC000 Device select base address CS 0xCxx0 0xCxx7 LCD control 0xCxx8 LED enable 0xCxx9 Not used 0xCxxA 7 key keypad 0xCxxB bits 0 6 7 LED driver 0xCxxB bit 7 LCD backlight on off 0xCxxC ExxF Not use...

Страница 86: ...7 PF6 PF4 PB6 PB4 PB2 RES GND GND SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 VBAT EXT RES IN RN6 J4 PD1 PD7 PD3 PD5 PG3 PG1 PD4 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 STATUS PD0 PD6 PD2 PD4 PG2...

Страница 87: ...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 Carefu...

Страница 88: ...plastic bezel face plate is touching the panel 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 manuall...

Страница 89: ...7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 VBAT EXT RES IN RN6 J4 PD1 PD7 PD3 PD5 PG3 PG1 PD4 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 STATUS PD0 PD6 PD2 PD4 PG2 PG0 PD5 PC4 PC2 PC0 PF1 PF3 PA1 PA3 PA5 PA7 GND...

Страница 90: ...C 7 2 LEDs When power is applied to the LCD keypad module for the first time the red LED DS1 will come on indicating that power is being applied to the LCD keypad module The red LED is turned off when...

Страница 91: ...lSetBrushType glBuffLock glBuffUnlock glPlotLine Turns the display backlight on or off PARAMETER onOff turns the backlight on or off 1 turn the backlight on 0 turn the backlight off RETURN VALUE None...

Страница 92: ...None SEE ALSO glFillScreen glBlock glPlotPolygon glPlotCircle Draws a rectangular block in the page buffer and on the LCD if the buffer is unlocked Any portion of the block that is outside the LCD di...

Страница 93: ...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 If fewer than 3 vertices are specified the function will return...

Страница 94: ...s the number of vertices x1 is the x coordinate of the first vertex y1 is the y coordinate of the first vertex x2 is the x coordinate of the second vertex y2 is the y coordinate of the second vertex a...

Страница 95: ...in pixels of each font item startChar is the value of the first printable character in the font character set endChar is the value of the last printable character in the font character set xmemBuffer...

Страница 96: ...ight and width of the font being displayed which are multi plied by the step values PARAMETERS stepX is the glPrintf x step value stepY is the glPrintf y step value RETURN VALUE None SEE ALSO Use glGe...

Страница 97: ...reen Only the character codes that exist in the font set are printed all others are skipped For example b t n and r ASCII backspace tab new line and carriage return respectively will be printed if the...

Страница 98: ...sferred to the LCD if the counter goes to zero RETURN VALUE None SEE ALSO glBuffLock glSwap Checks the LCD screen locking counter The contents of the LCD buffer are transferred to the LCD if the count...

Страница 99: ...ne glPlotPolygon glPlotCircle Draws a line in the LCD buffer and on the LCD if the buffer is unlocked Any portion of the line that is beyond the LCD display area will be clipped PARAMETERS x0 is the x...

Страница 100: ...is the top left corner of the bitmap cols is the number of columns in the window must be evenly divisible by 8 otherwise truncates rows is the number of rows in the window RETURN VALUE None SEE ALSO g...

Страница 101: ...1 The left and cols parameters will be verified that they are evenly divisible by 8 If not they will be truncated to a value that is a multiple of 8 2 Parameters will be checked to verify that the scr...

Страница 102: ...he number of rows in the window nPix is the number of pixels to scroll within the defined window a negative value will produce a scroll up RETURN VALUE None SEE ALSO glHScroll Draws bitmap in the spec...

Страница 103: ...window using only character row and column coordinates The text window feature provides end of line wrapping and clipping after the character in the last column and row is displayed NOTE Execute the T...

Страница 104: ...rsor column variable row is a pointer to cursor row variable RETURN VALUE Lower word Cursor Row location Upper word Cursor Column location SEE ALSO TextGotoXY TextPrintf TextWindowFrame TextCursorLoca...

Страница 105: ...dow feature provides end of line wrapping and clipping after the character in the last col umn and row is displayed NOTE Execute the TextWindowFrame function before using this function PARAMETERS wind...

Страница 106: ...Press is a key press code An 8 bit value is returned when a key is pressed 0 Unused See keypadDef for default press codes cRelease is a key release code An 8 bit value is returned when a key is presse...

Страница 107: ...e and repeat NOTE This function is also able to process an 8 8 matrix keypad RETURN VALUE None SEE ALSO keyConfig keyGet keypadDef Get next keypress RETURN VALUE The next keypress or 0 if none SEE ALS...

Страница 108: ...0 0 keyConfig 2 D 0 0 0 0 0 keyConfig 4 0 0 0 0 0 keyConfig 1 U 0 0 0 0 0 keyConfig 5 0 0 0 0 0 keyConfig 0 L 0 0 0 0 0 Characters are returned upon keypress with no repeat RETURN VALUE None SEE ALSO...

Страница 109: ...ribed in the RCM3000 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 SAMPLES RCM3000 LCD_KEYPAD...

Страница 110: ...102 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...

Страница 111: ...J3 to a PC D 1 1 Battery Backup Circuits The RCM3000 does not have a battery but there is provision for a customer supplied bat tery to back up SRAM and keep the internal Rabbit 3000 real time clock r...

Страница 112: ...Protoyping Board or motherboard since that is where the backup battery would be located D 1 2 Reset Generator The RCM3000 uses a reset generator to reset the Rabbit 3000 microprocessor when the volta...

Страница 113: ...bbit 3000 microprocessor to enable you to develop your own application E 1 Overview The Parallel Port F connector on the Prototyping Board J6 gives access to all 8 pins of Parallel Port F along with 5...

Страница 114: ...ce if higher voltage inputs are required If the outputs are configured for open drain operation they may be pulled up to 5 V while observing the maximum current of course Table E 1 RCM30 31 32XX Proto...

Страница 115: ...0 to produce an input Drive Control Register PFDCR address 00111110 0x3E Write only no default on reset port defaults to all inputs Effective only if the corresponding port bits are set as outputs ea...

Страница 116: ...e bits are ignored 4 5 00 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 6 7 xx T...

Страница 117: ...00000000 Bits Value Description 0 7 0 Corresponding port bit is an input 1 Corresponding port bit is an output Table E 2 Parallel Port F Registers continued Register Name Mnemonic I O Address R W Res...

Страница 118: ...gh 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...

Страница 119: ...are stored 5 1 These bits are ignored 0 0 PWM output High for single block 1 Spread PWM output throughout the cycle PWM MSB x Register Address PWM0R Address 10001001 0x89 PWM1R Address 10001011 0x8B P...

Страница 120: ...rement on either entering or exiting the disable state The operation of the counter as a function of the I and Q inputs is shown below Figure E 2 Operation of Quadrature Decoder Counter The Quadrature...

Страница 121: ...der 2 did not decrement from 0x00 1 Quadrature Decoder 2 decremented from 0x00 to 0xFF This bit is cleared by a read of this register 5 0 This bit always reads as zero 4 wr only 0 No effect on the Qua...

Страница 122: ...coder 1 to increment or decrement 10 Quadrature Decoder 1 inputs from Port F bits 1 and 0 11 Quadrature Decoder 1 inputs from Port F bits 5 and 4 1 0 0 Quadrature Decoder interrupts are disabled 1 Qua...

Страница 123: ...35 Ethernet connections 35 37 10Base T 37 10Base T Ethernet card 35 additional resources 47 direct connection 37 Ethernet cables 37 Ethernet hub 35 IP addresses 37 39 steps 35 36 Ethernet port 22 pino...

Страница 124: ...ory versions 2 motor control applications 69 motor control option quadrature decoder 112 mounting instructions LCD keypad module 78 P physical mounting 53 pinout Ethernet port 22 LCD keypad module 77...

Страница 125: ...22 Ethernet port 22 programming port 23 software libraries KEYPAD7 LIB 98 LCD122KEY7_LIB 82 PACKET LIB 31 RCM3000 LIB 32 RS232 LIB 31 TCP IP 31 specifications 49 bus loading 54 digital I O buffer sour...

Страница 126: ...118 RabbitCore RCM3000 Downloaded from Elcodis com electronic components distributor...

Страница 127: ...it 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 schem...

Страница 128: ...Downloaded from Elcodis com electronic components distributor...

Отзывы: