Digi RCM4000 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Vernetzung Digi RCM4000 herunter. Digi RCM4000 User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - RabbitCore RCM4000

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

Seite 2 - Trademarks

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

Seite 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 ×

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 22 - 3.2 Sample Programs

112 RabbitCore RCM4000

Seite 23 - 3. Run from RAM

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

Seite 25 - Default gateway : 10.10.6.1

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

Seite 26 - 20 RabbitCore RCM4000

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

Seite 27 - STDIO window

116 RabbitCore RCM4000

Seite 28 - 22 RabbitCore RCM4000

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

Seite 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

Seite 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:

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 37 - ETHERNET

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

Seite 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),

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 47 - 5. SOFTWARE REFERENCE

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

Seite 48 - 42 RabbitCore RCM4000

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 59 - User’s Manual 53

RabbitCore RCM41004.5 Other Hardware...

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 70 - 64 RabbitCore RCM4000

User’s ManualB.4.4 Serial Communication...

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 106 - JP23/JP24

76 RabbitCore RCM4000

Seite 107 - User’s Manual 101

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

Seite 108 - (RCM4100)

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

Seite 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

Seite 110

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

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

Seite 121 - User’s Manual 115

90 RabbitCore RCM4000

Seite 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

Seite 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

Seite 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

Kommentare zu diesen Handbüchern

Keine Kommentare