RabbitCore RCM4000C-Programmable Analog Core Modulewith EthernetUser’s Manual019–0157 • 060501–A
4 RabbitCore RCM40001.3 Development and Evaluation Tools1.3.1 RCM4000 Development KitThe RCM4000 Development Kit contains the hardware essentials yo
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 ×
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
96 RabbitCore RCM4000Table B-1 lists the electrical, mechanical, and environmental specifications for the Proto-typing Board.B.3 Power SupplyThe RCM4
User’s Manual 97B.4 Using the Prototyping BoardThe Prototyping Board is actually both a demonstration board and a prototyping board. As a demonstrati
98 RabbitCore RCM4000Selected signals from the Rabbit 4000 microprocessor are available on header J2 of the Prototyping Board. The remaining ports on
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
100 RabbitCore RCM4000B.4.3 Analog Features (RCM4000 only)The Prototyping Board has typical support circuitry installed to complement the ADS7870 A/D
User’s Manual 101Many other possible ranges are possible by physically changing the resistor values that make up the attenuator circuit.NOTE: Analog i
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
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
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
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
User’s Manual 105B.5 Prototyping Board Jumper ConfigurationsFigure B-8 shows the header locations used to configure the various Prototyping Board opt
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
User’s Manual 107NOTE: Jumper connections JP3–JP10, JP12, JP14, JP16, JP18, JP23, and JP24 are made using 0 Ω surface-mounted resistors. Jumper connec
108 RabbitCore RCM4000
User’s Manual 109APPENDIX C. POWER SUPPLYAppendix C provides information on the current requirements ofthe RCM4000, and includes some background on t
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
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
112 RabbitCore RCM4000
User’s Manual 113INDEXAA/D converterinputsdifferential measure-ments ...101negative voltages ...101single-ended measure-men
6 RabbitCore RCM4000
114 RabbitCore RCM4000jumper configurationsPrototyping Board (continued)JP12 (PB2/LED DS2) ..106JP13 (LN1 buffer/filter to RCM4000) ...10
User’s Manual 115specifications ... 77A/D converter chip ... 82bus loading ...85digital I/O buffer
116 RabbitCore RCM4000
User’s Manual 117SCHEMATICS090-0227 RCM4000 Schematicwww.rabbit.com/documentation/schemat/090-0227.pdf090-0230 Prototyping Board Schematicwww.rabbit.c
User’s Manual 72. GETTING STARTEDThis chapter describes the RCM4000 hardware in more detail, andexplains how to set up and use the accompanying Proto
8 RabbitCore RCM40002.2 Hardware ConnectionsThere are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs:
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
10 RabbitCore RCM40002.2.3 Connect Programming CableThe programming cable connects the module to the PC running Dynamic C to download programs and to
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
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
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
RabbitCore RCM4000Rabbit Semiconductor2900 Spafford StreetDavis, California 95616-6809USATelephone: (530) 757-8400Fax: (530) 757-8402www.rabbitsemicon
14 RabbitCore RCM4000
User’s Manual 153. RUNNING SAMPLE PROGRAMSTo develop and debug programs for the RCM4000 (and for allother Z-World and Rabbit Semiconductor hardware),
16 RabbitCore RCM40003.2 Sample ProgramsOf the many sample programs included with Dynamic C, several are specific to the RCM4000 modules. These progr
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
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
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
20 RabbitCore RCM40003.2.2 Serial CommunicationThe following sample programs are found in the SAMPLES\RCM4000\SERIAL folder.• FLOWCONTROL.C—This prog
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
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
User’s Manual 234. HARDWARE REFERENCEChapter 4 describes the hardware components and principal hardwaresubsystems of the RCM4000. Appendix A, “RCM400
User’s ManualTABLE OF CONTENTSChapter 1. Introduction 11.1 RCM4000 Features...
24 RabbitCore RCM40004.1 RCM4000 Digital Inputs and OutputsFigure 6 shows the RCM4000 pinouts for header J3.Figure 6. RCM4000 PinoutHeaders J3 is a
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
26 RabbitCore RCM4000Table 2. RCM4000 Pinout ConfigurationsPin Pin Name Default Use Alternate Use Notes1 +3.3 V_IN2 GND3 /RES_OUT Reset output Reset
User’s Manual 2724 PC0 Input/OutputTXDI/O Strobe I0Timer C0TCLKFSerial Port D25 PC1 Input/OutputRXD/TXDI/O Strobe I1Timer C1RCLKFInput Capture26 PC2 I
28 RabbitCore RCM400033 PE1 Input/OutputI/O Strobe I1A21Timer C1RXD/RCLKFINT1QRD1AInput Capture34 PE2 Input/OutputI/O Strobe I2A22Timer C2TXF/SCLKCDRE
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
30 RabbitCore RCM40004.2 Serial CommunicationThe RCM4000 module does not have any serial transceivers directly on the board. How-ever, a serial inter
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
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
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
RabbitCore RCM41004.5 Other Hardware...
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
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
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
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
38 RabbitCore RCM40004.5 Other Hardware4.5.1 Clock DoublerThe RCM4000 takes advantage of the Rabbit 4000 microprocessor’s internal clock doubler. A
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
40 RabbitCore RCM4000
User’s Manual 415. SOFTWARE REFERENCEDynamic C is an integrated development system for writingembedded software. It runs on an IBM-compatible PC and
42 RabbitCore RCM4000Dynamic C has a number of standard features.• Full-feature source and/or assembly-level debugger, no in-circuit emulator required
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
User’s ManualB.4.4 Serial Communication...
44 RabbitCore RCM4000The sample code below shows how a protected variable is defined and how its value can be restored.main() { protected int state1
User’s Manual 455.2.4 Prototyping Board FunctionsThe functions described in this section are for use with the Prototyping Board features. The source
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
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
48 RabbitCore RCM4000PARAMETERSinstructionbyte is the instruction byte that will initiate a read or write operation at 8 or 16 bits on the designated
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
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
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
52 RabbitCore RCM4000Calibrates the response of the desired A/D converter channel as a linear function using the two conver-sion points provided. Four
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
RabbitCore RCM4100
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
User’s Manual 55Reads the state of differential analog input channels and uses the previously set calibration constants to convert it to volts.PARAMET
56 RabbitCore RCM4000Reads the state of an analog input channel and uses the previously set calibration constants to convert it to current.PARAMETERSc
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
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
User’s Manual 59Writes the calibration constants, gain, and offset for an input based from global tables _adcCalibS, _adcCalibD, and _adcCalibM to des
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
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
62 RabbitCore RCM4000
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
User’s Manual 11. INTRODUCTIONThe RCM4000 series of RabbitCore modules is one of the nextgeneration of core modules that take advantage of new Rabbit
64 RabbitCore RCM40001. Connect the AC adapter and the serial programming cable as shown in Chapter 2, “Get-ting Started.”2. Ethernet ConnectionsThere
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
66 RabbitCore RCM4000If your system administrator can give you an Ethernet cable along with its IP address, the netmask and the gateway address, then
User’s Manual 676.2.1 IP Addresses ExplainedIP (Internet Protocol) addresses are expressed as 4 decimal numbers separated by periods, for example:216
68 RabbitCore RCM40006.2.2 How IP Addresses are UsedThe actual hardware connection via an Ethernet uses Ethernet adapter addresses (also called MAC a
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
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
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
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
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
2 RabbitCore RCM40001.1 RCM4000 Features• Small size: 1.84" × 2.42" × 0.77" (47 mm × 61 mm × 20 mm) • Microprocessor: Rabbit 4000 runn
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
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
76 RabbitCore RCM4000
User’s Manual 77APPENDIX A. RCM4000 SPECIFICATIONSAppendix A provides the specifications for the RCM4000, anddescribes the conformal coating.
78 RabbitCore RCM4000A.1 Electrical and Mechanical CharacteristicsFigure A-1 shows the mechanical dimensions for the RCM4000.Figure A-1. RCM4000 Dim
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
80 RabbitCore RCM4000Table A-1 lists the electrical, mechanical, and environmental specifications for the RCM4000.Table A-1. RCM4000 SpecificationsPa
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
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
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
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
84 RabbitCore RCM4000A.2 Rabbit 4000 DC CharacteristicsStresses beyond those listed in Table A-3 may cause permanent damage. The ratings are stress r
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
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
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
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
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.
90 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
92 RabbitCore RCM4000B.1 IntroductionThe Prototyping Board included in the Development Kit makes it easy to connect an RCM4000 module to a power supp
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
Komentáře k této Příručce