background image

User’s Manual

Sample Circuits

D–1

Sample Circuits

D

This appendix details several basic sample circuits that can be used with the
RabbitCore RCM2200 modules.

RS-232/RS-485 Serial Communication

Keypad and LCD Connections

Keypad and LCD Connections

D/A Converter

Summary of Contents for RCM2200

Page 1: ...RabbitCore RCM2200 C Programmable Module with Ethernet User s Manual 019 0097 010418 A...

Page 2: ...roperly used in accordance with instructions for use provided in the labeling and user s manual can be reasonably expected to result in significant injury No complex software or hardware system is per...

Page 3: ...s Manual 1 2 2 Hardware Reference 2 1 RabbitCore RCM2200 Digital Inputs and Outputs 2 1 2 1 1 Dedicated Inputs 2 2 2 1 2 Dedicated Outputs 2 2 2 1 3 Memory I O Interface 2 2 2 1 4 Other Inputs and Out...

Page 4: ...3 3 Sample Programs 3 4 3 4 Upgrading Dynamic C 3 5 3 4 1 Upgrades 3 5 A RabbitCore RCM2200 Specifications A 1 Electrical and Mechanical Characteristics A 2 A 1 1 Headers A 5 A 1 2 Physical Mounting A...

Page 5: ...User s Manual v E External Interrupts E 1 Use of External Interrupts E 2 E 2 Single Interrupt Request E 3 E 3 OR ed Interrupt Request E 3 Index Schematics...

Page 6: ...vi RabbitCore RCM2200...

Page 7: ...necessary for reset and management of battery backup of the Rabbit 2000 s internal real time clock and the static RAM Two 26 pin headers bring out the Rabbit 2000 I O bus lines address lines data line...

Page 8: ...ading of programs Generous memory size allows large pro grams with tens of thousands of lines of code and substantial data storage Integrated Ethernet port for network con nectivity royalty free TCP I...

Page 9: ...e believe that providing all users with our com plete library of product and reference manuals is a useful convenience However printed manuals are expensive to print stock and ship Rather than include...

Page 10: ...1 4 Introduction RabbitCore RCM2200...

Page 11: ...subsystems designed into the RabbitCore RCM2200 Figure 2 1 Rabbit Subsystems RABBIT 2000 Port A Port B synch Serial Port B Port D Serial Port B Port E PA0 PA7 PB0 PB2 PB5 PB7 PE0 PE1 PE4 PE5 PE7 PD3...

Page 12: ...with the slave port as the SLAVEATTN output This configura tion signifies that the slave is requesting attention from the master PC0 and PC2 are also output only pins PC0 and PC2 can instead serve as...

Page 13: ...rogrammable I O 11 PD4 ATXB output 12 PD5 ARXB input 13 IORD Input I O read strobe 14 IOWR Output I O write strobe 15 PE0 Bitwise or parallel programmable I O I0 control or INT0A input 16 PE1 I1 contr...

Page 14: ...t interface chip Header J5 1 8 PA 0 7 Bytewide programmable parallel I O Slave port data bus SD0 SD7 9 RESET Reset output Reset input This weak output can be driven externally 10 PB0 Input Serial port...

Page 15: ...umbered in reverse to the order used here Two LEDs are placed next to the RJ 45 Ethernet jack one to indicate an Ethernet link LNK and one to indicate Ethernet activity ACT The Ethernet signals are al...

Page 16: ...ral digital signal The clock line for Serial Port A is presented to the programming port which makes synchronous serial communication possible 2 2 3 1 Alternate Uses of the Program ming Port The progr...

Page 17: ...xternal 3 V power supply This allows the internal Rabbit 2000 real time clock to run and allows the SRAM to retain data when the Rabbit Core RCM2200 is powered down A lithium battery with a nominal vo...

Page 18: ...battery Figure 2 6 shows the RabbitCore 2000 battery backup circuit It is important not to charge a lithium battery with any appreciable current Resistor R5 shown in Figure 2 6 prevents any catastroph...

Page 19: ...ct the programming cable from header J5 of the RabbitCore RCM2200 2 Reset the RabbitCore RCM2200 You may do this as explained in Figure 2 8 The RabbitCore RCM2200 is now ready to operate in the run mo...

Page 20: ...2 10 Hardware Reference RabbitCore RCM2200...

Page 21: ...that connects to the Rabbit 2000 serial port A It is possible to reset and cold boot a Rabbit processor via the programming port No soft ware needs to be present in the target system More details are...

Page 22: ...his slow speed before the next tick of the periodic interrupt In this situation the hardware real time clock can be read directly to provide the time The periodic interrupt function also hits the hard...

Page 23: ...bits as outputs The sample programs in the Dynamic C SAM PLES RCM2200 directory provide further exam ples 3 2 2 Serial Communication Drivers The Prototyping Board has room for an RS 232 chip for whic...

Page 24: ...grams that illustrate features unique to the RabbitCore RCM2200 RCM2200 Demonstrates the basic operation and the Ethernet functionality of the RabbitCore RCM2200 TCPIP Demonstrates more advanced TCP I...

Page 25: ...make these same changes to the BIOS or libraries in the new directory containing the patch Do not sim ply copy over an entire file since you may overwrite a bug fix of course you may copy over any pro...

Page 26: ...3 6 Software Reference RabbitCore RCM2200...

Page 27: ...User s Manual RabbitCore RCM2200 Specifications A 1 RabbitCore RCM2200 Specifications A Appendix A provides the specifications for the RabbitCore RCM2200 and describes the conformal coating...

Page 28: ...e A 1 shows the mechanical dimensions for the RabbitCore RCM2200 Figure A 1 RabbitCore RCM2200 Dimensions 1 600 40 6 2 300 58 4 1 600 40 6 0 86 22 0 72 18 0 86 22 0 55 14 0 62 16 0 72 18 0 130 dia 3 3...

Page 29: ...he electrical mechanical and environmental specifications for the RabbitCore RCM2200 Table A 1 RabbitCore RCM2200 Header Pin 1 Locations Header Description Pin 1 x y Coordinates Inches J4 RabbitCore R...

Page 30: ...41 mm 59 mm 22 mm Operating Temperature 40 C to 70 C Humidity 5 to 95 noncondensing Input Voltage 4 75 V to 5 25 V DC Current 134 mA at 22 1 MHz 5 V DC 10 mA additional with programming cable attached...

Page 31: ...RabbitCore RCM2200 to a user board at the hole position shown in Figure A 2 A 2 Bus Loading You must pay careful attention to bus loading when designing an interface to the RabbitCore RCM2200 This sec...

Page 32: ...V This time depends on the bus loading Tsetup is the data setup time relative to the clock Tsetup is specified from 30 70 of the VDD voltage level Figure A 3 Memory Read and Write Cycles Tadr Tadr Ex...

Page 33: ...V Thold Data read hold time Min 0 ns Write Parameters Tadr Time from CPU clock rising edge to address valid Max 7 ns 20 pF 5 V 10 ns 3 3 V 14 ns 70 pF 5 V 19 ns 3 3 V Thold Data write hold time from W...

Page 34: ...Sourcing and Sinking Capability Pin Name Output Drive Sourcing Sinking Limits mA Output Port Name Full AC Switching SRC SNK Maximum DC Output Drive SRC SNK PA 7 0 8 8 12 12 PB 7 1 0 8 8 12 12 PC 6 2...

Page 35: ...s from the effects of moisture and contaminants over time Any components in the conformally coated area may be replaced using standard soldering proce dures for surface mounted components A new con fo...

Page 36: ...A 10 RabbitCore RCM2200 Specifications RabbitCore RCM2200...

Page 37: ...Backup Circuits As explained in Section 2 3 2 the RabbitCore RCM2200 has provision for battery backup which kicks in to keep VRAM from dropping below 2 V The current drain on the battery in a battery...

Page 38: ...access the SRAM When power is removed from the circuit the transistors will turn off and isolate CSRAM from the processor The isolated CSRAM line has a 100 k pullup resistor to VRAM R28 This pullup r...

Page 39: ...cable The PROG connector is used only when the programming cable is attached to the programming connector header J5 while a new application is being developed Otherwise the DIAG connector on the prog...

Page 40: ...function Alternatively the DIAG connector can be used to connect the programming port The RESET line and the SMODE1 and SMODE0 pins are not con nected to this connector The programming port is then e...

Page 41: ...this alternate configuration Table C 1 RabbitCore RCM2200 Programming Port Pinout Configurations Pin Pin Name Default Use Alternate Use Notes Header J1 1 RXA Serial Port A PC6 Input 2 GND 3 CLKA PB1...

Page 42: ...C 4 Programming Cable RabbitCore RCM2200...

Page 43: ...D 1 Sample Circuits D This appendix details several basic sample circuits that can be used with the RabbitCore RCM2200 modules RS 232 RS 485 Serial Communication Keypad and LCD Connections Keypad and...

Page 44: ...S 232 and RS 485 Circuits VCC 100 nF 100 nF 1 3 4 5 100 nF 100 nF R2OUT R2IN R1OUT R1IN T2OUT T2IN T1OUT T1IN 11 12 10 9 14 7 13 8 RXC RXD TXC TXD PC1 PC2 PC3 PC0 V V 2 6 C1 C1 C2 C2 J4 6 5 4 3 RS 232...

Page 45: ...ure D 3 Sample LCD Connections PB2 PB0 PB3 PB4 PB5 PC1 VCC 10 kW resistors RabbitCore RCM2200 Keypad J5 J4 11 12 13 10 14 4 10 11 PD3 PD4 Row 0 Row 2 Row 3 Row 4 Row 5 Row 1 Col 0 Col 1 NC NC 7 8 9 10...

Page 46: ...mory device Larger SRAMs can be written to using this scheme by using other available Rabbit 2000 ports parallel ports A to E as address lines Sample Program EXTSRAM C in SAMPLES RCM2200 Figure D 4 Sa...

Page 47: ...output can be scaled by chang ing the feedback resistors on the op amps For example changing 5 11 k to 2 5 k will produce an output from 0 V to 5 V Op amps with a very low input offset voltage are re...

Page 48: ...D 6 Sample Circuits RabbitCore RCM2200...

Page 49: ...h pins PE0 PE1 PE4 and PE5 on header J4 Table E 1 lists the general purpose Parallel Port E I O pins that can be used for external interrupts Figure E 1 illustrates these pins Table E 1 Rabbit 2000 Pa...

Page 50: ......

Page 51: ...f the on chip periph eral interrupts to have a higher interrupt priority This could be the case for example if the external interrupts are programmed to have priority 1 and one of the serial port inte...

Page 52: ...E 4 External Interrupts RabbitCore RCM2200...

Page 53: ...emory or RAM option 3 2 libraries 3 3 operating system framework 3 2 upgrades and patches 3 5 use 3 2 E Ethernet port 2 5 pinout 2 5 external interrupts E 1 OR ed interrupt request E 3 single interrup...

Page 54: ...PONG C 3 4 RCM2200 3 4 TCPIP 3 4 serial communication drivers 3 3 TCP IP drivers 3 4 specifications A 1 bus loading A 5 digital I O buffer sourcing and sinking limits A 8 dimensions A 2 electrical me...

Page 55: ...er s Manual Schematics 1 Schematics The following schematics are included for user reference 090 0120 RabbitCore RCM2200 schematic 090 0122 RCM2200 Prototyping Board schematic 090 0085 Programming Cab...

Page 56: ...N CHANGING CONTROL APPROVAL PROJECT ENGINEER APPROVAL DOCUMENT REV ECO DESCRIPTION OF CHANGE REVISION HISTORY REVISION APPROVAL DATE DATE DRAWING CONTENT SIGNATURES DATE C APPROVALS INITIAL RELEASE NO...

Page 57: ...C NONE...

Page 58: ...HEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL NONE DATE B DRAWING CONTENT APPROVALS INITIAL RELEASE SIGNATURES 2900...

Page 59: ...ALS INITIAL RELEASE DRAWING CONTENT B 2900 SPAFFORD ST DAVIS CA 95616 ZWORLD DATE NONE 530 757 4616 THIS DOCUMENT APPEND THE FOLLOWING DOCUMENTS WHEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DA...

Page 60: ......

Reviews: