manualshive.com logo in svg
background image

RabbitCore RCM3365/RCM3375

C-Programmable Core Module

with NAND Flash Mass Storage and Ethernet

User’s Manual

019–0150

080528–G

Содержание RCM3365

Страница 1: ...RabbitCore RCM3365 RCM3375 C Programmable Core Module with NAND Flash Mass Storage and Ethernet User s Manual 019 0150 080528 G...

Страница 2: ...of Digi International Inc Rabbit 3000 is a trademark of Digi International Inc xD Picture Card is a trademark of Fuji Photo Film Co Olympus Corporation and Toshiba Corporation No part of the contents...

Страница 3: ...nections 13 2 3 Starting Dynamic C 14 2 3 1 Running Dynamic C via Serial Programming Cable 15 2 3 1 1 Run a Sample Program 15 2 3 1 2 Troubleshooting 15 2 3 2 Running Dynamic C via Ethernet Cables 16...

Страница 4: ...3 1 Extras 52 Chapter 6 Using the TCP IP Features 53 6 1 TCP IP Connections 53 6 2 TCP IP Primer on IP Addresses 55 6 2 1 IP Addresses Explained 57 6 2 2 How IP Addresses are Used 58 6 2 3 Dynamicall...

Страница 5: ...D Keypad Module on the Prototyping Board 108 C 6 Bezel Mount Installation 109 C 6 1 Connect the LCD Keypad Module to Your Prototyping Board 111 C 7 Sample Programs 112 C 8 LCD Keypad Module Function C...

Страница 6: ...RabbitCore RCM3365 RCM3375 Schematics 157...

Страница 7: ...eaders bring out the Rabbit 3000 I O bus lines parallel ports and serial ports The RCM3365 RCM3375 s mass storage capabilities make them suited to running the optional Dynamic C FAT file system module...

Страница 8: ...d backup battery via connections on header J4 10 bit free running PWM counter and four pulse width registers Two channel Input Capture shared with parallel I O ports can be used to time input signals...

Страница 9: ...RCM3365 over an Ethernet link Appendix A provides detailed specifications for the RCM3365 and the RCM3375 Table 1 RCM3365 RCM3375 Features Feature RCM3365 RCM3375 Microprocessor Rabbit 3000 running at...

Страница 10: ...o remain readily available for a long time In addition miniSD Cards provide a signif icantly larger memory capacity which has been requested by customers The trade off for the larger memory capacity i...

Страница 11: ...itSys option for programming an RCM3365 over an Ethernet link is not supported for the RCM3900 1 3 Advantages of the RCM3365 and RCM3375 Fast time to market using a fully engineered ready to run ready...

Страница 12: ...sor Easy Reference poster Registration card Installing Dynamic C Insert the CD from the Development Kit in your PC s CD ROM drive If the instal lation does not auto start run the setup exe program in...

Страница 13: ...specific Advanced Encryption Standard AES library In addi tion to the Web based technical support included at no extra charge a one year telephone based technical support subscription is also availabl...

Страница 14: ...8 RabbitCore RCM3365 RCM3375...

Страница 15: ...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 allow...

Страница 16: ...stalled Do not remove the module by grasping it at the top and bottom BKLT CS LED1 LED3 LED5 GND GND A2 A0 D1 D3 D5 D7 RABBITNET R44 C28 C27 R43 R46 C30 C29 R45 Q5 R48 R47 DS7 RELAY NO1 COM1 NC1 NO2 C...

Страница 17: ...5 A 30 V J17 U12 U11 R42 R41 C20 C19 R40 R39 SERIAL FLASH MODEM J7 R2 R7 R3 R4 R5 R6 R9 R8 U6 R10 C6 C1 D1 J2 J1 J4 J6 GND IN3 IN2 IN1 IN0 5V 5V QD2A QD2B QD1A QD1B GND J5 VMB MDB1 MDB2 MDB3 MDB4 VMB...

Страница 18: ...2B QD1A QD1B GND J5 VMB MDB1 MDB2 MDB3 MDB4 VMB VMA MDA1 MDA2 MDA3 MDA4 VMA J3 C2 JP1 C3 JP2 GND GND VBT RES SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 P...

Страница 19: ...oard to allow a hardware reset without disconnecting power The RCM3365 RCM3375 can also be reset from Dynamic C by pressing Ctrl Y if your PC is connected to the RCM3365 RCM3375 via the serial program...

Страница 20: ...on your desktop or in your Start menu Select Code and BIOS in Flash Run in RAM on the Compiler tab in the Dynamic C Options Project Options menu Click OK Section 2 3 1 explains the remaining Dynamic C...

Страница 21: ...on the RCM3365 RCM3375 with the marked colored edge of the program ming cable towards pin 1 of the programming header Ensure that the RCM3365 RCM3375 module is firmly and correctly installed in its co...

Страница 22: ...ill have to enter the TCP IP parameters into the RCM3365 module and on to the PC notebook or workstation See Appendix E for more information on this option Using DHCP Network with Straight Through Eth...

Страница 23: ...he Prototyping Board should be lit when the RCM3365 is mounted on the Prototyping Board and the AC adapter is plugged in Ensure that the RCM3365 mod ule is firmly and correctly installed in its connec...

Страница 24: ...18 RabbitCore RCM3365 RCM3375...

Страница 25: ...n the sample programs discussed in this chapter and elsewhere in this manual 1 Your RCM3365 RCM3375 module must be plugged in to the Prototyping Board as described in Chapter 2 Getting Started 2 Dynam...

Страница 26: ...ur PC Once you compile and run CONTROLLED C the following display will appear in the Dynamic C STDIO window Press 2 or 3 or 4 or 5 on your keyboard to select LED DS3 or DS4 or DS5 or DS6 on the Protot...

Страница 27: ...m starts running it attempts to communi cate with the NAND flash chip selected by the user Once a NAND flash chip is found the user can execute various commands to print out the contents of a specifie...

Страница 28: ...may need administrator privileges The instructions are specifically for Windows 2000 but the interface is similar for other versions of Windows TIP If you are using a PC that is already on a network y...

Страница 29: ...D Picture Card or replace the original one when prompted to do so in the Dynamic C STDIO window or when the green LED DS4 on the Prototyping Board lights up Do not remove the xD Picture Card until you...

Страница 30: ...on the RS 232 header at J14 as shown in the diagram The Dynamic C STDIO window will display the error sequence SIMPLE3WIRE C This program demonstrates basic RS 232 serial communication Lower case cha...

Страница 31: ...1 2 and pins 5 6 are jumpered together on header JP5 to use the RS 485 bias and termination resistors The sample programs use Serial Port C as the RS 485 serial port and they use PD7 to enable disable...

Страница 32: ...RCM3375 and the Prototyping Board you need to add the line use rcm33xx lib at the beginning of the sample program TIP You need to add use rcm33xx lib at the beginning of any sample program that is no...

Страница 33: ...specifications Figure 5 shows the Rabbit based subsystems designed into the RCM3365 RCM3375 Figure 5 RCM3365 RCM3375 Subsystems 32 kHz osc RabbitCore Module RABBIT 3000 Customer supplied external 3 V...

Страница 34: ...lso included with the RCM3365 RCM3375 Pins 29 32 on header J3 are configured using 0 resistors at locations JP4 JP5 JP7 and JP7 to be PD3 PD2 PD7 and PD6 respectively They may also be reconfigured to...

Страница 35: ...0 fac tory defaults and the alternate configurations RABBIT 3000 Port A Port B Port D PA0 PA7 PB2 PB7 PE0 PE1 PE3 PE7 PD2 PD7 RES IORD IOWR Watchdog 11 Timers Clock Doubler Slave Port Real Time Clock...

Страница 36: ...Input RXC 19 PC4 Output TXB Serial Port B 20 PC5 Input RXB 21 PC6 Output TXA Serial Port A programming port 22 PC7 Input RXA 23 PG0 Input Output TCLKF Serial Clock F output 24 PG1 Input Output RCLKF S...

Страница 37: ...8 PB7 Input Output IA5 SLAVEATTN External Address 5 Slave Attention 9 PF4 Input Output AQD1B PWM0 10 PF5 Input Output AQD1A PWM1 11 PF6 Input Output AQD2B PWM2 12 PF7 Input Output AQD2A PWM3 13 PE7 I...

Страница 38: ...PG7 Input Output RXE Serial Port E 21 PG6 Input Output TXE 22 PG5 Input Output RCLKE Serial Clock E input 23 PG4 Input Output TCLKE Serial Clock E ouput 24 IOWR Output External write strobe 25 IORD Ou...

Страница 39: ...ly associated with the programming port Since the status pin is not used by the system once a program has been downloaded and is running the status pin can then be used as a general purpose CMOS outpu...

Страница 40: ...an asynchronous port PB0 is used to enable Dynamic C to detect whether the xD Picture Card is installed If the card detect is not needed by your application program you may remove R96 see Figure A 5 t...

Страница 41: ...ne what happens after a reset the Rabbit 3000 is either cold booted or the program begins executing at address 0x0000 The status pin is used by Dynamic C to determine whether a Rabbit microprocessor i...

Страница 42: ...R4 R5 R6 R9 R8 U6 R10 C6 C1 D1 J2 J1 J4 J6 GND IN3 IN2 IN1 IN0 5V 5V QD2A QD2B QD1A QD1B GND J5 VMB MDB1 MDB2 MDB3 MDB4 VMB VMA MDA1 MDA2 MDA3 MDA4 VMA J3 C2 JP1 C3 JP2 GND GND VBT RES SM0 IOWR PG5 PG...

Страница 43: ...remove the serial programming cable from the programming con nector and reset the RCM3365 RCM3375 The RCM3365 RCM3375 may be reset by cycling the power off on or by pressing the RESET button on the P...

Страница 44: ...Rabbit based systems do not implement the xD Picture Card specification for data storage and are neither compatible nor compliant with xD Picture Card card readers The NAND flash and xD Picture Card a...

Страница 45: ...without affecting either the program which continues to run on the RCM3365 RCM3375 module or the data stored on the xD Picture Card The FAT_HOT_SWAP_336x0 C sample program in the SAMPLES FileSystem fo...

Страница 46: ...ximum 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 an...

Страница 47: ...e run from the program execution SRAM after the serial programming cable is disconnected Your final code must always be stored in flash memory for reliable operation RCM3365 RCM3375 modules running at...

Страница 48: ...by creating function description block comments using a special format for library functions Standard debugging features X Breakpoints Set breakpoints that can disable interrupts X Single stepping St...

Страница 49: ...9 30 or later and allows the RCM3365 The Dynamic C RabbitSys User s Manual provides complete information on RabbitSys 2 Via the Rabbit RabbitLink which allows a Rabbit based target to have programs d...

Страница 50: ...The compiler generates code that maintains two copies of each protected variable in the battery backed SRAM The compiler also generates a flag to indicate which copy of the protected variable is valid...

Страница 51: ...rface to NAND flash memory devices on the RCM3365 and the RCM3375 The function calls were written spe cifically to work with industry standard flash devices with a 528 byte page program and 16896 byte...

Страница 52: ...sors are described in the Dynamic C Function Reference Manual 5 2 6 1 Board Initialization Call this function at the beginning of your program This function initializes Parallel Ports A through G for...

Страница 53: ...l on header J5 or J6 0 IN0 1 IN1 2 IN2 3 IN3 4 QD1B 5 QD1A 6 QD2B 7 QD2A RETURN VALUE The logic state 0 or 1 of the input SEE ALSO brdInit Writes a value to an output channel on Prototyping Board head...

Страница 54: ...SEE ALSO brdInit Controls LEDs on the Prototyping Board and on the RCM3365 RCM3375 PARAMETERS led is the LED to control 0 red User LED on RCM3365 RCM3375 3 DS3 on Prototyping Board 4 DS4 on Prototypi...

Страница 55: ...cator for disabling the transmitter by using one of the following meth ods Byte mode disable the transmitter after the same byte that is transmitted is detected in the receive data buffer Block data m...

Страница 56: ...ces define RN_MAX_DATA 16 max number of data bytes in any transaction define RN_MAX_PORT 2 max number of serial ports Set the following bits in RNSTATUSABORT to abort transmitting data after the statu...

Страница 57: ...that enables or asserts the RCM3365 RCM3375 RabbitNet port chip select prior to data transfer PARAMETERS portnum 0 RETURN VALUE None This is a macro that disables or deasserts the RCM3365 RCM3375 Rabb...

Страница 58: ...ludes the popular C OS II real time operating system point to point protocol PPP FAT file system RabbitWeb and other select libraries Rabbit also offers for purchase the Rabbit Embedded Security Pack...

Страница 59: ...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 A straight thr...

Страница 60: ...Use a small Eth ernet 10Base T hub and connect both the PC s network interface card and the RCM3365 RCM3375 module s Ethernet port to it using standard network cables The following options require mor...

Страница 61: ...tuation 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 addre...

Страница 62: ...n the sample programs with out having to setup a direct connection between your computer and the RCM3365 RCM3375 You will also need the IP address of the nameserver the name or IP address of your mail...

Страница 63: ...he 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 Applie...

Страница 64: ...ith 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...

Страница 65: ...These addresses 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...

Страница 66: ...k by disallowing traffic that did not originate from inside the net work If you want users on the Internet to communicate with your RCM3365 RCM3375 you have several options You can either place the RC...

Страница 67: ...ge to the instructions when you use the serial programming cable When you use an Ethernet cable you may use CAT 5 6 straight through Ethernet cables to connect the RCM3365 and your PC to a DHCP net wo...

Страница 68: ...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 RCM3365 RCM3375 board and 10 1 1 1 for...

Страница 69: ...erface 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...

Страница 70: ...n describing the operation 6 6 Running Additional Sample Programs With Direct Connect The following sample programs are in the Dynamic C SAMPLES RCM3360 TCPIP folder BROWSELED C This program demonstra...

Страница 71: ...ch the DS3 and DS4 LEDs on the Prototyping Board blink DOORMONITOR C The optional LCD keypad module see Appendix C must be plugged in to the Prototyping Board when using this sample program This progr...

Страница 72: ...66 RabbitCore RCM3365 RCM3375...

Страница 73: ...User s Manual 67 APPENDIX A RCM3365 RCM3375 SPECIFICATIONS Appendix A provides the specifications for the RCM3365 RCM3375 and describes the conformal coating...

Страница 74: ...dimensions have a manufacturing tolerance of 0 01 0 25 mm J6 J1 J2 DS2 DS1 DS3 USR FM LINK ACT DS4 SPEED 0 55 14 0 100 dia 2 5 0 087 2 2 0 245 6 2 0 86 22 J3 J4 2 725 69 2 1 850 47 0 0 690 17 5 0 47...

Страница 75: ...printed circuit boards An exclusion zone of 0 08 2 mm is recommended below the RCM3365 RCM3375 when the RCM3365 RCM3375 is plugged into another assembly Figure A 2 shows this exclusion zone Figure A...

Страница 76: ...o support RTC and data SRAM General Purpose I O 52 parallel digital I 0 lines 44 configurable I O 4 fixed inputs 4 fixed outputs Additional Inputs Startup mode 2 reset in Additional Outputs Status res...

Страница 77: ...uts from external incremental encoder modules Power 3 15 3 45 V DC 250 mA 44 2 MHz 3 3 V Operating Temperature 40 C to 70 C boards manufactured up to May 2008 0 C to 70 C boards manufactured after May...

Страница 78: ...a 1 27 mm pin spacing Figure A 3 shows the layout of another board for the RCM3365 RCM3375 to be plugged into These reference design values are relative to the mounting hole Figure A 3 User Board Foot...

Страница 79: ...pacitive bus loading for the various RCM3365 RCM3375 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...

Страница 80: ...IOCSx can be programmed to be active low default or active high Tadr Tadr External I O Read one programmed wait state CLK A 15 0 External I O Write one programmed wait state CLK A 15 0 IORD valid T1 T...

Страница 81: ...p and Thold When both the spectrum spreader and the clock doubler are enabled every other clock cycle is shortened sometimes lengthened by a maximum amount given in the table above The shortening take...

Страница 82: ...Ratings Symbol Parameter Maximum Rating TA Operating Temperature 55 to 85 C TS Storage Temperature 65 to 150 C Maximum Input Voltage Oscillator Buffer Input 5 V tolerant I O VDD 0 5 V 5 5 V VDD Maximu...

Страница 83: ...ute maximum operating voltage on all I O is 5 5 V Table A 7 shows the AC and DC output drive limits of the parallel I O buffers when the Rabbit 3000 is used in the RCM3365 RCM3375 Under certain condit...

Страница 84: ...A 5 shows the jumper locations used to configure the various RCM3365 RCM3375 options The black square indicates pin 1 Figure A 5 Location of RCM3365 RCM3375 Configurable Positions R41 R42 JP3 JP6 JP7...

Страница 85: ...2 TPO 2 3 PD3 JP5 Ethernet or I O Output on Header J3 1 2 TPO 2 3 PD2 JP6 Ethernet or I O Output on Header J3 1 2 ENET_INT 2 3 PE0 JP7 Ethernet or I O Output on Header J3 1 2 TPI 2 3 PD7 JP8 Ethernet...

Страница 86: ...ted components A new conformal coating should then be applied to offer continuing protection against the effects of moisture and contaminants NOTE For more information on conformal coatings refer to T...

Страница 87: ...User s Manual 81 APPENDIX B PROTOTYPING BOARD Appendix B describes the features and accessories of the Proto typing Board...

Страница 88: ...3 MDA4 VMA J3 C2 JP1 C3 JP2 GND GND VBT RES SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING BO...

Страница 89: ...module is plugged in correctly on the Prototyping Board and the RCM3365 RCM3375 module is not being reset Relay LED The relay LED lights whenever the Prototyping Board relay is energized Reset Switch...

Страница 90: ...al port is available on the Prototyping Board at screw termi nal header J14 Quadrature Decoder Four quadrature decoder inputs PF0 PF3 from the Rabbit 3000 chip are available on screw terminal header J...

Страница 91: ...5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING BOARD S1 RESET J9 S2 S3 ACT PD7 PD3 PD5 PG3 PG1 PC7 PC5 P...

Страница 92: ...mA maximum per channel 8 CMOS level outputs if stepper motor not installed Relay SPDT relay 500 mA 30 V Serial Ports two 3 wire RS 232 or one RS 232 with RTS CTS one RS 485 Other Serial Interfaces Ra...

Страница 93: ...n onboard 5 V switching power regulator from which a 3 3 V linear regulator draws its supply Thus both 5 V and 3 3 V are available on the Prototyping Board The Prototyping Board itself is protected ag...

Страница 94: ...V IN0 IN1 IN2 IN3 GND TxE RxE GND TxF RxF 485 GND 485 OUT00 OUT01 OUT02 OUT03 OUT04 OUT05 OUT06 OUT07 GND VCC PC0_TxD PD2_CE PD4_DCD PC1_RxD PF0_CLK_RES PD3_RNET_ RTS PD6_ CTRL PD5_ CTS LCD_ CS BA0 B...

Страница 95: ...dules J13 cannot be used with the RCM3305 RCM3315 If you don t plan to use the LCD keypad module additional signals may be brought out on 1 5 and 1 8 headers from the bag of parts that you install at...

Страница 96: ...r quadrature decoder inputs on screw terminal header J5 may be used as inputs IN4 IN7 To use the PF0 signal from the Rabbit microprocessor which goes to QD1B remember to reconfigure the jumper on head...

Страница 97: ...uts B 4 5 Relay Outputs Figure B 7 shows the contact connections for the relay on the Prototyping Board A diode across the coil provides a return path for inductive spikes and snubbers across the rela...

Страница 98: ...sed as a RabbitNet port or to allow J11 to be used as a serial interface for the SF1000 series serial flash Table B 2 Prototyping Board Serial Port Configurations Serial Port Signal Header Configured...

Страница 99: ...n function call from RS232 LIB where X is the serial port E or F 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...

Страница 100: ...close serCclose define ser485wrFlush serCwrFlush define ser485rdFlush serCrdFlush define ser485putc serCputc define ser485getc serCgetc define CINBUFSIZE 15 define COUTBUFSIZE 15 ifndef _485BAUD defin...

Страница 101: ...DA3 MDA4 VMA J3 C2 JP1 C3 JP2 GND GND VBT RES SM0 IOWR PG5 PG7 PE1 PE4 PE6 PF7 PF5 PB7 PB5 PB3 PB0 J8 NC 3 3 V VRAM SMODE1 IORD PG4 PG6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING...

Страница 102: ...D1JC V R ES LE D0 LE D2 LE D4 LE D6 GN D A3 A1 D0 D2 D4 D6 LCD1JA J16 BD 0 BD 1 BD 2 BD 3 BD 4 BD 5 BD 6 BD 7 J15 BA 0 BA 1 BA 2 BA 3 LC D C S R E L A Y R A T E D 0 5 A 3 0 V J17 U12 U11 R42 R 41 C 20...

Страница 103: ...ected Factory Default JP1 1 2 9 10 Onboard power supply to U2 3 4 7 8 External power supply to U2 JP2 1 2 9 10 Onboard power supply to U3 3 4 7 8 External power supply to U3 J3 2 3 4 U2 5 1 6 3 6 11 1...

Страница 104: ...totyping Board Jumper Configurations Figure B 12 shows the header locations used to configure the various Prototyping Board options via jumpers Figure B 12 Location of Prototyping Board Configurable P...

Страница 105: ...er supply JP2 Stepper Motor Power Supply Options U3 1 2 9 10 Onboard power supply 3 4 7 8 External power supply JP3 PF0 Option 1 2 Quadrature decoder inputs enabled 2 3 RabbitNet Serial Flash interfac...

Страница 106: ...t D High SPI disabled PC1 Input RXD SPI serial flash High SPI disabled PC2 Output TXC RS 485 Serial Port C High RS 485 disabled PC3 Input RXC RS 485 High RS 485 disabled PC4 Output TXB Serial Port B H...

Страница 107: ...ut Switch S2 High PG2 Input TXF RS 232 Serial Port F High RS 232 disabled PG3 Input RXF RS 232 High RS 232 disabled PG4 Output Motor driver A enable High disabled PG5 Output Motor driver B enable High...

Страница 108: ...102 RabbitCore RCM3365 RCM3375...

Страница 109: ...ith the Prototyping Board They are shown in Figure C 1 Figure C 1 LCD Keypad Modules Versions Only the version without the bezel can mount directly on the Prototyping Board if you have the version wit...

Страница 110: ...1 5 W maximum The backlight adds approximately 650 mW to the power consumption Connections Connects to high rise header sockets on the Prototyping Board LCD Panel Size 122 32 graphic display Keypad 7...

Страница 111: ...tting the voltage for 3 3 V by connecting the jumper across pins 3 4 on header J5 as shown in Figure C 3 Only one of these two options is available on these LCD keypad modules NOTE Older LCD keypad mo...

Страница 112: ...ld legend and insert your new legend prepared according to the template in Figure C 4 The keypad legend is located under the blue key pad matte and is accessible from the left only as shown in Figure...

Страница 113: ...ress Assignment Address Function 0xE000 Device select base address CS 0xExx0 0xExx7 LCD control 0xExx8 LED enable 0xExx9 Not used 0xExxA 7 key keypad 0xExxB bits 0 6 7 LED driver 0xExxB bit 7 LCD back...

Страница 114: ...6 PE0 PE3 PE5 PB6 PB4 PB2 RES_OUT PF4 PF6 PE7 RCM3300 PROTOTYPING BOARD S1 RESET J9 S2 S3 ACT PD7 PD3 PD5 PG3 PG1 PC7 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 STAT LINK PD6 PD2 PD4 PG2 PG0 PC6 PC4 PC2 PC0...

Страница 115: ...mount installation 1 Cut mounting holes in the mounting panel in accordance with the recommended dimen sions in Figure C 8 then use the bezel faceplate to mount the LCD keypad module onto the panel Fi...

Страница 116: ...il the gasket is compressed and the plastic bezel face plate is touching the panel Do not tighten each screw fully before moving on to the next screw Apply only one or two turns to each screw in seque...

Страница 117: ...S1 RESET J9 S2 S3 ACT PD7 PD3 PD5 PG3 PG1 PC7 PC5 PC3 PC1 PF0 PF2 PA0 PA2 PA4 PA6 STAT LINK PD6 PD2 PD4 PG2 PG0 PC6 PC4 PC2 PC0 PF1 PF3 PA1 PA3 PA5 PA7 GND JA JB POWER GND DC GND DS1 R1 GND DC D2 C8...

Страница 118: ...as described in Chapter 2 Getting Started Complete information on Dynamic C is provided in the Dynamic C User s Manual KEYPADTOLED C This program demonstrates the use of the external I O bus The prog...

Страница 119: ...ll RETURN VALUE None C 8 2 LEDs When power is applied to the LCD keypad module for the first time the red LED DS1 will come on indicating that power is being applied to the LCD keypad module The red L...

Страница 120: ...glBacklight glSetContrast glPlotDot glBlock glPlotDot glPlotPolygon glPlotCircle glHScroll glVScroll glXFontInit glPrintf glPutChar glSetBrushType glBuffLock glBuffUnlock glPlotLine Turns the display...

Страница 121: ...screen to white RETURN VALUE None SEE ALSO glFillScreen glBlock glPlotPolygon glPlotCircle Draws a rectangular block in the page buffer and on the LCD if the buffer is unlocked Any portion of the blo...

Страница 122: ...Plots the outline of a polygon in the LCD page buffer and on the LCD if the buffer is unlocked Any portion of the polygon that is outside the LCD display area will be clipped If fewer than 3 vertices...

Страница 123: ...doing anything PARAMETERS n is the number of vertices x1 is the x coordinate of the first vertex y1 is the y coordinate of the first vertex x2 is the x coordinate of the second vertex y2 is the y coor...

Страница 124: ...t descriptor structure where the font is stored in xmem PARAMETERS pInfo is a pointer to the font descriptor to be initialized pixWidth is the width in pixels of each font item pixHeight is the height...

Страница 125: ...he top left corner of the text y is the y coordinate row of the top left corner of the text pInfo is a pointer to the font descriptor code is the ASCII character to display RETURN VALUE None SEE ALSO...

Страница 126: ...ion Provides an interface between the STDIO string handling functions and the graphic library The STDIO string formatting function will call this function one character at a time until the entire form...

Страница 127: ...string conversion parameter s EXAMPLE glprintf 0 0 fi12x16 Test d n count RETURN VALUE None SEE ALSO glXFontInit Increments LCD screen locking counter Graphic calls are recorded in the LCD memory buff...

Страница 128: ...E draws white pixels turns pixel off PIXXOR draws old pixel XOR ed with the new pixel RETURN VALUE None SEE ALSO glGetBrushType Gets the current method or color of pixels drawn by subsequent graphic c...

Страница 129: ...y divisible by 8 otherwise truncates top is the top left corner of the bitmap cols is the number of columns in the window must be evenly divisible by 8 otherwise truncates rows is the number of rows i...

Страница 130: ...er of rows in the window RETURN VALUE None SEE ALSO glVScroll glDown1 Scrolls byte aligned window down one pixel top column is filled by current pixel type color PARAMETERS left is the top left corner...

Страница 131: ...2 Parameters will be checked to verify that the scrolling area is valid The minimum scrolling area is a width of 8 pixels and a height of one row PARAMETERS left is the top left corner of bitmap must...

Страница 132: ...t be evenly divisible by 8 rows is the number of rows in the window nPix is the number of pixels to scroll within the defined window a negative value will produce a scroll up RETURN VALUE None SEE ALS...

Страница 133: ...characters within the text window using only character row and column coordinates The text window feature provides end of line wrapping and clipping after the character in the last column and row is d...

Страница 134: ...SEE ALSO TextPutChar TextPrintf TextWindowFrame Gets the current cursor location that was set by a Graphic Text function NOTE Execute the TextWindowFrame function before using this function PARAMETERS...

Страница 135: ...d also escape sequences r and n are recognized All other escape sequences will be skipped over for example b and t will print if they exist in the font set but will not have any effect as control char...

Страница 136: ...An 8 bit value is returned when a key is pressed 0 Unused See keypadDef for default press codes cRelease is a key release code An 8 bit value is returned when a key is pressed 0 Unused cCntHold is a h...

Страница 137: ...gnment debouncing press and release and repeat NOTE This function is also able to process an 8 x 8 matrix keypad RETURN VALUE None SEE ALSO keyConfig keyGet keypadDef Get next keypress RETURN VALUE Th...

Страница 138: ...codes keyConfig 3 R 0 0 0 0 0 keyConfig 6 E 0 0 0 0 0 keyConfig 2 D 0 0 0 0 0 keyConfig 4 0 0 0 0 0 keyConfig 1 U 0 0 0 0 0 keyConfig 5 0 0 0 0 0 keyConfig 0 L 0 0 0 0 0 Characters are returned upon k...

Страница 139: ...ve a battery but there is provision for a customer supplied battery to back up the data SRAM and keep the internal Rabbit 3000 real time clock running NOTE A backup battery is highly recommended to ba...

Страница 140: ...NOTE Remember to cycle the main power off on any time the RCM3365 RCM3375 is removed from the Prototyping Board or motherboard since that is where the backup battery would be located Rabbit s Technica...

Страница 141: ...0 V typically 2 93 V The RCM3365 RCM3375 has a reset pin pin 28 on header J4 This pin provides access to the reset input of the reset generator whose output drives the reset input of the Rabbit 3000 a...

Страница 142: ...136 RabbitCore RCM3365 RCM3375...

Страница 143: ...a PC notebook or workstation to an RCM3365 module via a serial programming cable or via a CAT 5 6 Ethernet cable A CAT 5 6 crossover Ethernet cable can be used to connect an RCM3365 module directly t...

Страница 144: ...lder Press function key F9 to compile and run the program This sample program brings down the Ethernet interface turns off DHCP sets the RCM3365 s IP address to 10 10 6 100 sets the netmask to 255 255...

Страница 145: ...control panel Start Settings Control Panel and start Network Connections 2 Select the network interface card used for the Ethernet interface you intend to use e g TCP IP Xircom Credit Card Net work A...

Страница 146: ...ies to fill in the fol lowing fields IP Address 10 10 6 101 Netmask 255 255 255 0 Default gateway 10 10 6 1 TIP If you are using a PC that is nor mally on a network you will have dis connected the PC...

Страница 147: ...iled and ran a sample program with the RabbitSys project option disabled you may have overwritten the RabbitSys binary file Use the serial programming cable to connect programming header J1 on the RCM...

Страница 148: ...142 RabbitCore RCM3365 RCM3375...

Страница 149: ...et Connections All RabbitNet connections are made point to point A RabbitNet master port can only be connected directly to a peripheral card and the number of peripheral cards is limited by the number...

Страница 150: ...n the con nector The following connectors are used Signal 0 1 friction lock connectors Power 0 156 friction lock connectors RabbitNet RJ 45 connector D A converter 8 channels of 0 10 V 12 bit D A conv...

Страница 151: ...r a data rate of 1 MHz Rabbit recommends a practical limit of 10 m 33 ft Connections between peripheral cards and masters are done using standard 8 conductor Ethernet cables Masters and peripheral car...

Страница 152: ...to the maximum number of ports A set bit requires a service If portflag 0x03 both RabbitNet ports 0 and 1 will need to be serviced servicetype enables or disables each RabbitNet port as set by the po...

Страница 153: ...dev flags RN_MATCH_PORT RN_MATCH_SN newdev ports 0x03 search ports 0 and 1 newdev serialnum E3446C01L handle rn_find newdev RETURN VALUE Returns the handle of the first device matching the criteria 0...

Страница 154: ...hat the data length was greater than 15 SEE ALSO rn_read Reads a string from the specified device and register Waits for results This function will check device information to determine that the perip...

Страница 155: ...N VALUE The status byte from the previous command 1 means that device information indicates the peripheral card is not connected to the master Sets software watchdog timeout period Call this function...

Страница 156: ...tchdog timer 2 enables software watchdog timer RETURN VALUE The status byte from the previous command 1 means that device information indicates the peripheral card is not connected to the master SEE A...

Страница 157: ...tatus byte from the previous command PARAMETERS handle is an address index to device information Use rn_device or rn_find to establish the handle retdata is a pointer to the return address of the comm...

Страница 158: ...eady 10 Busy 11 Device not connected 0 Device 1 Router 0 No error 1 Communication error Use the function rn_comm_status to determine which error occurred Reserved for individual peripheral cards Reser...

Страница 159: ...les 9 52 installation 9 battery backed SRAM 44 FAT file system 45 libraries RCM33xx LIB 46 RN_CFG_RCM33 LIB 46 protected variables 44 Rabbit Embedded Security Pack 7 9 52 sample programs 20 standard f...

Страница 160: ...114 glDown1 124 glFillCircle 118 glFillPolygon 117 glFillScreen 115 glFillVPolygon 117 glFontCharAddr 119 glGetBrushType 122 glGetPfStep 120 glHScroll 125 glInit 114 glLeft1 123 glPlotCircle 117 glPlo...

Страница 161: ...nk 43 RabbitSys 43 reset 13 use of reset pin 135 RS 485 network termination and bias resistors 95 Run Mode 36 switching modes 36 S sample programs 20 download manager DLM_TCP C 43 DLP_TCP C 43 getting...

Страница 162: ...04 Prototyping Board 86 Rabbit 3000 DC characteris tics 76 Rabbit 3000 timing diagram 74 relative pin 1 locations 72 spectrum spreader 75 settings 40 status byte 152 subsystems digital inputs and outp...

Страница 163: ...Schematic www rabbit com documentation schemat 090 0188 pdf 090 0156 LCD Keypad Module Schematic www rabbit com documentation schemat 090 0156 pdf 090 0128 Serial Programming Cable Schematic www rabbi...

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

Отзывы: