Digi RCM4000 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Mise en réseau Digi RCM4000. Digi RCM4000 User's Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 124
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - RabbitCore RCM4000

RabbitCore RCM4000C-Programmable Analog Core Modulewith EthernetUser’s Manual019–0157 • 060501–A

Page 2 - Trademarks

4 RabbitCore RCM40001.3 Development and Evaluation Tools1.3.1 RCM4000 Development KitThe RCM4000 Development Kit contains the hardware essentials yo

Page 3 - TABLE OF CONTENTS

94 RabbitCore RCM4000• Current Measurement Option—You may cut the trace below header JP1 on the bottom side of the Prototyping Board and install a 1 ×

Page 4 - RabbitCore RCM4100

User’s Manual 95B.2 Mechanical Dimensions and LayoutFigure B-2 shows the mechanical dimensions and layout for the Prototyping Board.Figure B-2. Prot

Page 5 - Schematics 117

96 RabbitCore RCM4000Table B-1 lists the electrical, mechanical, and environmental specifications for the Proto-typing Board.B.3 Power SupplyThe RCM4

Page 6

User’s Manual 97B.4 Using the Prototyping BoardThe Prototyping Board is actually both a demonstration board and a prototyping board. As a demonstrati

Page 7 - 1. INTRODUCTION

98 RabbitCore RCM4000Selected signals from the Rabbit 4000 microprocessor are available on header J2 of the Prototyping Board. The remaining ports on

Page 8 - 1.1 RCM4000 Features

User’s Manual 99B.4.1 Adding Other ComponentsThere are pads for 28-pin TSSOP devices, 16-pin SOIC devices, and 6-pin SOT devices that can be used for

Page 9 - User’s Manual 3

100 RabbitCore RCM4000B.4.3 Analog Features (RCM4000 only)The Prototyping Board has typical support circuitry installed to complement the ADS7870 A/D

Page 10 - 4 RabbitCore RCM4000

User’s Manual 101Many other possible ranges are possible by physically changing the resistor values that make up the attenuator circuit.NOTE: Analog i

Page 11 - A compatible

102 RabbitCore RCM4000B.4.3.2 Thermistor InputAnalog input LN7_IN on the Prototyping Board was designed specifically for use with a thermistor at JP2

Page 12 - 6 RabbitCore RCM4000

User’s Manual 103B.4.4 Serial CommunicationThe Prototyping Board allows you to access five of the serial ports from the RCM4000 module. Table B-5 sum

Page 13 - 2. GETTING STARTED

User’s Manual 51.3.2 SoftwareThe RCM4000 is programmed using version 10.03 or later of Dynamic C. A compatible version is included on the Development

Page 14 - 2.2 Hardware Connections

104 RabbitCore RCM4000B.4.4.1 RS-232RS-232 serial communication on header J4 on both Prototyping Boards is supported by an RS-232 transceiver install

Page 15 - RCM4000/

User’s Manual 105B.5 Prototyping Board Jumper ConfigurationsFigure B-8 shows the header locations used to configure the various Prototyping Board opt

Page 16 - 10 RabbitCore RCM4000

106 RabbitCore RCM4000JP5JP6PC1/RxD/Switch S2JP51–2RxD on header J4×JP61–2PC1 to Switch S2n.c. PC1 available on header J2JP7JP8PC2/TxC/LED DS3JP71–2Tx

Page 17 - Other Power-Supplies

User’s Manual 107NOTE: Jumper connections JP3–JP10, JP12, JP14, JP16, JP18, JP23, and JP24 are made using 0 Ω surface-mounted resistors. Jumper connec

Page 19 - 2.4 Where Do I Go From Here?

User’s Manual 109APPENDIX C. POWER SUPPLYAppendix C provides information on the current requirements ofthe RCM4000, and includes some background on t

Page 20 - 14 RabbitCore RCM4000

110 RabbitCore RCM4000The drain on the battery by the RCM4000 is typically 7.5 µA when no other power is sup-plied. If a 165 mA·h battery is used, the

Page 21 - 3. RUNNING SAMPLE PROGRAMS

User’s Manual 111NOTICE TO USERSRABBIT AND Z-WORLD PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPO-NENTS IN LIFE-SUPPORT DEVICES OR SYSTEMS UNLE

Page 22 - 3.2 Sample Programs

112 RabbitCore RCM4000

Page 23 - 3. Run from RAM

User’s Manual 113INDEXAA/D converterinputsdifferential measure-ments ...101negative voltages ...101single-ended measure-men

Page 25 - Default gateway : 10.10.6.1

114 RabbitCore RCM4000jumper configurationsPrototyping Board (continued)JP12 (PB2/LED DS2) ..106JP13 (LN1 buffer/filter to RCM4000) ...10

Page 26 - 20 RabbitCore RCM4000

User’s Manual 115specifications ... 77A/D converter chip ... 82bus loading ...85digital I/O buffer

Page 27 - STDIO window

116 RabbitCore RCM4000

Page 28 - 22 RabbitCore RCM4000

User’s Manual 117SCHEMATICS090-0227 RCM4000 Schematicwww.rabbit.com/documentation/schemat/090-0227.pdf090-0230 Prototyping Board Schematicwww.rabbit.c

Page 30 - These pinouts are as seen on

User’s Manual 72. GETTING STARTEDThis chapter describes the RCM4000 hardware in more detail, andexplains how to set up and use the accompanying Proto

Page 31 - Backup Battery

8 RabbitCore RCM40002.2 Hardware ConnectionsThere are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs:

Page 32 - 26 RabbitCore RCM4000

User’s Manual 92.2.2 Attach Module to Prototyping BoardTurn the RCM4000 module so that the mounting holes line up with the corresponding holes on the

Page 33 - User’s Manual 27

10 RabbitCore RCM40002.2.3 Connect Programming CableThe programming cable connects the module to the PC running Dynamic C to download programs and to

Page 34 - 28 RabbitCore RCM4000

User’s Manual 112.2.4 Connect PowerOnce all the other connections have been made, you can connect power to the Prototyping Board. Connect the AC adap

Page 35 - User’s Manual 29

12 RabbitCore RCM40002.3 Run a Sample ProgramIf you already have Dynamic C installed, you are now ready to test your programming connections by runni

Page 36 - 4.2 Serial Communication

User’s Manual 132.4 Where Do I Go From Here?If the sample program ran fine, you are now ready to go on to the sample programs in Chapter 3 and to dev

Page 37 - ETHERNET

RabbitCore RCM4000Rabbit Semiconductor2900 Spafford StreetDavis, California 95616-6809USATelephone: (530) 757-8400Fax: (530) 757-8402www.rabbitsemicon

Page 38 - DIAG connector on the

14 RabbitCore RCM4000

Page 39 - 4.3 Programming Cable

User’s Manual 153. RUNNING SAMPLE PROGRAMSTo develop and debug programs for the RCM4000 (and for allother Z-World and Rabbit Semiconductor hardware),

Page 40 - 34 RabbitCore RCM4000

16 RabbitCore RCM40003.2 Sample ProgramsOf the many sample programs included with Dynamic C, several are specific to the RCM4000 modules. These progr

Page 41 - (RCM4000)

User’s Manual 17• LOW_POWER.C—demonstrates how to implement a function in RAM to reduce power consumption by the Rabbit microprocessor. There are four

Page 42 - Conversion starts

18 RabbitCore RCM40003.2.1 Use of NAND Flash (RCM4000 only)The following sample programs can be found in the SAMPLES\RCM4000\NANDFlash folder.• NFLAS

Page 43 - User’s Manual 37

User’s Manual 19As long as you have not modified the TCPCONFIG 1 macro in the sample program, enter the following server address in your Web browser t

Page 44 - 4.5 Other Hardware

20 RabbitCore RCM40003.2.2 Serial CommunicationThe following sample programs are found in the SAMPLES\RCM4000\SERIAL folder.• FLOWCONTROL.C—This prog

Page 45 - 4.6 Memory

User’s Manual 21• SIMPLE5WIRE.C—This program demonstrates 5-wire RS-232 serial communication with flow control on Serial Port D and data flow on Seria

Page 46 - 40 RabbitCore RCM4000

22 RabbitCore RCM40003.2.3 A/D Converter Inputs (RCM4000 only)The following sample programs are found in the SAMPLES\RCM4000\ADC folder.• AD_CAL_CHAN

Page 47 - 5. SOFTWARE REFERENCE

User’s Manual 234. HARDWARE REFERENCEChapter 4 describes the hardware components and principal hardwaresubsystems of the RCM4000. Appendix A, “RCM400

Page 48 - 42 RabbitCore RCM4000

User’s ManualTABLE OF CONTENTSChapter 1. Introduction 11.1 RCM4000 Features...

Page 49 - PACKET.LIB

24 RabbitCore RCM40004.1 RCM4000 Digital Inputs and OutputsFigure 6 shows the RCM4000 pinouts for header J3.Figure 6. RCM4000 PinoutHeaders J3 is a

Page 50 - 44 RabbitCore RCM4000

User’s Manual 25Figure 7 shows the use of the Rabbit 3000 microprocessor ports in the RCM4000 modules.Figure 7. Use of Rabbit 4000 PortsThe ports on

Page 51 - RETURN VALUE

26 RabbitCore RCM4000Table 2. RCM4000 Pinout ConfigurationsPin Pin Name Default Use Alternate Use Notes1 +3.3 V_IN2 GND3 /RES_OUT Reset output Reset

Page 52

User’s Manual 2724 PC0 Input/OutputTXDI/O Strobe I0Timer C0TCLKFSerial Port D25 PC1 Input/OutputRXD/TXDI/O Strobe I1Timer C1RCLKFInput Capture26 PC2 I

Page 53 - User’s Manual 47

28 RabbitCore RCM400033 PE1 Input/OutputI/O Strobe I1A21Timer C1RXD/RCLKFINT1QRD1AInput Capture34 PE2 Input/OutputI/O Strobe I2A22Timer C2TXF/SCLKCDRE

Page 54

User’s Manual 294.1.1 Memory I/O InterfaceThe Rabbit 4000 address lines (A0–A19) and all the data lines (D0–D7) are routed inter-nally to the onboard

Page 55 - PARAMETERS

30 RabbitCore RCM40004.2 Serial CommunicationThe RCM4000 module does not have any serial transceivers directly on the board. How-ever, a serial inter

Page 56 - -1 overflow or out of range

User’s Manual 314.2.2 Ethernet PortFigure 8 shows the pinout for the RJ-45 Ethernet port (J2). Note that some Ethernet con-nectors are numbered in re

Page 57 - SEE ALSO

32 RabbitCore RCM40004.2.3 Programming PortThe RCM4000 is programmed via the 10-pin header labeled J1. The programming port uses the Rabbit 4000’s Se

Page 58 - 52 RabbitCore RCM4000

User’s Manual 334.3 Programming CableThe programming cable is used to connect the programming port of the RCM4000 to a PC serial COM port. The progra

Page 59 - User’s Manual 53

RabbitCore RCM41004.5 Other Hardware...

Page 60 - 54 RabbitCore RCM4000

34 RabbitCore RCM4000A program “runs” in either mode, but can only be downloaded and debugged when the RCM4000 is in the Program Mode.Refer to the Rab

Page 61 - User’s Manual 55

User’s Manual 354.4 A/D Converter (RCM4000 only)The RCM4000 has an onboard ADS7870 A/D converter whose scaling and filtering are done via the motherb

Page 62 - 56 RabbitCore RCM4000

36 RabbitCore RCM4000If a device such as a battery is connected across two channels for a differential measurement, and it is not referenced to analog

Page 63 - PARAMETER

User’s Manual 374.4.1 A/D Converter Power SupplyThe analog section is isolated from digital noise generated by other components by way of a low-pass

Page 64 - 58 RabbitCore RCM4000

38 RabbitCore RCM40004.5 Other Hardware4.5.1 Clock DoublerThe RCM4000 takes advantage of the Rabbit 4000 microprocessor’s internal clock doubler. A

Page 65 - User’s Manual 59

User’s Manual 394.6 Memory4.6.1 SRAMRCM4000 modules have 512K of data SRAM installed at U16.4.6.2 Flash EPROMAll RCM4000 modules also have 512K of

Page 66 - 60 RabbitCore RCM4000

40 RabbitCore RCM4000

Page 67 - 5.3 Upgrading Dynamic C

User’s Manual 415. SOFTWARE REFERENCEDynamic C is an integrated development system for writingembedded software. It runs on an IBM-compatible PC and

Page 68 - 62 RabbitCore RCM4000

42 RabbitCore RCM4000Dynamic C has a number of standard features.• Full-feature source and/or assembly-level debugger, no in-circuit emulator required

Page 69 - 6. USING THE TCP/IP FEATURES

User’s Manual 435.2 Dynamic C Function Calls5.2.1 Digital I/OThe RCM4000 was designed to interface with other systems, and so there are no drivers

Page 70 - 64 RabbitCore RCM4000

User’s ManualB.4.4 Serial Communication...

Page 71 - User’s Manual 65

44 RabbitCore RCM4000The sample code below shows how a protected variable is defined and how its value can be restored.main() { protected int state1

Page 72 - 66 RabbitCore RCM4000

User’s Manual 455.2.4 Prototyping Board FunctionsThe functions described in this section are for use with the Prototyping Board features. The source

Page 73 - User’s Manual 67

46 RabbitCore RCM40005.2.4.2 AlertsPolls the real-time clock until a timeout occurs. The RCM4000 will be in a low-power mode during this time. Once t

Page 74 - 68 RabbitCore RCM4000

User’s Manual 475.2.5 Analog Inputs (RCM4000 only)Use this function to configure the A/D converter. This function will address the A/D converter in R

Page 75 - User’s Manual 69

48 RabbitCore RCM4000PARAMETERSinstructionbyte is the instruction byte that will initiate a read or write operation at 8 or 16 bits on the designated

Page 76 - 70 RabbitCore RCM4000

User’s Manual 49Reads the voltage of an analog input channel by serial-clocking an 8-bit command to the A/D converter by its Direct Mode method. This

Page 77 - User’s Manual 71

50 RabbitCore RCM4000RETURN VALUEA value corresponding to the voltage on the analog input channel:0–2047 for 11-bit conversions (bit 12 for sign)-1 ov

Page 78 - 72 RabbitCore RCM4000

User’s Manual 51Reads the value of an analog input channel using the Direct Mode method of addressing the A/D converter. Note that it takes about 1 se

Page 79

52 RabbitCore RCM4000Calibrates the response of the desired A/D converter channel as a linear function using the two conver-sion points provided. Four

Page 80 - 74 RabbitCore RCM4000

User’s Manual 53value1 is the first A/D converter channel raw count valuevolts1 is the voltage or current corresponding to the first A/D converter cha

Page 82 - 76 RabbitCore RCM4000

54 RabbitCore RCM4000Reads the state of a single-ended analog input channel and uses the previously set calibration constants to convert it to volts.P

Page 83 - User’s Manual 77

User’s Manual 55Reads the state of differential analog input channels and uses the previously set calibration constants to convert it to volts.PARAMET

Page 84 - Please refer to the RCM4000

56 RabbitCore RCM4000Reads the state of an analog input channel and uses the previously set calibration constants to convert it to current.PARAMETERSc

Page 85 - Exclusion

User’s Manual 57Reads the calibration constants, gain, and offset for an input based on their designated position in the flash memory, and places them

Page 86 - 80 RabbitCore RCM4000

58 RabbitCore RCM4000gaincode is the gain code of 0 to 7. The gaincode parameter is ignored when channel is ALLCHAN.RETURN VALUE0 if successful.-1 if

Page 87 - User’s Manual 81

User’s Manual 59Writes the calibration constants, gain, and offset for an input based from global tables _adcCalibS, _adcCalibD, and _adcCalibM to des

Page 88 - A.1.1 A/D Converter

60 RabbitCore RCM4000gaincode is the gain code of 0 to 7. The gaincode parameter is ignored when channel is ALLCHAN.RETURN VALUE0 if successful-1 if a

Page 89 - Footprint

User’s Manual 615.3 Upgrading Dynamic CDynamic C patches that focus on bug fixes are available from time to time. Check the Web sites• www.zworld.com

Page 90 - 84 RabbitCore RCM4000

62 RabbitCore RCM4000

Page 91 - A.4 Bus Loading

User’s Manual 636. USING THE TCP/IP FEATURES6.1 TCP/IP ConnectionsProgramming and development can be done with the RCM4000 without connecting the Et

Page 92 - I/O read and write cycles

User’s Manual 11. INTRODUCTIONThe RCM4000 series of RabbitCore modules is one of the nextgeneration of core modules that take advantage of new Rabbit

Page 93 - User’s Manual 87

64 RabbitCore RCM40001. Connect the AC adapter and the serial programming cable as shown in Chapter 2, “Get-ting Started.”2. Ethernet ConnectionsThere

Page 94 - A.5 Conformal Coating

User’s Manual 656.2 TCP/IP Primer on IP AddressesObtaining IP addresses to interact over an existing, operating, network can involve a num-ber of com

Page 95 - A.6 Jumper Configurations

66 RabbitCore RCM4000If your system administrator can give you an Ethernet cable along with its IP address, the netmask and the gateway address, then

Page 96 - 90 RabbitCore RCM4000

User’s Manual 676.2.1 IP Addresses ExplainedIP (Internet Protocol) addresses are expressed as 4 decimal numbers separated by periods, for example:216

Page 97 - PPENDIX B. PROTOTYPING BOARD

68 RabbitCore RCM40006.2.2 How IP Addresses are UsedThe actual hardware connection via an Ethernet uses Ethernet adapter addresses (also called MAC a

Page 98 - B.1 Introduction

User’s Manual 696.2.3 Dynamically Assigned Internet AddressesIn many instances, devices on a network do not have fixed IP addresses. This is the case

Page 99 - User’s Manual 93

70 RabbitCore RCM40006.3 Placing Your Device on the NetworkIn many corporate settings, users are isolated from the Internet by a firewall and/or a pr

Page 100 - 94 RabbitCore RCM4000

User’s Manual 716.4 Running TCP/IP Sample ProgramsWe have provided a number of sample programs demonstrating various uses of TCP/IP for networking em

Page 101

72 RabbitCore RCM40006.4.1 How to Set IP Addresses in the Sample ProgramsWith the introduction of Dynamic C 7.30 we have taken steps to make it easie

Page 102 - B.3 Power Supply

User’s Manual 736.4.2 How to Set Up your Computer for Direct ConnectFollow these instructions to set up your PC or notebook. Check with your administ

Page 103 - User’s Manual 97

2 RabbitCore RCM40001.1 RCM4000 Features• Small size: 1.84" × 2.42" × 0.77" (47 mm × 61 mm × 20 mm) • Microprocessor: Rabbit 4000 runn

Page 104 - 98 RabbitCore RCM4000

74 RabbitCore RCM40006.5 Run the PINGME.C Sample ProgramConnect the crossover cable from your computer’s Ethernet port to the RCM4000 mod-ule’s RJ-45

Page 105 - Prototyping Board

User’s Manual 756.7 Where Do I Go From Here?NOTE: If you purchased your RCM4000 through a distributor or through a Rabbit Semi-conductor or Z-World p

Page 106 - JP23/JP24

76 RabbitCore RCM4000

Page 107 - User’s Manual 101

User’s Manual 77APPENDIX A. RCM4000 SPECIFICATIONSAppendix A provides the specifications for the RCM4000, anddescribes the conformal coating.

Page 108 - (RCM4100)

78 RabbitCore RCM4000A.1 Electrical and Mechanical CharacteristicsFigure A-1 shows the mechanical dimensions for the RCM4000.Figure A-1. RCM4000 Dim

Page 109 - User’s Manual 103

User’s Manual 79It is recommended that you allow for an “exclusion zone” of 0.04" (1 mm) around the RCM4000 in all directions when the RCM4000 is

Page 110

80 RabbitCore RCM4000Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM4000.Table A-1. RCM4000 SpecificationsPa

Page 111

User’s Manual 81TimersTen 8-bit timers (6 cascadable from the first),one 10-bit timer with 2 match registers, andone 16-bit timer with 4 outputs and 8

Page 112 - 106 RabbitCore RCM4000

82 RabbitCore RCM4000A.1.1 A/D ConverterTable A-2 shows some of the important A/D converter specifications. For more details, refer to the ADC7870 da

Page 113 - User’s Manual 107

User’s Manual 83A.1.2 HeadersThe RCM4000 uses a header at J3 for physical connection to other boards. J3 is a 2 × 25 SMT header with a 1.27 mm pin sp

Page 114 - 108 RabbitCore RCM4000

User’s Manual 31.2 Advantages of the RCM4000• Fast time to market using a fully engineered, “ready-to-run/ready-to-program” micro-processor core.• Co

Page 115 - APPENDIX C. POWER SUPPLY

84 RabbitCore RCM4000A.2 Rabbit 4000 DC CharacteristicsStresses beyond those listed in Table A-3 may cause permanent damage. The ratings are stress r

Page 116 - 165 mA·h

User’s Manual 85A.3 I/O Buffer Sourcing and Sinking LimitUnless otherwise specified, the Rabbit I/O buffers are capable of sourcing and sinking 8 mA

Page 117 - NOTICE TO USERS

86 RabbitCore RCM4000Figure A-4 shows a typical timing diagram for the Rabbit 4000 microprocessor external I/O read and write cycles.Figure A-4. Exte

Page 118 - 112 RabbitCore RCM4000

User’s Manual 87Table A-8 lists the delays in gross memory access time for several values of VDDIO.The measurements are taken at the 50% points under

Page 119 - User’s Manual 113

88 RabbitCore RCM4000A.5 Conformal CoatingThe areas around the 32 kHz real-time clock crystal oscillator have had the Dow Corning silicone-based 1-26

Page 120 - 114 RabbitCore RCM4000

User’s Manual 89A.6 Jumper ConfigurationsFigure A-6 shows the header locations used to configure the various RCM4000 options via jumpers. Figure A-6.

Page 121 - User’s Manual 115

90 RabbitCore RCM4000

Page 122 - 116 RabbitCore RCM4000

User’s Manual 91APPENDIX B. PROTOTYPING BOARDAppendix B describes the features and accessories of the Proto-typing Board, and explains the use of the

Page 123 - SCHEMATICS

92 RabbitCore RCM4000B.1 IntroductionThe Prototyping Board included in the Development Kit makes it easy to connect an RCM4000 module to a power supp

Page 124

User’s Manual 93B.1.1 Prototyping Board Features• Power Connection—A a 3-pin header is provided for connection to the power supply. Note that the 3-p

Commentaires sur ces manuels

Pas de commentaire