background image

User’s Manual

1

1.  I

NTRODUCTION

The RCM4200 series of RabbitCore modules is one of the next

generation of core modules that take advantage of new Rabbit

®

4000 features such as hardware DMA, clock speeds of up to
60 MHz, I/O lines shared with up to six serial ports and four
levels of alternate pin functions that include variable-phase
PWM, auxiliary I/O, quadrature decoder, and input capture.
Coupled with more than 500 new opcode instructions that help to
reduce code size and improve processing speed, this equates to a
core module that is fast, efficient, and the ideal solution for a wide
range of embedded applications. The RCM4200 also features an
integrated 10/100Base-T Ethernet port, an A/D converter, and a
serial flash memory for mass storage.

Each production model has a Development Kit with the essentials
that you need to design your own microprocessor-based system,
and includes a complete Dynamic C software development sys-
tem. The Development Kits also contains a Prototyping Board
that will allow you to evaluate the specific RCM4200 module and
to prototype circuits that interface to the module. You will also
be able to write and test software for the RCM4200 modules.

Throughout this manual, the term RCM4200 refers to the complete series of RCM4200 
RabbitCore modules unless other production models are referred to specifically.

The RCM4200 has a Rabbit 4000 microprocessor operating at up to 58.98 MHz, static 
RAM, flash memory, serial flash mass-storage option, an 8-channel A/D converter, two 
clocks (main oscillator and timekeeping), and the circuitry necessary for reset and man-
agement of battery backup of the Rabbit 4000’s internal real-time clock and 512K of static 
RAM. One 50-pin header brings out the Rabbit 4000 I/O bus lines, parallel ports, A/D 
converter channels, and serial ports.

The RCM4200 receives its +3.3 V power from the customer-supplied motherboard on 
which it is mounted. The RCM4200 can interface with all kinds of CMOS-compatible 
digital devices through the motherboard.

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

Страница 1: ...RabbitCore RCM4200 C Programmable Analog Core Module with Serial Flash and Ethernet User s Manual 019 0159 090508 E ...

Страница 2: ...ternational Inc Rabbit 4000 is a trademark of Digi International 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 Digi International Permission is granted to make one or more copies as long as the copyright page contained therein is included These copies of the manuals may not be let or sold for any re...

Страница 3: ...bleshooting 12 2 4 Where Do I Go From Here 13 2 4 1 Technical Support 13 Chapter 3 Running Sample Programs 15 3 1 Introduction 15 3 2 Sample Programs 16 3 2 1 Use of Serial Flash 18 3 2 2 Serial Communication 19 3 2 3 A D Converter Inputs RCM4200 only 22 3 2 3 1 Downloading and Uploading Calibration Constants 23 3 2 4 Real Time Clock 25 Chapter 4 Hardware Reference 27 4 1 RCM4200 Digital Inputs an...

Страница 4: ...s 73 6 2 TCP IP Primer on IP Addresses 75 6 2 1 IP Addresses Explained 77 6 2 2 How IP Addresses are Used 78 6 2 3 Dynamically Assigned Internet Addresses 79 6 3 Placing Your Device on the Network 80 6 4 Running TCP IP Sample Programs 81 6 4 1 How to Set IP Addresses in the Sample Programs 82 6 4 2 How to Set Up your Computer for Direct Connect 83 6 5 Run the PINGME C Sample Program 84 6 6 Running...

Страница 5: ...B 4 3 1 A D Converter Inputs 110 B 4 3 2 Thermistor Input 112 B 4 3 3 A D Converter Calibration 112 B 4 4 Serial Communication 113 B 4 4 1 RS 232 114 B 5 Prototyping Board Jumper Configurations 115 Appendix C Power Supply 119 C 1 Power Supplies 119 C 1 1 Battery Backup 119 C 1 2 Battery Backup Circuit 120 C 1 3 Reset Generator 121 Index 123 Schematics 127 ...

Страница 6: ...RabbitCore RCM4200 ...

Страница 7: ...namic C software development sys tem The Development Kits also contains a Prototyping Board that will allow you to evaluate the specific RCM4200 module and to prototype circuits that interface to the module You will also be able to write and test software for the RCM4200 modules Throughout this manual the term RCM4200 refers to the complete series of RCM4200 RabbitCore modules unless other product...

Страница 8: ...onfigurable as a clocked serial ports SPI and two ports are configurable as SDLC HDLC serial ports Combinations of up to eight single ended or four differential 12 bit analog inputs RCM4200 only Alternate I O bus can be configured for 8 data lines and 6 address lines shared with parallel I O lines I O read write 512K flash memory 512K SRAM and a fixed mass storage flash memory option that may be u...

Страница 9: ...9 MHz Data SRAM 512K Fast Program Execution SRAM 512K Flash Memory program 512K Flash Memory mass data storage 8 Mbytes serial flash 4 Mbytes serial flash A D Converter 12 bits Serial Ports 4 high speed CMOS compatible ports all 4 configurable as asynchro nous with IrDA 4 as clocked serial SPI 1 asynchronous clocked serial port shared with programming port 1 clocked serial port shared with serial ...

Страница 10: ... compared with the alternative of purchasing and assembling individual components Easy C language program development and debugging Rabbit Field Utility to download compiled Dynamic C bin files and cloning board options for rapid production loading of programs Generous memory size allows large programs with tens of thousands of lines of code and substantial data storage ...

Страница 11: ...th 4 40 screws and washers A bag of accessory parts for use on the Prototyping Board Rabbit 4000 Processor Easy Reference poster Registration card Visit our online Rabbit store at www rabbit com store for the latest information on peripherals and accessories that are available for all RCM4200 RabbitCore module models Installing Dynamic C Insert the CD from the Development Kit in your PC s CD ROM d...

Страница 12: ...elephone based technical support module is also available for purchase Visit our Web site at www rabbit com or contact your Rabbit Semiconductor sales representative or authorized distributor for further information 1 3 3 Online Documentation The online documentation is installed along with Dynamic C and an icon for the docu mentation menu is placed on the workstation s desktop Double click this i...

Страница 13: ...nstallation program will guide you through the installation process Most steps of the process are self explanatory Dynamic C uses a COM serial port to communicate with the target development system The installation allows you to choose the COM port that will be used The default selec tion is COM1 You may select any available port for Dynamic C s use If you are not cer tain which port is available ...

Страница 14: ... 41 RX83 RX11 C X 39 UX30 UX10 UX12 UX14 UX16 RX79 C X 29 C X 17 RX67 U X 45 R X 85 GND GND GND 1 R24 R22 R21 R23 CX23 RX77 1 R 27 R 28 JP25 CX25 RX75 RX73 CX27 DS3 S3 S2 DS2 J3 UX49 UX4 UX47 5 V GND 3 3 V RCM1 U 2 RST_OUT IOWR VBAT EXT PA1 PA3 PA5 PA7 PB1 PB3 PB5 PB7 PC1 PC3 PC5 PC7 PE1 PE3 PE5 PE7 PD1 LN1 PD3 LN3 PD5 LN5 PD7 LN7 VREF GND IORD RST_IN PA0 PA2 PA4 PA6 PB0 PB2 PB4 PB6 PC0 PC2 PC4 PC...

Страница 15: ... RX77 1 R27 R28 JP25 CX25 RX75 RX73 CX27 DS3 S3 S2 DS2 J3 UX49 UX4 UX47 5 V GND 3 3 V RCM1 U2 RST_OUT IOWR VBAT EXT PA1 PA3 PA5 PA7 PB1 PB3 PB5 PB7 PC1 PC3 PC5 PC7 PE1 PE3 PE5 PE7 PD1 LN1 PD3 LN3 PD5 LN5 PD7 LN7 VREF GND IORD RST_IN PA0 PA2 PA4 PA6 PB0 PB2 PB4 PB6 PC0 PC2 PC4 PC6 PE0 PE2 PE4 PE6 PD0 LN0 PD2 LN2 PD4 LN4 PD6 LN6 CVT AGND JP24 JP23 C14 C12 C10 C8 C7 C9 C11 C13 R10 R8 R6 R4 R3 R5 R7 R...

Страница 16: ...5 RX75 RX73 CX27 DS3 S3 S2 DS2 J3 UX49 UX4 UX47 5 V GND 3 3 V RCM1 U2 RST_OUT IOWR VBAT EXT PA1 PA3 PA5 PA7 PB1 PB3 PB5 PB7 PC1 PC3 PC5 PC7 PE1 PE3 PE5 PE7 PD1 LN1 PD3 LN3 PD5 LN5 PD7 LN7 VREF GND IORD RST_IN PA0 PA2 PA4 PA6 PB0 PB2 PB4 PB6 PC0 PC2 PC4 PC6 PE0 PE2 PE4 PE6 PD0 LN0 PD2 LN2 PD4 LN4 PD6 LN6 CVT AGND JP24 JP23 C14 C12 C10 C8 C7 C9 C11 C13 R10 R8 R6 R4 R3 R5 R7 R20 R18 R16 R14 R13 R15 R...

Страница 17: ...the plug assembly into the slot at the top of the AC adapter as shown in Figure 4 then press down on the plug until it clicks into place Connect the AC adapter to 3 pin header J1 on the Prototyping Board as shown in Figure 4 above The connector may be attached either way as long as it is not offset to one side the center pin of J1 is always connected to the positive terminal and either edge pin is...

Страница 18: ...on your PC and will dis play a small square bouncing around in a box 2 3 1 Troubleshooting If you receive the message No Rabbit Processor Detected the programming cable may be connected to the wrong COM port a connection may be faulty or the target system may not be powered up First check to see that the power LED on the Prototyping Board is lit If the LED is lit check both ends of the programming...

Страница 19: ...The sample programs can be easily modified for your own use The user s manual also provides complete hardware reference information and software function calls for the RCM4200 series of modules and the Prototyping Board For advanced development topics refer to the Dynamic C User s Manual also in the online documentation set 2 4 1 Technical Support NOTE If you purchased your RCM4200 through a distr...

Страница 20: ...14 RabbitCore RCM4200 ...

Страница 21: ...he Dynamic C User s Manual for a sug gested reading list In order to run the sample programs discussed in this chapter and elsewhere in this manual 1 Your module must be plugged in to the Prototyping Board as described in Chapter 2 Getting Started 2 Dynamic C must be installed and running on your PC 3 The programming cable must connect the programming header on the module to your PC 4 Power must b...

Страница 22: ...n the Dynamic C STDIO window Press 2 or 3 on your keyboard to select LED DS2 or DS3 on the Prototyping Board Then follow the prompt in the Dynamic C STDIO window to turn the LED ON or OFF A logic low will light up the LED you selected FLASHLED1 C demonstrates the use of assembly language to flash LEDs DS2 and DS3 on the Prototyping Board at different rates Once you have compiled and run this progr...

Страница 23: ...n continuously Notice that the LEDs will stay on even when you press the reset button on the Prototyping Board Reconnect the programming cable briefly and unplug it again to simulate an attempt to access the onchip encryption RAM The LEDs will be flashing because the battery backed onchip encryption RAM has been erased Notice that the LEDs will continue flashing even when you press the reset butto...

Страница 24: ...onnection on the Advanced tab which is accessed from the control panel Start Settings Control Panel by choosing Network Connections SFLASH_INSPECT C This program is a handy utility for inspecting the contents of a serial flash chip When the sample program starts running it attempts to initialize a serial flash chip on Serial Port C Once a serial flash chip is found the user can perform five differ...

Страница 25: ...repeatedly sending byte values 0 127 from Serial Port C to Serial Port D The program will switch between generating parity or not on Serial Port C Serial Port D will always be checking parity so parity errors should occur during every other sequence To set up the Prototyping Board you will need to tie TxC and RxD together on the RS 232 header at J4 using one of the jumpers supplied in the Developm...

Страница 26: ...to RxD If you have two Prototyping Boards with modules run this sample program on the sending board then disconnect the programming cable and reset the sending board so that the module is operating in the Run mode Connect TxC TxD and GND on the sending board to RxC RxD and GND on the other board then with the programming cable attached to the other module run the sample program Once you have compi...

Страница 27: ...als are available on the Prototyping Board s RS 232 connector header J4 Serial Port D transmits and then receives an ASCII string when switch S3 is pressed Also note that there is one library generated by IOCONFIG EXE in the Dynamic C SAMPLES RCM4200 SERIAL folder for the 29 MHz RCM4210 To set up the Prototyping Board you will need to tie TxD and RxD together on the RS 232 header at J4 using the j...

Страница 28: ... used with this sample program NOTE The above sample program will overwrite the existing calibration constants for the selected channel AD_RDVOLT_ALL C Demonstrates how to read all single ended A D input channels using previously defined calibration constants The constants used to compute equivalent voltages are read from the user block data area so the sample program cannot be run using the Code ...

Страница 29: ... need to connect the RS 232 header at J4 to your PC as shown in the diagram using the serial to DB9 cable supplied in the Development Kit DNLOADCALIB C Demonstrates how to retrieve analog calibration data to rewrite it back to the user block using a terminal emulation utility such as Tera Term Start Tera Term or another terminal emulation program on your PC and configure the serial parameters as f...

Страница 30: ... Local Echo option Feed options Receive CR Transmit CR LF Enable the File APPEND option at the bottom of the dialog box Select the OPEN option at the right hand side of the dialog box Serial port transmission Uploading calibration table Enter the serial number of your controller 9MN234 SN9MN234 ADSE 0 float_gain float_offset float_gain float_offset float_gain float_offset float_gain float_offset f...

Страница 31: ... you will need to set the real time clock Set the real time clock using the SETRTCKB C sample program from the Dynamic C SAMPLES RTCLOCK folder using the onscreen prompts The RTC_TEST C sample program in the Dynamic C SAMPLES RTCLOCK folder provides additional examples of how to read and set the real time clock ...

Страница 32: ...26 RabbitCore RCM4200 ...

Страница 33: ...te physical and electrical specifications Figure 5 shows the Rabbit based subsystems designed into the RCM4200 Figure 5 RCM4200 Subsystems 32 kHz osc RabbitCore Module RABBIT 4000 CMOS level signals RS 232 RS 485 serial communication drivers on motherboard Customer specific applications Level converter Ethernet A D Converter SRAM Serial Flash Program Flash Fast SRAM 58 98 MHz osc ...

Страница 34: ...te These pinouts are as seen on the Bottom Side of the module 3 3 V_IN RESET_OUT IOWR VBAT_EXT PA1 PA3 PA5 PA7 PB1_SCLKA PB3 PB5 PB7 PC1 PC3_RxC PC5_RxB PC7_RxA PE1 PE3 PE5 SMODE0 PE7 STATUS PD1 LN1 PD3 LN3 PD5 LN5 PD7 LN7 VREF GND IORD RESET_IN PA0 PA2 PA4 PA6 PB0_SCLKB PB2 PB4 PB6 PC0 PC2_TxC PC4_TxB PC6_TxA PE0 PE2_ENET_EN PE4 PE6 SMODE1 PD0 LN0 PD2 LN2 PD4 LN4 PD6 LN6 CONVERT GND J2 n c not co...

Страница 35: ...Table 2 lists the Rabbit 4000 factory defaults and the alternate configurations RABBIT 4000 Port A Port B Port D RCM4210 only Port E PA0 PA7 PB2 PB7 PE0 PE7 PD0 PD7 Watchdog 11 Timers Clock Doubler Slave Port Real Time Clock RAM Backup Battery Support Flash Misc I O PC4 PC5 Port C Serial Ports C D Programming Port Serial Port A A D Converter Serial Port B PB1 PC6 STATUS PC0 PC2 PC1 PC3 Serial Port...

Страница 36: ...ut 8 15 PA 0 7 Input Output Slave port data bus SD0 SD7 External I O data bus ID0 ID7 16 PB0 Input Output SCLKB External I O Address IA6 SCLKB usedbyRCM4200 A D converter see Section 4 2 1 17 PB1 Input Output SCLKA External I O Address IA7 Programming port CLKA 18 PB2 Input Output SWR External I O Address IA0 19 PB3 Input Output SRD External I O Address IA1 20 PB4 Input Output SA0 External I O Add...

Страница 37: ... I3 Timer C3 SCLKD Input Capture 28 PC4 Input Output TXB I O Strobe I4 PWM0 TCLKE Serial Port B shared by RCM4200 A D converter 29 PC5 Input Output RXB TXB I O Strobe I5 PWM1 RCLKE Input Capture 30 PC6 Input Output TXA TXE I O Strobe I6 PWM2 Programming port 31 PC7 Input Output RXA TXA RXE I O Strobe I7 PWM3 SCLKC Input Capture 32 PE0 Input Output I O Strobe I0 A20 Timer C0 TCLKF INT0 QRD1B Table ...

Страница 38: ...ture 36 PE4 Input Output I O Strobe I4 A0 INT0 PWM0 TCLKE 37 PE5 SMODE0 Input Output I O Strobe I5 INT1 PWM1 RXB RCLKE Input Capture PE5 is the default configuration 38 PE6 SMODE1 Input Output I O Strobe I6 PWM2 TXE DREQ0 PE6 is the default configuration 39 PE7 STATUS Input Output I O Strobe I7 PWM3 RXA RXE SCLKC DREQ1 Input Capture PE7 SCLKC is the default configuration Table 2 RCM4200 Pinout Con...

Страница 39: ...A Input Capture 42 PD2 Input Output I O Strobe I2 Timer C2 D10 DREQ0 TXF SCLKC QRD2B SCLKC see Section 4 2 1 43 PD3 Input Output IA7 I O Strobe I3 Timer C3 D11 DREQ1 RXC RXF QRD2A Input Capture RCM4210 only 44 PD4 Input Output I O Strobe I4 D12 PWM0 TXB TCLKE 45 PD5 Input Output IA6 I O Strobe I5 D13 PWM1 RXB RCLKE Input Capture Table 2 RCM4200 Pinout Configurations continued Pin Pin Name Default ...

Страница 40: ...e used for input capture quadrature decoder DMA and pulse width modulator purposes 4 1 2 Other Inputs and Outputs The PE5 PE7 pins can be brought out to header J2 instead of the STATUS and the two SMODE pins SMODE0 and SMODE1 as explained in Appendix A 6 RESET_IN is normally associated with the programming port but may be used as an external input to reset the Rabbit 4000 microprocessor and the RC...

Страница 41: ... port in the asynchronous mode Serial Port B is available without any restrictions on the RCM4210 Serial Port C is shared with the serial flash and is set up as a clocked serial port PE7 is set up to provide the SCLKC output to the serial flash but PD2 also provides the SCLKC ouput automatically when Serial Port C is used as a clocked serial port Since this serial port is available for synchronous...

Страница 42: ...resistor on your motherboard or use a receiver that incorporates the circuits to have the output default to the nonbreak levels The Dynamic C RS232 LIB library requires you to define the macro RS232_ NOCHARASSYINBRK to inhibit break character assembly for all the serial ports define RS232_NOCHARASSYINBRK This macro is already defined so that it is the default behavior for the sample programs in th...

Страница 43: ... Ethernet jack one to indicate Ethernet link activity LINK ACT one to indicate when the RCM4200 is connected to a functioning 100Base T network SPEED and one FDX COL to indicate that the current connection is in full duplex mode steady on or that a half duplex connection is experiencing collisions blinks The RJ 45 connector is shielded to minimize EMI effects to from the Ethernet signals ETHERNET ...

Страница 44: ...rogramming port may also be used as a serial port via the DIAG connector on the programming cable In addition to Serial Port A the Rabbit 4000 startup mode SMODE0 SMODE1 STATUS and reset pins are available on the programming port The two startup mode pins determine what happens after a reset the Rabbit 4000 is either cold booted or the program begins executing at address 0x0000 The status pin is u...

Страница 45: ...0 UX10 UX12 UX14 UX16 RX79 CX29 CX17 RX67 UX45 RX85 GND GND GND 1 R24 R22 R21 R23 CX23 RX77 1 R27 R28 JP25 CX25 RX75 RX73 CX27 DS3 S3 S2 DS2 J3 UX49 UX4 UX47 5 V GND 3 3 V RCM1 U2 RST_OUT IOWR VBAT EXT PA1 PA3 PA5 PA7 PB1 PB3 PB5 PB7 PC1 PC3 PC5 PC7 PE1 PE3 PE5 PE7 PD1 LN1 PD3 LN3 PD5 LN5 PD7 LN7 VREF GND IORD RST_IN PA0 PA2 PA4 PA6 PB0 PB2 PB4 PB6 PC0 PC2 PC4 PC6 PE0 PE2 PE4 PE6 PD0 LN0 PD2 LN2 P...

Страница 46: ...g connector and reset the RCM4200 The RCM4200 may be reset by cycling the power off on or by pressing the RESET button on the Prototyping Board The RCM4200 module may now be removed from the Prototyping Board for end use installa tion CAUTION Power to the Prototyping Board or other boards should be disconnected when removing or installing your RCM4200 module to protect against inadvertent shorts a...

Страница 47: ...t at the expense of a higher current draw The R0 resistors would then be 180 kΩ to 900 kΩ for a 10 1 attenuator The capacitor filters noise pulses on the A D converter input The actual voltage range for a signal going to the A D converter input is also affected by the 1 2 4 5 8 10 16 and 20 V V software programmable gains available on each channel of the ADS7870 A D converter Thus you must scale t...

Страница 48: ... limited output current capability The internal buffer can source up to 20 mA and sink only up to 200 µA Use a separate buffer amplifier if you need to supply any load current The A D converter s CONVERT pin is available on pin 48 of header J2 and can be used as a hardware means of forcing the A D converter to start a conversion cycle at a specific time The CONVERT signal is an edge triggered even...

Страница 49: ...is isolated from digital noise generated by other components by way of a low pass filter composed of C1 L1 and C86 on the RCM4200 as shown in Figure 13 The V analog power supply powers the A D converter chip Figure 13 Analog Supply Circuit V 3 3 V C1 100 nF C86 100 nF L1 ...

Страница 50: ... 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 clock doubler The clock doubler is enabled by default and usually no entry is needed If you need to specify that the clock doubler is always enabled add the line CLOCK_DOUBLED 1 to always enable the clock doubler 3...

Страница 51: ... of the flash EPROM since it may be necessary to change the sector size in the future Writing to arbitrary flash memory addresses at run time is discouraged Instead define a user block area to store persistent data The functions writeUserBlock and readUserBlock are provided for this Refer to the Rabbit 4000 Microprocessor Designer s Handbook for additional information 4 6 3 Serial Flash Up to 8 Mb...

Страница 52: ...46 RabbitCore RCM4200 ...

Страница 53: ...tery backed data SRAM on the RCM4200 module but should be run from the fast SRAM after the serial programming cable is disconnected Your final code must always be stored in flash memory for reliable operation RCM4200 modules have a fast program execution SRAM that is not battery backed Select Code and BIOS in Flash Run in RAM from the Dynamic C Options Project Options Compiler menu to store the co...

Страница 54: ...rd debugging features X Breakpoints Set breakpoints that can disable interrupts X Single stepping Step into or over functions at a source or machine code level µC OS II aware X Code disassembly The disassembly window displays addresses opcodes mnemonics and machine cycle times Switch between debugging at machine code level and source code level by simply opening or closing the disassembly window X...

Страница 55: ...de blocking functions which do not return until they are finished transmitting or receiving and nonblocking functions which must be called repeatedly until they are fin ished allowing other functions to be performed between calls For more information see the Dynamic C Function Reference Manual and Technical Note TN213 Rabbit Serial Port Software 5 2 3 User Block Certain function calls involve read...

Страница 56: ...otected int state1 state2 state3 _sysIsSoftReset restore any protected variables The bbram keyword may also be used instead if there is a need to store a variable in battery backed SRAM without affecting the performance of the application program Data integrity is not assured when a reset or power failure occurs during the update process Additional information on bbram and protected variables is a...

Страница 57: ...a master for cloning To develop and debug an application on an RCM4200 comment out the CL_FORCE_MASTER_MODE macro or set it to 0 NOTE Instead of defining this macro is your application you may simply add the line CL_FORCE_MASTER_MODE 1 under the Dynamic C Options Project Options Defines tab then click OK When you recompile your program this will have the same effect as setting the macro to 1 withi...

Страница 58: ...le to all devices based on Rabbit microprocessors are described in the Dynamic C Function Reference Manual 5 2 7 1 Board Initialization brdInit void brdInit void DESCRIPTION Call this function at the beginning of your program This function initializes Parallel Ports A through E for use with the Prototyping Board and on the RCM4200 model loads the stored calibration constants for the A D converter ...

Страница 59: ...imeout in seconds RETURN VALUE None digInAlert void digInAlert int dataport int portbit int value unsigned long timeout DESCRIPTION Polls a digital input for a set value or until a timeout occurs The RCM4400W will be in a low power mode during this time Once a timeout occurs or the correct byte is received this function call will enable the normal power source and exit PARAMETERS dataport the inpu...

Страница 60: ...870 Signal ADS7870 State RCM4200 Function State LN0 Input AIN0 LN1 Input AIN1 LN2 Input AIN2 LN3 Input AIN3 LN4 Input AIN4 LN5 Input AIN5 LN6 Input AIN6 LN7 Input AIN7 RESET Input Board reset device RISE FALL Input Pulled up for SCLK active on rising edge I O0 Input Pulled down I O1 Input Pulled down I O2 Input Pulled down I O3 Input Pulled down CONVERT Input Pulled down when not driven BUSY Outpu...

Страница 61: ...gisters addressed by the in struction byte Enter 0 if you are performing a read operation For example i anaInConfig 0x07 0x3b 0 write ref osc reg and enable brate the serial clock transfer rate of 9600 to 115 200 bytes per second brate must be set the first time this function is called Enter 0 for this parameter thereafter for example anaInConfig 0x00 0x00 9600 resets device and sets byte rate RET...

Страница 62: ...nabled See anaIn Config for the setup The conversion begins immediately after the last data bit has been transferred An ex ception error will occur if Direct Mode bit D7 is not set An exception error will occur if Direct Mode bit D7 is not set PARAMETERS cmd contains a gain code and a channel code as follows D7 1 D6 D4 Gain Code D3 D0 Channel Code Use the following calculation and the tables below...

Страница 63: ...OW 4096 for overflow or out of range SEE ALSO anaInConfig anaIn brdInit Channel Code Differential Input Lines Channel Code Single Ended Input Lines Negative input is ground 4 20 mA Lines 0 AIN0 AIN1 8 AIN0 AIN0 1 AIN2 AIN3 9 AIN1 AIN1 2 AIN4 AIN5 10 AIN2 AIN2 3 Not accessible on Prototyping Board AIN6 AIN7 11 AIN3 AIN3 4 AIN0 AIN1 12 AIN4 AIN4 5 AIN2 AIN3 13 AIN5 AIN5 6 AIN4 AIN5 14 AIN6 AIN6 7 No...

Страница 64: ...umber 0 to 7 corresponding to LN0 to LN7 opmode the mode of operation SINGLE single ended input DIFF differential input mAMP 4 20 mA input gaincode the gain code of 0 to 7 applies only to Prototyping Board channel SINGLE DIFF mAMP 0 AIN0 AIN0 AIN1 AIN0 Not accessible on Prototyping Board 1 AIN1 AIN1 AIN0 AIN1 2 AIN2 AIN2 AIN3 AIN2 3 AIN3 AIN3 AIN2 AIN3 4 AIN4 AIN4 AIN5 AIN4 5 AIN5 AIN5 AIN4 AIN5 6...

Страница 65: ... to the voltage on the analog input channel 0 2047 for single ended conversions 2048 2047 for differential conversions ADTIMEOUT 4095 if the conversion is incomplete or busy bit timeout ADOVERFLOW 4096 for overflow or out of range SEE ALSO anaIn anaInConfig anaInDriver ...

Страница 66: ...adcCalibM to be later stored into simulat ed EEPROM using the function anaInEEWr Each channel will have a linear con stant and a voltage offset PARAMETERS channel the channel number 0 to 7 corresponding to LN0 to LN7 opmode the mode of operation SINGLE single ended input DIFF differential input mAMP 4 20 mA input channel SINGLE DIFF mAMP 0 AIN0 AIN0 AIN1 AIN0 Not accessible on Prototyping Board 1 ...

Страница 67: ...0 V or 4 to 20 mA value2 the second A D converter channel raw count value 0 2047 volts2 the voltage or current corresponding to the first A D converter channel value 0 to 20 V or 4 to 20 mA RETURN VALUE 0 if successful 1 if not able to make calibration constants SEE ALSO anaIn anaInVolts anaInmAmps anaInDiff anaInCalib brdInit Gain Code Gain Multiplier Voltage Range V 0 1 0 22 5 1 2 0 11 25 2 4 0 ...

Страница 68: ...o LN0 to LN7 gaincode the gain code of 0 to 7 applies only to Prototyping Board Channel Code Single Ended Input Lines Negative input is ground Voltage Range V Applies to Prototyping Board 0 AIN0 0 22 5 1 AIN1 0 22 5 2 AIN2 0 22 5 3 AIN3 0 22 5 4 AIN4 0 22 5 5 AIN5 0 22 5 6 AIN6 0 22 5 7 AIN7 0 2 Used for thermistor in sample program Gain Code Gain Multiplier Voltage Range V Applies to Prototyping ...

Страница 69: ...ETURN VALUE A voltage value corresponding to the voltage on the analog input channel ADTIMEOUT 4095 if the conversion is incomplete or busy bit timeout ADOVERFLOW 4096 for overflow or out of range SEE ALSO anaInCalib anaIn anaInmAmps brdInit ...

Страница 70: ...l number 0 to 7 corresponding to LN0 to LN7 gaincode the gain code of 0 to 7 applies only to Prototyping Board channel DIFF Voltage Range V 0 AIN0 AIN1 22 5 to 22 5 Accessible on Prototyping Board 1 AIN1 AIN1 2 AIN2 AIN3 22 5 to 22 5 3 AIN3 AIN3 4 AIN4 AIN5 22 5 to 22 5 5 AIN5 AIN5 6 AIN6 AIN7 7 AIN7 AIN7 Gain Code Gain Multiplier Voltage Range V 0 1 22 5 22 5 1 2 11 25 11 25 2 4 5 6 5 6 3 5 4 5 4...

Страница 71: ...ALUE A voltage value corresponding to the voltage differential on the analog input channel ADTIMEOUT 4095 if the conversion is incomplete or busy bit timeout ADOVERFLOW 4096 for overflow or out of range SEE ALSO anaInCalib anaIn anaInmAmps brdInit ...

Страница 72: ...r 0 to 7 corresponding to LN0 to LN7 RETURN VALUE A current value between 4 00 and 20 00 mA corresponding to the current on the analog input channel ADTIMEOUT 4095 if the conversion is incomplete or busy bit timeout ADOVERFLOW 4096 for overflow or out of range SEE ALSO anaInCalib anaIn anaInVolts Channel Code 4 20 mA Input Lines Negative input is ground 0 AIN0 1 AIN1 2 AIN2 3 AIN3 Applies to Proto...

Страница 73: ...tart of single ended analog input channels ADC_CALIB_ADDRD address start of differential analog input channels ADC_CALIB_ADDRM address start of milliamp analog input channels NOTE This function cannot be run in RAM PARAMETER channel the channel number 0 to 7 corresponding to LN0 to LN7 opmode the mode of operation SINGLE single ended input DIFF differential input mAMP 4 20 mA input channel SINGLE ...

Страница 74: ...er is ignored when channel is ALLCHAN RETURN VALUE 0 if successful 1 if address is invalid or out of range SEE ALSO anaInEEWr anaInCalib Gain Code Gain Multiplier Voltage Range V Applies to Prototyping Board 0 1 0 22 5 1 2 0 11 25 2 4 0 5 6 3 5 0 4 5 4 8 0 2 8 5 10 0 2 25 6 16 0 1 41 7 20 0 1 126 ...

Страница 75: ...g input channels ADC_CALIB_ADDRD address start of differential analog input channels ADC_CALIB_ADDRM address start of milliamp analog input channels NOTE This function cannot be run in RAM PARAMETER channel the channel number 0 to 7 corresponding to LN0 to LN7 opmode the mode of operation SINGLE single ended input DIFF differential input mAMP 4 20 mA input channel SINGLE DIFF mAMP 0 AIN0 AIN0 AIN1...

Страница 76: ...er is ignored when channel is ALLCHAN RETURN VALUE 0 if successful 1 if address is invalid or out of range SEE ALSO anaInEEWr anaInCalib Gain Code Gain Multiplier Voltage Range V Applies to Prototyping Board 0 1 0 22 5 1 2 0 11 25 2 4 0 5 6 3 5 0 4 5 4 8 0 2 8 5 10 0 2 25 6 16 0 1 41 7 20 0 1 126 ...

Страница 77: ...pular µC OS II real time operating system as well as PPP Advanced Encryption Standard AES FAT file system Rabbit Web and other select libraries NOTE Version 2 10 or later of the Dynamic C FAT file system module is required for the RCM4200 modules Each Dynamic C add on module has complete documentation and sample programs to illustrate the functionality of the software calls in the module Visit our...

Страница 78: ...72 RabbitCore RCM4200 ...

Страница 79: ... at least a 10Base T Ethernet card available from your favorite computer supplier installed in a PC Two RJ 45 straight through Ethernet cables and a hub or an RJ 45 crossover Ethernet cable Figure 14 shows how to identify the two Ethernet cables based on the wires in the trans parent RJ 45 connectors Figure 14 How to Identify Straight Through and Crossover Ethernet Cables Ethernet cables and a 10B...

Страница 80: ...et 10Base T hub and connect both the PC s network interface card and the RCM4200 module s Ethernet port to it using standard network cables The following options require more care in address selection and testing actions as conflicts with other users servers and systems can occur LAN Connect the RCM4200 module s Ethernet port to an existing LAN preferably one to which the development PC is already...

Страница 81: ...e network A similar situation will take place if you use 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 networks and are not allowed on the Internet 10 0 0 0 to 10 255 255 255 172 16 0 0 to 172 31 255 255 and 192 168 0 0 to 192 168 255 255 The RCM4200 u...

Страница 82: ...to run the sample programs with out having to setup a direct connection between your computer and the RCM4200 You will also need the IP address of the nameserver the name or IP address of your mail server and your domain name for some of the sample programs Hub s Firewall Proxy Server T1 in Adapter Ethernet Ethernet Network RCM4200 System Typical Corporate Network ...

Страница 83: ...the same form as the IP address An 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 103 126 155 this netmask would indicate that the following IP addresses belong to the local network 216 103 126 0 216 103 126 1 216 103 126 2 etc 216 103 126 254 216 103...

Страница 84: ...ice 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 inoperative and the packet cannot be sent Some IP address ranges are reserved for use on internal networks and can be allocated freely as long as no two internal hosts have the same IP address These internal IP addresses are not routed t...

Страница 85: ...ddresses can be used to perform some Internet tasks such as sending e mail or browsing the Web but it is more difficult to participate in conversations that originate elsewhere on the Internet If you want to find out this dynamically assigned IP address under Windows NT or later you can run the ipconfig command Start Run cmd while you are connected and look at the interface used to connect to the ...

Страница 86: ...d usually work by disallowing traffic that did not originate from inside the net work If you want users on the Internet to communicate with your RCM4200 you have several options You can either place the RCM4200 directly on the Internet with a real Internet address or place it behind the firewall If you place the RCM4200 behind the fire wall you need to configure the firewall to translate and forwa...

Страница 87: ...you to connect your PC and the RCM4200 module 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 User s PC Ethernet crossover cable Direct Connection network of 2 computers Hub Ethernet cables To additional network elements Direct Connection Using a Hub RCM4200 System RCM4200 System ...

Страница 88: ...to 255 255 255 0 and the nameserver and gateway to 10 10 6 1 If you would like to change the default values for example to use an IP address of 10 1 1 2 for the RCM4200 module and 10 1 1 1 for your PC you can edit the values in the section that directly follows the General Configuration com ment in the TCP_CONFIG LIB library You will find this library in the LIB TCPIP directory 3 You can create a ...

Страница 89: ...twork interface card used for the Ethernet interface you intend to use e g TCP IP Xircom Credit Card Network Adapter and click on the Properties button Depending on which version of Windows your PC is running you may have to select the Local Area Connection first and then click on the Properties button to bring up the Ethernet interface dialog Then Configure your interface card for a 10Base T Half...

Страница 90: ...imes and write a summary message on the screen describing the operation 6 6 Running Additional Sample Programs With Direct Connect The following sample programs are in the Dynamic C SAMPLES RCM4200 TCPIP folder BROWSELED C This program demonstrates a basic controller running a Web page Two device LEDs are created along with two buttons to toggle them Users can use their Web browser to change the s...

Страница 91: ...abbit Semiconductor Technical Bulletin Board and forums at www rabbit com support bb and at www rabbit com forums Use the Technical Support e mail form at www rabbit com support If the sample programs ran fine you are now ready to go on Additional sample programs are described in the Dynamic C TCP IP User s Manual Please refer to the Dynamic C TCP IP User s Manual to develop your own applications ...

Страница 92: ...86 RabbitCore RCM4200 ...

Страница 93: ...User s Manual 87 APPENDIX A RCM4200 SPECIFICATIONS Appendix A provides the specifications for the RCM4200 and describes the conformal coating ...

Страница 94: ...C58 C67 C88 J3 JP11 JP10 JP12 JP1 JP2 JP9 JP6 JP7 JP3 JP5 JP4 C3 C2 C17 C16 R6 R8 R46 R45 R43 R44 R39 R42 U1 R7 C1 C86 L1 C74 U15 C75 R40 R41 JP14 JP15 JP13 U14 C85 C78 L7 C72 C65 C87 C57 U13 R34 R35 R33 R32 Q3 C77 C5 Y4 R14 R12 U4 C24 JP16 R13 DS1 LINK SPEED FDX DS2 DS3 R47 R48 R49 C33 C32 C31 R50 C26 R52 C25 C19 R4 C20 C18 U3 Q1 C7 R36 R29 C8 C9 C10 C6 C11 C12 JP8 C15 R27 R11 R16 Y2 U2 R9 C13 C1...

Страница 95: ...is incorporated into an assembly that includes other printed circuit boards An exclusion zone of 0 08 2 mm is recom mended below the RCM4200 when the RCM4200 is plugged into another assembly Figure A 2 shows this exclusion zone Figure A 2 RCM4200 Exclusion Zone J3 Exclusion Zone 1 84 47 0 58 15 0 58 15 2 50 63 1 92 49 0 08 2 0 08 2 2 42 61 ...

Страница 96: ... mode reset in CONVERT 2 startup mode reset in Additional Outputs Status reset out analog VREF Status reset out Analog Inputs 8 channels single ended or 4 channels differential Programmable gain 1 2 4 5 8 10 16 and 20 V V A D Converter Resolution 12 bits 11 bits single ended A D Conversion Time including 120 µs raw 180 µs Auxiliary I O Bus Can be configured for 8 data lines and 6 address lines sha...

Страница 97: ...unter 4 channels variable phase or syn chronized PWM with 16 bit counter Input Capture 2 input capture channels can be used to time input signals from various port pins Quadrature Decoder 1 quadrature decoder channel accepts inputs from external incremental encoder modules 2 quadrature decoder channels accept inputs from external incremental encoder modules Power pins unloaded 3 0 3 6 V DC 240 mA ...

Страница 98: ...Characteristics Input Capacitance Input Impedance Common Mode Differential Mode 4 9 7 pF 6 MΩ 7 MΩ Static Accuracy Resolution Single Ended Mode Differential Mode Integral Linearity Differential Linearity 11 bits 12 bits 1 LSB 0 5 LSB 2 5 LSB Dynamic Characteristics Throughput Rate 52 ksamples s Voltage Reference Accuracy Buffer Amp Source Current Buffer Amp Sink Current Short Circuit Current Vref ...

Страница 99: ...amming port is a 2 5 header with a 1 27 mm pin spacing Figure A 3 shows the layout of another board for the RCM4200 to be plugged into These reference design values are relative to one of the mounting holes Figure A 3 User Board Footprint for RCM4200 J2 RCM4200 Series Footprint J1 0 050 1 27 0 875 22 2 0 016 0 4 sq 0 284 7 2 0 334 8 5 0 72 18 0 62 16 0 91 23 0 19 5 ...

Страница 100: ...e from TA 40 C to 85 C VDDIO 3 0 V to 3 6 V Table A 3 Rabbit 4000 Absolute Maximum Ratings Symbol Parameter Maximum Rating TA Operating Temperature 40 to 85 C TS Storage Temperature 55 to 125 C VIH Maximum Input Voltage VDDIO 0 3 V max 3 6 V VDDIO Maximum Operating Voltage 3 6 V Table A 4 3 3 Volt DC Characteristics Symbol Parameter Min Typ Max VDDIO I O Ring Supply Voltage 3 3 V 3 0 V 3 3 V 3 6 V...

Страница 101: ...ces Table A 5 lists the capacitance for the various RCM4200 I O ports Table A 6 lists the external capacitive bus loading for the various RCM4200 output ports Be 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 6 Table A 7 lists the loadings for the A D converter inputs Table A 5 Capacitance of Rabbit 4000 I O Ports ...

Страница 102: ... NOTE IOCSx can be programmed to be active low default or active high Tadr Tadr External I O Read no extra wait states CLK A 15 0 External I O Write no extra wait states CLK A 15 0 IORD valid T1 Tw T1 Tw T2 valid T2 BUFEN IOCSx IOWR BUFEN D 7 0 valid Tsetup Thold CSx IOCSx TCSx TIOCSx TIORD TBUFEN TCSx TIOCSx TIORD TBUFEN valid D 7 0 CSx TCSx TIOCSx TIOWR TCSx TIOCSx TIOWR TBUFEN TBUFEN TDHZV TDVH...

Страница 103: ...trum spreader is enabled with the clock doubler every other clock cycle is shortened sometimes lengthened by a maximum amount given in the table above The shortening takes place by shortening the high part of the clock If the doubler is not enabled then every clock is shortened during the low part of the clock period The maxi mum shortening for a pair of clocks combined is shown in the table Techn...

Страница 104: ... then be applied to offer continuing protection against the effects of moisture and contaminants NOTE For more information on conformal coatings refer to Technical Note 303 Con formal Coatings Conformally coated area C43 L2 3 4 1 Y3 C82 R5 R2 J1 C76 R3 R51 R31 R20 C81 C58 C67 C88 J3 JP11 JP10 JP12 JP1 JP2 JP9 JP6 JP7 JP3 JP5 JP4 C3 C2 C17 C16 R6 R8 R46 R45 R43 R44 R39 R42 U1 R7 C1 C86 L1 C74 U15 C...

Страница 105: ... Description Pins Connected Factory Default JP1 LN0 or PD0 on J2 pin 40 1 2 LN0 RCM4200 2 3 PD0 RCM4210 JP2 LN2 or PD2 on J2 pin 42 1 2 LN2 RCM4200 2 3 PD2 RCM4210 JP3 LN6 or PD6 on J2 pin 46 1 2 LN6 RCM4200 2 3 PD6 RCM4210 JP4 LN7 or PD7 on J2 pin 47 1 2 LN7 RCM4200 2 3 PD7 RCM4210 JP5 LN5 or PD5 on J2 pin 45 1 2 LN5 RCM4200 2 3 PD5 RCM4210 JP6 LN4 or PD4 on J2 pin 44 1 2 LN4 RCM4200 2 3 PD4 RCM4...

Страница 106: ... J2 pin 39 1 2 PE7 2 3 STATUS JP13 Clocked Synchronous or Programmed I O Access to Serial Flash 1 2 RxC to Serial Flash 2 3 Programmed I O to Serial Flash JP14 Clocked Synchronous or Programmed I O Access to Serial Flash 1 2 TxC to Serial Flash 2 3 Programmed I O to Serial Flash JP15 Clocked Synchronous or Programmed I O Access to Serial Flash 1 2 SCLKC to Serial Flash 2 3 Programmed I O to Serial...

Страница 107: ...ng Board and explains the use of the Prototyping Board to demonstrate the RCM4200 and to build prototypes of your own circuits The Prototyping Board has power supply connections and also provides some basic I O peripherals RS 232 LEDs and switches as well as a prototyping area for more advanced hardware development ...

Страница 108: ... RX67 UX45 RX85 GND GND GND 1 R24 R22 R21 R23 CX23 RX77 1 R27 R28 JP25 CX25 RX75 RX73 CX27 DS3 S3 S2 DS2 J3 UX49 UX4 UX47 5 V GND 3 3 V RCM1 U2 RST_OUT IOWR VBAT EXT PA1 PA3 PA5 PA7 PB1 PB3 PB5 PB7 PC1 PC3 PC5 PC7 PE1 PE3 PE5 PE7 PD1 LN1 PD3 LN3 PD5 LN5 PD7 LN7 VREF GND IORD RST_IN PA0 PA2 PA4 PA6 PB0 PB2 PB4 PB6 PC0 PC2 PC4 PC6 PE0 PE2 PE4 PE6 PD0 LN0 PD2 LN2 PD4 LN4 PD6 LN6 CVT AGND JP24 JP23 C1...

Страница 109: ...5 pins of the RCM4200 module and may be read as inputs by sample applications Two LEDs are connected to the PB2 and PB3 pins of the RCM4200 module and may be driven as output indicators by sample applications Prototyping Area A generous prototyping area has been provided for the installation of through hole components 3 3 V 5 V and Ground buses run around the edge of this area Several areas for su...

Страница 110: ...he Prototyping Board and install a 1 2 header strip from the Develop ment Kit to allow you to use an ammeter across the pins to measure the current drawn from the 5 V supply Similarly you may cut the trace below header JP2 on the bottom side of the Prototyping Board and install a 1 2 header strip from the Development Kit to allow you to use an ammeter across the pins to measure the current drawn f...

Страница 111: ... PB3 PB5 PB7 PC1 PC3 PC5 PC7 PE1 PE3 PE5 PE7 PD1 LN1 PD3 LN3 PD5 LN5 PD7 LN7 VREF GND IORD RST_IN PA0 PA2 PA4 PA6 PB0 PB2 PB4 PB6 PC0 PC2 PC4 PC6 PE0 PE2 PE4 PE6 PD0 LN0 PD2 LN2 PD4 LN4 PD6 LN6 CVT AGND JP24 JP23 C14 C12 C10 C8 C7 C9 C11 C13 R10 R8 R6 R4 R3 R5 R7 R20 R18 R16 R14 R13 R15 R17 R29 JP11 JP15 JP19 JP21 JP22 JP20 JP17 JP13 R19 R9 RX57 RX55 RX97 RX49 UX33 UX31 RX89 UX3 UX37 UX42 UX41 RX6...

Страница 112: ...ly Table B 1 Prototyping Board Specifications Parameter Specification Board Size 3 80 3 80 0 48 97 mm 97 mm 12 mm Operating Temperature 0 C to 70 C Humidity 5 to 95 noncondensing Input Voltage 8 V to 24 V DC Maximum Current Draw including user added circuits 800 mA max for 3 3 V supply 1 A total 3 3 V and 5 V combined Prototyping Area 1 3 2 0 33 mm 50 mm throughhole 0 1 spacing additional space fo...

Страница 113: ...er is included in the bag of parts RS 232 signals Serial Ports C and D are available on header J4 A header strip at J4 allows you to connect a ribbon cable and a ribbon cable to DB9 connector is included with the Development Kit The pinouts for these locations are shown in Figure B 4 Figure B 4 Prototyping Board Pinout The analog signals are brought out to labeled points at header location J3 on t...

Страница 114: ... 3 RST_OUT Reset output from reset generator 4 IORD External read strobe 5 IOWR External write strobe 6 RESET_IN Input to reset generator 8 15 PA0 PA7 Output pulled high 16 PB0 CLKB used by A D converter RCM4200 only 17 PB1 Programming port CLKA 18 PB2 LED DS2 normally high off 19 PB3 LED DS3 normally high off 20 PB4 Switch S2 normally open pulled up 21 PB5 Switch S3 normally open pulled up 22 23 ...

Страница 115: ...cations JP1 and JP2 for the 5 V and 3 3 V supplies respectively To measure current you will have to cut the trace on the bottom side of the Prototyping Board corresponding to the power supply or power supplies whose current draw you will be measuring Header loca tions JP1 and JP2 are shown in Figure B 5 Then install a 1 2 header strip from the Development Kit on the top side of the Prototyping Boa...

Страница 116: ...e best performance for the A D converter would be realized with 0 Ω resistors Figure B 6 A D Converter Inputs The A D converter chip can make either single ended or differential measurements depending on the value of the opmode parameter in the software function call Adjacent A D converter inputs are paired to make differential measurements The default setup on the Prototyping Board is to measure ...

Страница 117: ...ivers to work with single ended negative voltages but the differential mode described below may be used to measure negative voltages Differential measurements require two channels As the name differential implies the dif ference in voltage between the two adjacent channels is measured rather than the differ ence between the input and analog ground Voltage measurements taken in differential mode ha...

Страница 118: ...n the same manner as they are to be used in the application For example if you will be performing floating differential measurements or differential mea surements using a common analog ground then calibrate the A D converter in the corre sponding manner The calibration must be done with the JP23 JP24 selection jumpers in the desired position see Figure B 6 If a calibration is performed and a jumpe...

Страница 119: ... be used only when the RCM4210 is installed on the Prototyping Board Serial Ports E may be used as a serial port or the corresponding pins at header location J2 may be used as parallel ports Table B 5 Prototyping Board Serial Port Configurations Serial Port Header Default Use Alternate Use A J2 Programming Port RS 232 B J2 A D Converter RCM4200 only RS 232 C J2 J4 Serial Flash D J2 J4 RS 232 E J2 ...

Страница 120: ...con trolOn function call from RS232 LIB where X is the serial port C or D The locations of the flow control lines are specified using a set of five macros SERX_RTS_PORT Data register for the parallel port that the RTS line is on e g PCDR SERA_RTS_SHADOW Shadow register for the RTS line s parallel port e g PCDRShadow SERA_RTS_BIT The bit number for the RTS line SERA_CTS_PORT Data register for the p...

Страница 121: ...pers or 0 Ω surface mount resistors Table B 6 RCM4200 Prototyping Board Jumper Configurations Header Description Pins Connected Factory Default JP1 5 V Current Measurement 1 2 Via trace or jumper Connected JP2 3 3 V Current Measurement 1 2 Via trace or jumper Connected JP3 JP4 PC0 TxD LED DS2 JP3 1 2 TxD on header J4 JP4 1 2 PC0 to LED DS2 n c PC0 available on header J2 JP1 JP2 JP25 UX49 JP23 JP11...

Страница 122: ...fer filter to RCM4200 1 2 Connected JP14 PB3 LED DS3 1 2 Connected PB3 to LED DS3 n c PB3 available on header J2 JP15 LN2 buffer filter to RCM4200 1 2 Connected JP16 PB4 Switch S2 1 2 Connected PB4 to Switch S2 n c PB4 available on header J2 JP17 LN3 buffer filter to RCM4200 1 2 Connected JP18 PB5 Switch S3 1 2 Connected PB5 to Switch S3 n c PB5 available on header J2 JP19 LN4 buffer filter to RCM...

Страница 123: ...11 JP13 JP15 JP17 and JP19 JP22 are made using 470 Ω surface mounted resistors JP23 LN4_IN LN6_IN 1 2 Tied to analog ground 2 3 Tied to VREF JP24 LN0_IN LN3_IN 1 2 Tied to analog ground 2 3 Tied to VREF JP25 Thermistor Location 1 2 n c Table B 6 RCM4200 Prototyping Board Jumper Configurations continued Header Description Pins Connected Factory Default ...

Страница 124: ...118 RabbitCore RCM4200 ...

Страница 125: ... is typically 200 mA and up to 225 mA at 3 6 V and 85 C C 1 1 Battery Backup The RCM4200 does not have a battery but there is provision for a customer supplied bat tery to back up the data SRAM and keep the internal Rabbit 4000 real time clock running Header J2 shown in Figure C 1 allows access to the external battery This header makes it possible to connect an external 3 V power supply This allow...

Страница 126: ...ny time the RCM4200 is removed from the Prototyping Board or motherboard since that is where the backup battery would be located Rabbit Semiconductor s Technical Note TN235 External 32 768 kHz Oscillator Circuits provides additional information about the current draw by the real time clock oscillator circuit C 1 2 Battery Backup Circuit Figure C 2 shows the battery backup circuit Figure C 2 RCM420...

Страница 127: ...r reliable operation The reset occurs between 2 85 V and 3 00 V typically 2 93 V Since the RCM4200 will operate at voltages as low as 3 0 V exercise care when operating close to the 3 0 V minimum voltage for example keep the power supply as close as possible to the RCM4200 since your RCM4200 could reset unintentionally The RCM4200 has a reset output pin 3 on header J2 ...

Страница 128: ...122 RabbitCore RCM4200 ...

Страница 129: ... 49 digInAlert 53 timedAlert 53 I O buffer sourcing and sinking limits 95 memory interface 34 SMODE0 34 38 SMODE1 34 38 dimensions Prototyping Board 105 RCM4200 88 Dynamic C 6 7 12 47 add on modules 7 71 installation 7 battery backed SRAM 50 libraries RCM40xx LIB 52 protected variables 50 sample programs 16 standard features debugging 48 telephone based technical support 6 71 upgrades and patches ...

Страница 130: ...RAM size 100 JP9 LN1 or PD1 on J2 100 jumper locations 99 M MAC addresses 78 O onchip encryption RAM how to use 17 P pinout Ethernet port 37 Prototyping Board 107 RCM4200 alternate configurations 30 RCM4200 headers 28 power supplies 3 3 V 119 battery backup 119 Program Mode 39 switching modes 39 programming cable PROG connector 39 RCM4200 connections 10 programming port 38 Prototyping Board 102 ac...

Страница 131: ... bus 34 49 I O drivers 49 libraries ADC_ADS7870 LIB 54 RCM40XX LIB 52 serial communication driv ers 49 serial flash 51 specifications A D converter chip 92 bus loading 95 digital I O buffer sourcing and sinking limits 95 exclusion zone 89 header footprint 93 Prototyping Board 106 Rabbit 4000 DC characteris tics 94 Rabbit 4000 timing dia gram 96 RCM4200 87 dimensions 88 electrical mechanical and en...

Страница 132: ...126 RabbitCore RCM4200 ...

Страница 133: ...oard Schematic www rabbit com documentation schemat 090 0230 pdf 090 0128 Programming Cable Schematic www rabbit com documentation schemat 090 0128 pdf 090 0252 USB Programming Cable Schematic www rabbit com documentation schemat 090 0252 pdf You may use the URL information provided above to access the latest schematics directly ...

Страница 134: ......

Страница 135: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Rabbit Semiconductor 101 1155 ...

Отзывы: