background image

RabbitCore RCM3600

C-Programmable Core Module

User’s Manual

019–0135

050630–C

Содержание RabbitCore

Страница 1: ...RabbitCore RCM3600 C Programmable Core Module User s Manual 019 0135 050630 C ...

Страница 2: ...onductor com RabbitCore RCM3600 User s Manual Part Number 019 0135 050630 C Printed in U S A 2003 2005 Z World Inc All rights reserved Z World reserves the right to make changes and improvements to its products without providing notice Trademarks Rabbit is a registered trademark of Rabbit Semiconductor RabbitCore and Rabbit 3000 are trademarks of Rabbit Semiconductor Z World is a registered tradem...

Страница 3: ...ing 11 2 5 Where Do I Go From Here 12 2 5 1 Technical Support 12 Chapter 3 Running Sample Programs 13 3 1 Introduction 13 3 2 Sample Programs 14 3 2 1 Serial Communication 16 3 2 2 A D Converter Inputs 18 Chapter 4 Hardware Reference 21 4 1 RCM3600 Digital Inputs and Outputs 22 4 1 1 Memory I O Interface 26 4 1 2 Other Inputs and Outputs 26 4 2 Serial Communication 27 4 2 1 Serial Ports 27 4 3 Pro...

Страница 4: ...g Board 73 B 4 1 Adding Other Components 74 B 4 2 Analog Features 75 B 4 2 1 A D Converter Inputs 75 B 4 2 2 Thermistor Input 77 B 4 2 3 Other A D Converter Features 78 B 4 2 4 A D Converter Calibration 79 B 4 3 Serial Communication 80 B 4 3 1 RS 232 81 B 4 3 2 RS 485 82 B 4 4 Other Prototyping Board Modules 83 B 5 RCM3600 Prototyping Board Jumper Configurations 84 Appendix C LCD Keypad Module 87 ...

Страница 5: ...User s Manual Appendix D Power Supply 123 D 1 Power Supplies 123 D 1 1 Battery Backup Circuits 123 D 1 2 Reset Generator 124 Notice to Users 125 Index 127 Schematics 131 ...

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

Страница 7: ...battery backup of the Rabbit 3000 s internal real time clock and the static RAM One 40 pin header brings out the Rabbit 3000 I O bus lines parallel ports and serial ports The RCM3600 receives its 5 V power from the customer supplied motherboard on which it is mounted The RCM3600 can interface with all kinds of CMOS compatible digital devices through the motherboard 1 1 RCM3600 Features Small size ...

Страница 8: ...nchronous SPI serial port Supports 1 15 Mbps IrDA transceiver There are two RCM3600 production models If the standard models do not serve your needs variations can be specified and ordered in production quantities Contact your Z World or Rabbit Semiconductor sales representative for details Table 1 below summarizes the main features of the RCM3600 The RCM3600 can be programed through a USB port wi...

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

Страница 10: ...D B KLT C S LE D1 LE D3 LE D5 GN D GN D A2 A0 D1 D3 D5 D7 L2 C1 C2 IR1 R1 R2 R3 R4 Rx Tx R5 R6 C3 R9 R7 R8 JP1 J1 4 85 GND 4 85 JP2 R12 R11 U3 C4 C7 C8 C1 0 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA 4 PA 2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 PG3 GND RXC TXC RXE GN D NC U1 C12 C13 C...

Страница 11: ...rint consists of an RCM3600 RCM3700 Interposer Board a Wi Fi CompactFlash card with a CompactFlash Wi Fi Board a ribbon inter connecting cable and the software drivers and sample programs to help you enable your RCM3600 module with Wi Fi capabilities The RCM3600 RCM3700 Interposer Board is placed between the RCM3600 module and the Prototyping Board so that the CompactFlash Wi Fi Board which holds ...

Страница 12: ...6 RabbitCore RCM3600 ...

Страница 13: ...se the Windows Start Run menu or Windows Disk Explorer to launch setup exe from the root folder of the CD ROM The installation program will guide you through the installation process Most steps of the process are self explanatory Dynamic C uses a COM serial port on your PC to communicate with the target develop ment system The installation allows you to choose the COM port that will be used The de...

Страница 14: ...5 GND GND A2 A1 D1 D3 D5 D7 GND A3 A1 D0 D2 D4 D6 GND BKLT CS LED1 LED3 LED5 GND GND A2 A0 D1 D3 D5 D7 L2 C1 C2 IR1 R1 R2 R3 R4 Rx Tx R5 R6 C3 R9 R7 R8 JP1 J1 485 GND 485 JP2 R12 R11 U3 C4 C7 C8 C10 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 ...

Страница 15: ...1 R2 R3 R4 Rx Tx R5 R6 C3 R9 R7 R8 JP1 J1 485 GND 485 JP2 R12 R11 U3 C4 C7 C8 C10 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 PG3 GND RXC TXC RXE GND NC U1 C12 C13 C15 C14 L1 C17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB L...

Страница 16: ...otyping Board are now ready to be used NOTE A RESET button is provided on the Prototyping Board to allow a hardware reset without disconnecting power 2 2 3 1 Overseas Development Kits Development kits sold outside North America include a header connector that may be connected to 3 pin header J4 on the Prototyping Board The connector may be attached either way as long as it is not offset to one sid...

Страница 17: ...ing it is possible that your PC cannot handle the default debugging baud rate Try lowering the debugging baud rate as follows Locate the Serial Options dialog in the Dynamic C Options Project Options Communications menu Choose a lower debug baud rate If there are any other problems Check that the RCM3600 is powered correctly the power LED above the RESET button on the Prototyping Board should be l...

Страница 18: ...he optional LCD keypad module For advanced development topics refer to the Dynamic C User s Manual which is avail able in the online documentation set 2 5 1 Technical Support NOTE If you purchased your RCM3600 through a distributor or through a Z World or Rabbit Semiconductor partner contact the distributor or partner first for technical support If there are any problems at this point Use the Dyna...

Страница 19: ...amic C User s Manual for a suggested reading list In order to run the sample programs discussed in this chapter and elsewhere in this manual 1 Your RCM3600 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 J2 on the RCM3600 to your PC 4 Power must be ...

Страница 20: ...ng these sample programs Sample programs for the optional LCD keypad module are described in Appendix C CONTROLLED c Demonstrates use of the digital inputs by having you turn the LEDs on the Prototyping Board on or off from the STDIO window on your PC Once you compile and run CONTROLLED C the following display will appear in the Dynamic C STDIO window Press 1 or 2 on your keyboard to select LED DS...

Страница 21: ...e test pack ets and response packets have different codes DIO c Demonstrates the digital I O capabilities of the A D converter on the Proto typing Board by configuring two lines to outputs and two lines as inputs on Prototyping Board header JP4 Install a 2 2 header at JP4 on the Prototyping Board and connect pins 1 3 and pins 2 4 on header JP4 before running this sample program Once the sample pro...

Страница 22: ...RxC together using the jumpers supplied in the Development Kit as shown in the diagram A repeating triangular pattern should print out in the STDIO window The program will periodically switch flow control on or off to demonstrate the effect of no flow control Refer to the function description for serDflowcontrolOn in the Dynamic C Function Reference Manual for a general description on how to set u...

Страница 23: ...ke sure that Serial Port E is set up as an RS 232 serial port pins 1 3 and pins 2 4 on header JP2 must be jumpered together using the 2 mm jumpers sup plied in the Development Kit Then connect TxC to RxE and connect RxC to TxE on the RS 232 header at J2 using the 0 1 jumpers sup plied in the Development Kit as shown in the diagram NOTE The following two sample programs illustrating RS 485 serial c...

Страница 24: ...are connected on header JP8 AD_CALSE_CHAN C Demonstrates how to recalibrate one single ended analog input channel with one gain using two known voltages to generate the calibration constants for that channel Constants will be rewritten into user block data area Before running this program make sure that pins 3 5 are connected on headers JP5 JP6 and JP7 on the Prototyping Board No pins are connecte...

Страница 25: ...hermistor is the one included in the Development Kit whose values for beta series resistance and resistance at standard temperature are given in the part specification Before running this program install the thermistor into the AIN7 and AGND holes at location J7 on the Prototyping Board Before running the next two sample programs DNLOADCALIB C or UPLOADCALIB C connect your PC serial COM port to he...

Страница 26: ...rates how to read calibrations constants from the user block in flash memory and then transmit the file using a serial port and a PC serial utility such as Tera Term Use DNLOADCALIB C to download the calibration constants created by this program ...

Страница 27: ...ysical and electrical specifications Figure 4 shows the Rabbit based subsystems designed into the RCM3600 Figure 4 RCM3600 Subsystems SRAM Flash 11 MHz osc 32 kHz osc RabbitCore Module RABBIT 3000 Customer supplied external 3 V battery CMOS level signals RS 232 RS 485 IrDA serial communication drivers on motherboard Customer specific applications Battery Backup Circuit Level converter ...

Страница 28: ...M3600 Pinouts Header J1 is a standard 2 x 20 IDC header with a nominal 0 1 pitch Note These pinouts are as seen on the Bottom Side of the module PA6 PA4 PA2 PA0 PF0 PB2 PB4 PB7 PF5 PF7 PC1 PG2 PC3 PG3 PE5 PE1 PG7 IOWR PD4 RES GND GND PA7 PA5 PA3 PA1 PF1 PB0 PB3 PB5 PF4 PF6 PC0 PC2 PE7 PE4 PE0 PG6 IORD PD5 VBAT_EXT VIN J1 ...

Страница 29: ...Table 2 lists the Rabbit 3000 factory defaults and the alternate configurations RABBIT 3000 Port A Port B Port D Ethernet Port Port E PA0 PA7 PB0 PB7 PB2 PB5 PE0 PE1 PE4 PE5 PE7 PD4 PD5 RES IOWR Watchdog 11 Timers Clock Doubler Slave Port Real Time Clock RAM Backup Battery Support Flash Port F PF4 PF7 Misc I O RES IORD PG2 PG3 PG6 PG7 Port C Serial Ports C D Programming Port Serial Port A PC6 PB1 ...

Страница 30: ... 1 Slave port read 14 PB4 Input Output IA2 SA0 External Address 2 Slave Port Address 0 15 PB5 Input Output IA3 SA1 External Address 3 Slave Port Address 1 16 PB7 Input Output IA5 SLAVEATTN External Address 5 Slave Port Attention 17 PF4 Input Output AQD1B PWM0 18 PF5 Input Output AQD1A PWM1 19 PF6 Input Output AQD2B PWM2 20 PF7 Input Output AQD2A PWM3 21 PC0 Output TXD Serial Port D 22 PC1 PG2 Inpu...

Страница 31: ... 30 PG7 Input Output RXE Serial Port E 31 PG6 Input Output TXE 32 IOWR Output External write strobe 33 IORD Input External read strobe 34 PD4 Input Output ATXB Alternate Serial Port B 35 PD5 Input Output ARXB 36 RES Reset output Reset input Reset output from Reset Generator 37 VBAT 38 GND 39 5 V 40 GND Table 2 RCM3600 Pinout Configurations continued Pin Pin Name Default Use Alternate Use Notes ...

Страница 32: ...rnal I O from the main data bus Parallel Port B pins PB2 PB5 and PB7 can also be used as an auxiliary address bus When using the auxiliary I O bus for either Ethernet or the LCD keypad module on the Prototyping Board or for any other reason you must add the following line at the begin ning of your program define PORTA_AUX_IO required to enable auxiliary I O bus 4 1 2 Other Inputs and Outputs RES i...

Страница 33: ...serial port once application development has been completed and the RCM3600 is operating in the Run Mode Serial Ports C and D can also be operated in the clocked serial mode In this mode a clock line synchronously clocks the data in or out Either of the two communicating devices can supply the clock Serial Ports E and F can also be configured as HDLC serial ports The IrDA protocol is also supporte...

Страница 34: ...ronous serial port an asynchronous serial port with the clock line usable as a general CMOS input The programming port may also be used as a serial port via the DIAG connector on the programming cable In addition to Serial Port A the two Rabbit 3000 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 ...

Страница 35: ...R2 R3 R4 Rx Tx R5 R6 C3 R9 R7 R8 JP1 J1 485 GND 485 JP2 R12 R11 U3 C4 C7 C8 C10 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 PG3 GND RXC TXC RXE GND NC U1 C12 C13 C15 C14 L1 C17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD...

Страница 36: ...programmed successfully remove the programming cable from the programming connector and reset the RCM3600 The RCM3600 may be reset by removing then reapplying power or by pressing the RESET button on the Prototyping Board The RCM3600 module may now be removed from the Prototyping Board for end use installation CAUTION Power to the Prototyping Board or other boards should be disconnected when remov...

Страница 37: ... 3000 features a spectrum spreader which helps to mitigate EMI problems The spectrum spreader is on by default but it may also be turned off or set to a stronger setting by changing the following macro in the BIOS define ENABLE_SPREADER 1 Set to 0 to disable spectrum spreader 1 to enable normal spreading or 2 to enable strong spreading NOTE Refer to the Rabbit 3000 Microprocessor User s Manual for...

Страница 38: ... Rabbit 3000 Micropro cessor Designer s Handbook for additional information A Flash Memory Bank Select jumper configuration option based on 0 Ω surface mounted resistors exists at header JP1 on the RCM3600 modules This option used in conjunction with some configuration macros allows Dynamic C to compile two different co resident programs for the upper and lower halves of the 512K flash in such a w...

Страница 39: ...ons Compiler menu The advantage of working in RAM is to save wear on the flash memory which is limited to about 100 000 write cycles The disadvantage is that the code and data might not both fit in RAM NOTE An application can be compiled in RAM but cannot run standalone from RAM after the programming cable is disconnected All standalone applications can only run from flash memory NOTE Do not depen...

Страница 40: ...cial format for library functions Standard 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 ope...

Страница 41: ...figured for Prototyping Board operation 2 Unused configurable I O are set as tied inputs or outputs 3 The LCD keypad module is disabled 4 RS 485 is not enabled 5 RS 232 is not enabled 6 The IrDA transceiver is disabled 7 LEDs are off 8 The A D converter is reset and SCLKB is to 57 600 bps 9 The A D converter calibration constants are read this function cannot run in RAM CAUTION Pin PB7 is connecte...

Страница 42: ...5 Input AIN5 LN6 Input AIN6 LN7 Input AIN7 RESET Input Board reset device RISE FALL Input Pulled up for SCLK active on rising edge PIO0 Input Pulled down PIO1 Input Pulled down PIO2 Input Pulled down PIO3 Input Pulled down CONVERT Input Pulled down BUSY Output PD1 pulled down logic high state converter is busy CCLKCNTRL Input Pulled down 0 state sets CCLK as input CCLK Input Pulled down external c...

Страница 43: ...he registers addressed by the instruction byte Enter 0 if you are performing a read operation For example i anaInConfig 0x07 0x3b 0 write ref osc reg and enable baud is the serial clock transfer rate of 9600 to 57 600 bps baud 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 baud RETURN VALUE 0 on...

Страница 44: ...e as follows D7 1 D6 D4 Gain Code D3 D0 Channel Code Use the following calculation and the tables below to determine cmd cmd 0x80 gain_code 16 channel_code len the output bit length is always 12 for 11 bit conversions unsigned int anaInDriver unsigned int cmd unsigned int len Gain Code Multiplier 0 x1 1 x2 2 x4 3 x5 4 x8 5 x10 6 x16 7 x20 Channel Code Differential Input Lines Channel Code Single E...

Страница 45: ...RN VALUE A value corresponding to the voltage on the analog input channel 0 2047 for 11 bit conversions bit 12 for sign 1 overflow or out of range 2 conversion incomplete busy bit timeout SEE ALSO anaInConfig anaIn brdInit ...

Страница 46: ...the mode of operation SINGLE single ended input DIFF differential input mAMP 4 20 mA input gaincode is the gain code of 0 to 7 unsigned int anaIn unsigned int channel int opmode int gaincode channel SINGLE DIFF mAMP 0 AIN0 AIN0 AIN1 AIN0 Not accessible on RCM3600 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 AIN6 A...

Страница 47: ...nding to the voltage on the analog input channel 0 2047 for 11 bit A D conversions signed 12th bit ADOVERFLOW defined macro 4096 if overflow or out of range 4095 if conversion is incomplete or busy bit timeout SEE ALSO anaIn anaInConfig anaInDriver ...

Страница 48: ...N7 opmode is the mode of operation SINGLE single ended input DIFF differential input mAMP milliamp input gaincode is the gain code of 0 to 7 int anaInCalib int channel int opmode int gaincode int value1 float volts1 int value2 float volts2 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...

Страница 49: ...r channel value 0 to 20 V or 4 to 20 mA value2 is the second A D converter channel value 0 2047 volts2 is 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 ...

Страница 50: ...efined macro 4096 if overflow or out of range SEE ALSO anaInCalib anaIn anaInmAmps brdInit float anaInVolts unsigned int channel unsigned int gaincode Channel Code Single Ended Input Lines Negative input is ground Voltage Range V Applies to RCM3600 Prototyping Board 0 AIN0 0 20 1 AIN1 0 20 2 AIN2 0 20 3 AIN3 0 20 4 AIN4 0 20 5 AIN5 0 20 6 AIN6 0 20 7 AIN7 0 2 Used for thermistor in sample program ...

Страница 51: ...e voltage on the analog input channel ADOVERFLOW defined macro 4096 if overflow or out of range SEE ALSO anaInCalib anaIn anaInmAmps brdInit float anaInDiff unsigned int channel unsigned int gaincode channel DIFF Voltage Range V 0 AIN0 AIN1 20 to 20 Applies to RCM3600 Prototyping Board 1 AIN1 AIN0 2 AIN2 AIN3 20 to 20 3 AIN3 AIN2 4 AIN4 AIN5 20 to 20 5 AIN5 AIN4 6 AIN6 AIN7 7 AIN7 AIN6 Gain Code M...

Страница 52: ...0 7 RETURN VALUE A current value between 4 00 and 20 00 mA corresponding to the current on the analog input channel ADOVERFLOW defined macro 4096 if overflow or out of range SEE ALSO anaInCalib anaIn anaInVolts float anaInmAmps unsigned int channel Channel Code 4 20 mA Input Lines Negative input is ground 0 AIN0 1 AIN1 2 AIN2 3 AIN3 Applies to RCM3600 Prototyp ing Board 4 AIN4 5 AIN5 6 AIN6 7 AIN7...

Страница 53: ... 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 is the analog input channel number 0 to 7 corresponding to ADC_IN0 to ADC_IN7 opmode is the mode of operation SINGLE single ended input line DIFF differential input line mAMP milliamp input line root int anaInEERd unsigned int channel unsi...

Страница 54: ...is ignored when channel is ALLCHAN RETURN VALUE 0 if successful 1 if address is invalid or out of range 2 if there is no valid ID block SEE ALSO anaInEEWr anaInCalib Gain Code Voltage Range V Applies to RCM3600 Prototyping Board 0 0 20 1 0 10 2 0 5 3 0 4 4 0 2 5 5 0 2 6 0 1 25 7 0 1 ...

Страница 55: ...alog input channels ADC_CALIB_ADDRM address start of milliamp analog input channels NOTE This function cannot be run in RAM PARAMETER channel is the analog input channel number 0 to 7 corresponding to ADC_IN0 ADC_IN7 opmode is the mode of operation SINGLE single ended input line DIFF differential input line mAMP milliamp input line int anaInEEWr unsigned int channel unsigned int opmode unsigned in...

Страница 56: ...em to be used as digital I O via header JP4 on the RCM3600 Prototyping Board Remember to execute the brdInit function before calling this function to prevent a runtime error PARAMETER statemask is a bitwise mask representing JP4 channels 1 to 4 Use logic 0 for inputs and logic 1 for outputs in these bit positions bits 7 5 0 bit 4 JP4 4 bit 3 JP4 3 bit 2 JP4 2 bit 1 JP4 1 bit 0 0 RETURN VALUE None ...

Страница 57: ... a logic state of 0 or 1 RETURN VALUE None SEE ALSO brdInit digIn Reads the state of a digital input channel on header JP4 of the RCM3600 Prototyping Board The PIO0 to PIO3 channels on the A D converter chip are accessed via header JP4 on the RCM3600 Prototyping Board A runtime error will occur if the brdInit function was not executed before calling this function or if the channel is out of range ...

Страница 58: ...ce the timeout has ended the RCM3600 will resume operating at 22 1 MHz The analog device oscillator will be dis abled until the timeout occurs and will then be enabled as well PARAMETERS timeout is the length of the timeout in seconds RETURN VALUE None This function is used to poll a digital input for a certain value or until the specified timeout occurs The RCM3600 will operate in a low power mod...

Страница 59: ...ctions where packets can be delimited by the 9th bit by transmission gaps or with user defined special characters Both libraries provide 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...

Страница 60: ... Dynamic C installations are designed for use with the board they are included with and are included at no charge as part of our low cost kits Z World offers add on Dynamic C modules including the popular µC OS II real time operating system as well as PPP Advanced Encryption Standard AES and other select libraries In addition to the Web based technical support included at no extra charge a one yea...

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

Страница 62: ...ng tolerance of 0 01 0 25 mm Please refer to the RCM3600 footprint diagram later in this appendix for precise header locations R23 C31 C32 C34 C4 C33 C7 C2 JP3 JP2 JP1 R1 C1 C12 C13 C21 C14 C18 C15 U1 U4 R13 U5 C25 C17 C16 C5 C19 RP1 C20 RP3 C10 R11 Y1 C24 R4 R5 C22 C23 R6 RP5 R8 R16 R15 R2 R9 U2 U3 J2 C26 Q1 R14 R18 U6 R22 R7 C11 C8 C9 R3 0 20 5 0 0 20 5 0 0 13 3 3 0 37 9 3 0 052 1 3 2 110 53 6 2...

Страница 63: ... boards will allow for sufficient air flow and will help to minimize any electrical or electromagnetic interference between adjacent boards An exclusion zone of 0 08 2 mm is recommended below the RCM3600 when the RCM3600 is plugged into another assembly using the shortest connectors for header J1 Figure A 2 shows this exclusion zone Figure A 2 RCM3600 Exclusion Zone 0 08 2 0 08 2 0 20 5 0 0 04 1 E...

Страница 64: ... SPI plus 2 HDLC serial ports with IrDA Serial Rate Maximum asynchronous baud rate CLK 8 Slave Interface A slave port allows the RCM3600 to be used as an intelligent peripheral device slaved to a master processor which may either be another Rabbit 3000 or any other type of processor Real Time Clock Yes Timers Ten 8 bit timers 6 cascadable one 10 bit timer with 2 match registers Watchdog Supervisor...

Страница 65: ... J1 is a 2 20 SMT header with a 0 1 pin spacing Figure A 3 shows the layout of another board for the RCM3600 to be plugged into These values are relative to the designated fiducial reference point Figure A 3 User Board Footprint for RCM3600 1 519 38 6 RCM3600 Footprint J1 0 597 15 2 1 100 27 9 1 629 41 4 ...

Страница 66: ...ive bus loading for the various RCM3600 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 3 Table A 2 Capacitance of Rabbit 3000 I O Ports I O Ports Input Capacitance pF Output Capacitance pF Parallel Ports A to G 12 14 Table A 3 External Capacitive Bus Loading 40 C to 85 C Output Port Clock Speed MHz ...

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

Страница 68: ... and Thold When the spectrum spreader and the clock doubler are both enabled every other clock cycle is shortened sometimes lengthened by a maximum amount given in Table A 4 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 maximum shortening for a pair of clocks combined...

Страница 69: ... 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 Maximum Operating Voltage 3 6 V Table A 6 3 3 Volt DC Characteristics Symbol Parameter Test Conditions Min Typ Max Units VDD Supply Voltage 3 0 3 3 3 6 V VIH High Level Input Voltage 2 0 V VIL Low Level Input Volt...

Страница 70: ...capacitive loading on address and data lines of less than 100 pF per pin The absolute 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 RCM3600 Table A 7 I O Buffer Sourcing and Sinking Capability Pin Name Output Drive Full AC Switching Sourcing Sinking Limits mA Sourcing Sinking All data ...

Страница 71: ...ing Any components in the conformally coated area may be replaced using standard soldering procedures for surface mounted 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 Technical Note 303 Con formal Coatings Conformally coated area R23 C31 C32 C34 C4 C...

Страница 72: ...ns Table A 8 lists the configuration options NOTE The jumper connections are made using 0 Ω surface mounted resistors Table A 8 RCM3600 Jumper Configurations Header Description Pins Connected Factory Default JP1 Flash Memory Bank Select 1 2 Normal Mode 2 3 Bank Mode JP2 SRAM Size 1 2 128K 256K RCM3610 2 3 512K RCM3600 JP3 Flash Memory Size 1 2 256K RCM3610 2 3 512K RCM3600 Top Side JP2 JP1 JP3 ...

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

Страница 74: ... PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 PG3 GND RXC TXC RXE GND NC U1 C12 C13 C15 C14 L1 C17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET 5V VBAT PD5 IORD PG6_TXE PE0 PE4 PE7 PC2_TXC PC0_TXD PF6 PF4 PB5 PB3 PB0 PF1 PA1 PA3 PA5 PA7 ...

Страница 75: ...t normally open switches are con nected to the PF4 and PB7 pins of the RCM3600 module and may be read as inputs by sample applications Two LEDs are connected to the PF6 and PF7 pins of the RCM3600 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 bu...

Страница 76: ...transceiver is in use A 10 pin 0 1 inch spacing header strip is installed at J2 allows you to connect a ribbon cable that leads to a standard DE9 serial connector RS 485 One RS 485 serial port is available on the Prototyping Board at shrouded header J1 A 3 pin shrouded header is installed at J1 A jumper on header JP2 enables the RS 485 output for Serial Port E IrDA An infrared transceiver is inclu...

Страница 77: ...4 L1 C17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET 5V VBAT PD5 IORD PG6_TXE PE0 PE4 PE7 PC2_TXC PC0_TXD PF6 PF4 PB5 PB3 PB0 PF1 PA1 PA3 PA5 PA7 J5 GND R16 GND RES PD4 IOWR PE1 PE5 PC3 PG3 PF7 PF5 PB7 PB4 PB2 PF0 PA0 PA2 PA4 PA6 PG7 RXE PC1 PG2 C22 C26 R21 R18 C20 R19 C21 R20 R22 JP4 1 2 RP1 CX1 CX2 CX3 CX4 CX5 CX6...

Страница 78: ...ng Board Specifications Parameter Specification Board Size 4 50 x 6 50 x 0 75 114 mm x 165 mm x 19 mm Operating Temperature 20 C to 60 C Humidity 5 to 95 noncondensing Input Voltage 7 5 V to 30 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 A D Converter 8 channel ADS7870 with programmable gain configurable for 11 bit single end...

Страница 79: ...inouts are shown in Figure B 4 Figure B 4 Prototyping Board Pinout J2 GND TxE RxD TxD GND RxE TxC RxC GND J9 J1 J7 GND IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PC3 PG3 PC2_TxC PE4 PE0 PG6_TxE PD5 GND IORD PB5 PB3 PA0 PA2 PA4 PA6 PB0 RES 5 V PF4 PF6 PC1 PG2 PC0_TxD PE5 PE1 PG7_RxE PD4 VBAT J3 J3 RS 485 GND RS 485 RCM3700 Non Analog Signals RS 232 J8 Thermistor VREF CONVERT ANALOG_GND TH...

Страница 80: ...he Prototyping Board The holes in the prototyping area are spaced at 0 1 2 5 mm 3 3 V 5 V and GND traces run along both edges of the prototyping area for easy access Small to medium circuits can be prototyped using point to point wiring with 20 to 30 AWG wire between the prototyping area the 3 3 V 5 V and GND traces and the surrounding area where surface mount components may be installed Small hol...

Страница 81: ...verter input circuits The resistors form an approxi mately 10 1 attenuator and the capacitor filters noise pulses from the A D converter input Figure B 5 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 can be paired to make differential me...

Страница 82: ...and so is not available for use as a differential input There is also no resistor attenuator for THERM_IN7 so its input voltage range is limited 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 differen...

Страница 83: ... C sample program which demon strates how to use analog input THERM_IN7 to calculate temperature for display to the Dynamic C STDIO window The sample program is targeted specifically for the thermistor included with the Development Kit with R0 25 C 3 kΩ and β 25 85 3965 Be sure to use the applicable R0 and β values for your thermistor if you use another thermistor Install the thermistor at locatio...

Страница 84: ...imited output current capability The internal buffer can source up to 20 mA and sink only up to 20 µA A separate buffer amplifier at U7 supplies the load current The A D converter s CONVERT pin is available on pin 2 of shrouded header J8 and can be used as a hardware means of forcing the A D converter to start a conversion cycle The CONVERT signal is an edge triggered event and has a hold time of ...

Страница 85: ...ration is performed and the jumper is subsequently moved the corresponding input s must be recalibrated The calibration table in software only holds calibration constants based on mode channel and gain Other factors affecting the calibration must be taken into account by calibrating using the same mode and gain setup as in the intended use Sample programs are provided to illustrate how to read and...

Страница 86: ...Port E is configured in hardware for RS 232 or RS 485 via jumpers on header JP2 as shown in Section B 5 Serial Port F is configured in software for the IrDA transceiver in lieu of Serial Ports C and D Table B 4 RCM3600 Prototyping Board Serial Port Configurations Serial Port Signal Header Configured via Header Default Use Alternate Use C J2 JP2 RS 232 D J2 JP2 RS 232 E J1 J2 JP1 JP2 RS 485 J1 RS 2...

Страница 87: ...On 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 parallel ...

Страница 88: ...rEopen define ser485close serEclose define ser485wrFlush serEwrFlush define ser485rdFlush serErdFlush define ser485putc serEputc define ser485getc serEgetc define EINBUFSIZE 15 define EOUTBUFSIZE 15 The configuration shown above is based on circular buffers RS 485 configuration may also be done using functions from the PACKET LIB library The RCM3600 Prototyping Boards with RCM3600 modules installe...

Страница 89: ...11 U3 C4 C7 C8 C10 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 PG3 GND RXC TXC RXE GND NC U1 C12 C13 C15 C14 L1 C17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET ...

Страница 90: ...typing Board Jumper Configurations Figure B 10 shows the header locations used to configure the various RCM3600 Prototyp ing Board options via jumpers Figure B 10 Location of RCM3600 Configurable Positions JP1 JP2 JP4 JP8 JP5 JP6 JP7 Battery ...

Страница 91: ...mpers JP2 RS 232 RS 485 on Serial Port E 1 3 2 4 RS 232 3 5 4 6 RS 485 JP4 A D Converter Outputs 1 PIO_0 n c 2 PIO_1 n c 3 PIO_2 n c 4 PIO_3 n c JP5 ADC_IN4 ADC_IN5 1 2 Tied to VREF 2 3 Tied to analog ground JP6 ADC_IN2 ADC_IN3 1 2 Tied to VREF 2 3 Tied to analog ground JP7 ADC_IN0 ADC_IN1 1 2 Tied to VREF 2 3 Tied to analog ground JP8 Analog Voltage 4 20 mA Options 1 2 Connect for4 20mAoptiononAD...

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

Страница 93: ...shown in Figure C 1 Figure C 1 LCD Keypad Modules Versions Both versions can mount directly on the Prototyping Board and the version with a bezel can be installed at a remote location up to 60 cm 24 away Contact your Z World sales representative or your authorized Z World distributor for further assistance in purchasing an LCD keypad module Mounting hardware and a 60 cm 24 extension cable are also...

Страница 94: ...nections Connects to high rise header sockets on the Prototyping Board LCD Panel Size 122 x 32 graphic display Keypad 7 key keypad LEDs Seven user programmable LEDs The LCD keypad module has 0 1 IDC headers at J1 J2 and J3 for physical connection to other boards or ribbon cables Figure C 2 shows the LCD keypad module footprint These values are relative to one of the mounting holes NOTE All measure...

Страница 95: ... not have a header at J5 or a contrast adjust ment potentiometer at R2 are limited to operate only at 5 V and will not work with the RCM3600 Prototyping Board The older LCD keypad modules are no longer being sold C2 R2 R1 C3 D2 C1 D1 C5 U2 JP1 R3 U1 C4 C10 CR1 R6 C13 C12 R7 R8 R25 R26 R11 R13 R14 R10 R9 R12 R15 R18 Q8 R16 Q5 R21 Q2 U5 J2 DISPLAY BOARD J4 KP1 R17 Q4 R22 Q6 R23 Q7 R20 Q3 R19 U7 C14 ...

Страница 96: ...egend 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 C 5 Figure C 5 Removing and Inserting Keypad Label The sample program KEYBASIC C in the 122x32_1x7 folder in SAMPLES LCD_KEYPAD shows how to reconfigure the keypad for different applications 1 10 28 2 35 ...

Страница 97: ...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 backlight on off 0xExxC ExxF Not used DB6B DB4B DB2B DB0B A1B A3B GND LED7 LED5 LED3 LED1 RES VCC DB7B DB5B DB3B DB1B A0B A2B GND GND LED6 LED4 LED2 CS 5BKLT J1 GND GND LED6 LED4 LED2 PE7 5BKLT GND LED7 L...

Страница 98: ...JP1 J1 485 GND 485 JP2 R12 R11 U3 C4 C7 C8 C10 R13 C11 U4 C5 C6 C9 J2 GND IORD PB5 PB3 PA0 PA6 PB0 RES 5V PF4 PF6 PC1 PG2 PC0_TXD PE5 PE1 PG7_RXE PD4 VBAT PA4 PA2 IOWR PE7 PB4 PB2 PA1 PA3 PA5 PA7 PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 PG3 GND RXC TXC RXE GND NC U1 C12 C13 C15 C14 L1 C17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD...

Страница 99: ... PB7 PF0 PF1 PF5 PF7 PE4 PE0 PD5 PG6 TXE PC2 TXC PC3 PG3 GND RXC TXC RXE GND NC U1 C12 C13 C15 C14 L1 C17 U2 C18 U6 R14 D1 C19 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET 5V VBAT PD5 IORD PG6_TXE PE0 PE4 PE7 PC2_TXC PC0_TXD PF6 PF4 PB5 PB3 PB0 PF1 PA1 PA3 PA5 PA7 J5 GND R16 GND RES PD4 IOWR PE1 PE5 PC3 PG3 PF7 PF5 PB7 PB4 PB2 PF0 PA0 PA...

Страница 100: ...el mount installation 1 Cut mounting holes in the mounting panel in accordance with the recommended dimen sions in Figure C 9 then use the bezel faceplate to mount the LCD keypad module onto the panel Figure C 9 Recommended Cutout Dimensions 2 Carefully drop in the LCD keypad module with the bezel and gasket attached 3 400 86 4 3 100 78 8 2 870 72 9 0 230 5 8 0 125 D 4x 3 CUTOUT 0 130 3 3 ...

Страница 101: ...e 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 sequence until all are tightened manually as far as they can be so that the gasket is compressed and the plastic bezel faceplate is touching the panel Bezel Gasket DISPLAY BOARD U1 U2 C1 C2 C3 C4 U3 R17 J1 Q1 D...

Страница 102: ...9 D2 J4 DCIN 3 3V GND 5V 5V GND 3 3V LCD1JB LCD1JC LCD1JA U5 C16 R15 BT1 GND TXD RXD TXE GND TCM_SMT_SOCKET 5V VBAT PD5 IORD PG6_TXE PE0 PE4 PE7 PC2_TXC PC0_TXD PF6 PF4 PB5 PB3 PB0 PF1 PA1 PA3 PA5 PA7 J5 GND R16 GND RES PD4 IOWR PE1 PE5 PC3 PG3 PF7 PF5 PB7 PB4 PB2 PF0 PA0 PA2 PA4 PA6 PG7 RXE PC1 PG2 C22 C26 R21 R18 C20 R19 C21 R20 R22 JP4 1 2 RP1 CX1 CX2 CX3 CX4 CX5 CX6 CX7 CX8 CX9 CX10 CX11 UX2 U...

Страница 103: ...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 program will light up an LED on the LCD keypad module and will display a message on the LCD when a key press is detected The DS1 and DS2 LEDs on the Prototyping Board will also light up LCDKEYFUN C This program demonstrates how t...

Страница 104: ...n call RETURN VALUE None C 9 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 LED is turned off when the brdInit function executes One function is available to control the LEDs and can be found in the Dynamic C LIB DISPLAYS LCD122KEY7_LIB library LED on off control This func...

Страница 105: ...light glSetContrast glPlotDot glBlock glPlotDot glPlotPolygon glPlotCircle glHScroll glVScroll glXFontInit glPrintf glPutChar glSetBrushType glBuffLock glBuffUnlock glPlotLine Turns the display backlight on or off PARAMETER onOff turns the backlight on or off 1 turn the backlight on 0 turn the backlight off RETURN VALUE None SEE ALSO glInit glDispOnoff glSetContrast Sets the LCD screen on or off D...

Страница 106: ...lPlotPolygon glPlotCircle Fills a rectangular block in the LCD buffer with the pattern specified Any portion of the block that is outside the LCD display area will be clipped PARAMETERS left is the x coordinate of the top left corner of the block top is the y coordinate of the top left corner of the block width is the width of the block height is the height of the block pattern is the bit pattern ...

Страница 107: ...al stripes for any other pattern RETURN VALUE None SEE ALSO glFillScreen glBlankScreen glBlock glBlankRegion Clears a region on the LCD display The block left and width parameters must be byte aligned Any por tion of the block that is outside the LCD display area will be clipped PARAMETERS left is the x coordinate of the top left corner of the block x must be evenly divisible by 8 top is the y coo...

Страница 108: ...e SEE ALSO glFillScreen glBlankScreen glPlotPolygon glPlotCircle 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 are specified the function will return without doing anything PARAMETERS n is the number of vertices pFirstCoord is a pointer to array ...

Страница 109: ...dinate of the second vertex are the coordinates of additional vertices RETURN VALUE None SEE ALSO glPlotVPolygon glFillPolygon glFillVPolygon Fills a polygon in the LCD page buffer and on the LCD screen 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 are specified the function will return without doing anything PARA...

Страница 110: ...e buffer is unlocked Any por tion of the circle that is outside the LCD display area will be clipped PARAMETERS xc is the x coordinate of the center of the circle yc is the y coordinate of the center of the circle rad is the radius of the center of the circle in pixels RETURN VALUE None SEE ALSO glFillCircle glPlotPolygon glFillPolygon Draws a filled circle in the LCD page buffer and on the LCD if...

Страница 111: ...r is the value of the last printable character in the font character set xmemBuffer is the xmem pointer to a linear array of font bitmaps RETURN VALUE None SEE ALSO glPrinf Returns the xmem address of the character from the specified font set PARAMETERS pInfo is the xmem address of the bitmap font set letter is an ASCII character RETURN VALUE xmem address of bitmap character font column major and ...

Страница 112: ...step increments depend on the height and width of the font being displayed which are multi plied by the step values PARAMETERS stepX is the glPrintf x step value stepY is the glPrintf y step value RETURN VALUE None SEE ALSO Use glGetPfStep to examine the current x and y printing step direction Gets the current glPrintf printing step direction Each step direction is independent of the other and is ...

Страница 113: ... much like printf on the LCD screen Only the character codes that exist in the font set are printed all others are skipped For example b t n and r ASCII backspace tab new line and carriage return respectively will be printed if they exist in the font set but will not have any effect as control characters Any portion of the bitmap character that is outside the LCD display area will be clipped PARAM...

Страница 114: ...D buffer are transferred to the LCD if the counter goes to zero RETURN VALUE None SEE ALSO glBuffLock glSwap Checks the LCD screen locking counter The contents of the LCD buffer are transferred to the LCD if the counter is zero RETURN VALUE None SEE ALSO glBuffUnlock glBuffLock _glSwapData located in the library specifically for the LCD that you are using Sets the drawing method or color of pixels...

Страница 115: ...the xmem RAM storage address of the bitmap RETURN VALUE None Draws bitmap in the specified space The data for the bitmap are stored in xmem This function is similar to glXPutBitmap except that it s faster The bitmap must be byte aligned Any portion of a bitmap image or character that is outside the LCD display area will be clipped This function call is intended for use only when a graphic engine i...

Страница 116: ...oordinate of one endpoint of the line x1 is the x coordinate of the other endpoint of the line y1 is the y coordinate of the other endpoint of the line RETURN VALUE None SEE ALSO glPlotDot glPlotPolygon glPlotCircle Scrolls byte aligned window left one pixel right column is filled by current pixel type color PARAMETERS left is the top left corner of bitmap must be evenly divisible by 8 otherwise t...

Страница 117: ... 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 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 of bitmap must be even...

Страница 118: ... 8 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 be evenly divisible by 8 top is the top left corner of the bitmap cols is the number of columns in the window must be evenly divisible by 8 rows is the number of rows in the window nPix is the numb...

Страница 119: ...venly 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 ALSO glHScroll Draws bitmap in the specified space The data for the bitmap are stored in xmem This function calls glXPutFastmap automatically if the bitmap is byte aligned the left edge and the width are each ...

Страница 120: ...dow 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 displayed NOTE Execute the TextWindowFrame function before other Text functions PARAMETERS window is a pointer to the window frame descriptor pFont is a pointer to the font descriptor x is the x coordinate of the top left corner of...

Страница 121: ... detected then it will be written center aligned to the top of the text menu box RETURN VALUE None SEE ALSO TextBorder TextGotoXY TextPutChar TextWindowFrame TextCursorLocation This function displays the border for a given window frame This function will automatically adjust the text window parameters to accommodate the space taken by the text border This adjustment will only occur once after the ...

Страница 122: ... 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 window is a pointer to a font descriptor col is a pointer to cursor column variable row is a pointer to cursor row variable RETURN VALUE Lower word Cursor Row location Upper word Cursor Column location ...

Страница 123: ...nly printable characters in the font set are printed escape sequences r and n are also recognized All other escape sequences will be skipped over for example b and t will will cause nothing to be displayed The text window feature provides end of line wrapping and clipping after the character in the last col umn and row is displayed The cursor then remains at the end of the string NOTE Execute the ...

Страница 124: ...ber of characters that can be displayed within the text window SEE ALSO TextGotoXY TextPrintf TextWindowFrame TextCursorLocation This functions clears the entire area within the specified text window NOTE Execute the TextWindowFrame function before using this function PARAMETERS wPtr is a pointer to the window frame descriptor RETURN VALUE None SEE ALSO TextGotoXY TextPrintf TextWindowFrame TextCu...

Страница 125: ...alue 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 hold tick which is approximately one debounce period or 5 µs How long to hold before repeating 0 No Repeat cSpdLo is a low speed repeat tick which is approximately one debounce period or 5 µs How many times to r...

Страница 126: ...assignment 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 The next keypress or 0 if none SEE ALSO keyConfig keyProcess keypadDef Pushes the value of cKey to the top of the input queue which is 16 bytes deep PARAMETER cKey RETURN VALUE None SEE ALSO keyGet ...

Страница 127: ... 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 keypress with no repeat RETURN VALUE None SEE ALSO keyConfig keyGet keyProcess Writes 1 to each row and reads the value The position of a keypress is indicated by a zero value in a bit position PARAMETER pc...

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

Страница 129: ...lly draws 60 mA when operating at 22 1 MHz Take care that any DC loading for example sourcing digital outputs does not increase the overall current to more than 190 mA to keep the 3 3 V linear regulator from overheating D 1 1 Battery Backup Circuits The RCM3600 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 3000...

Страница 130: ...n the battery while it is powered up normally D 1 2 Reset Generator The RCM3600 uses a reset generator to reset the Rabbit 3000 microprocessor when the voltage drops below the voltage necessary for reliable operation The reset occurs between 2 55 V and 2 70 V typically 2 63 V The RCM3600 has a reset pin pin 36 on header J1 This pin provides access to the reset output from the reset generator and i...

Страница 131: ...perfect Bugs are always present in a system of any size In order to prevent danger to life or property it is the responsibility of the system designer to incorporate redundant protective mechanisms appropriate to the risk involved All Z World products are 100 percent functionally tested Additional testing may include visual quality con trol inspections or mechanical defects analyzer inspections Sp...

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

Страница 133: ...settings 11 E exclusion zone 57 F features 1 Prototyping Board 68 69 flash memory addresses user blocks 32 H hardware connections install RCM3600 on Prototyping Board 8 power supply 10 programming cable 9 hardware reset 10 headers Prototyping Board JP1 83 JP2 80 I I O address assignments LCD keypad module 91 I O buffer sourcing and sinking limits 64 J jumper configurations 66 JP3 flash memory size...

Страница 134: ...9 ANAINCONFIG C 19 DNLOADCALIB C 19 THERMISTOR C 19 77 UPLOADCALIB C 20 getting to know the RCM3600 CONTROLLED C 14 DIO C 15 FLASHLED1 C 14 IR_DEMO C 15 TOGGLESWITCH C 15 LCD keypad module 97 KEYBASIC C 90 KEYPADTOLED C 97 LCDKEYFUN C 97 reconfigure keypad 90 SWITCHTOLED C 97 PONG C 11 serial communication FLOWCONTROL C 16 PARITY C 16 SIMPLE3WIRE C 17 SIMPLE485MASTER C 17 SIMPLE485SLAVE C 17 SIMPL...

Страница 135: ...on driv ers 53 writeUserBlock 32 specifications 55 bus loading 60 digital I O buffer sourcing and sinking limits 64 dimensions 56 electrical mechanical and environmental 56 58 exclusion zone 57 header footprint 59 headers 59 LCD keypad module dimensions 87 electrical 88 header footprint 88 mechanical 88 relative pin 1 locations 88 temperature 88 Prototyping Board 72 Rabbit 3000 DC characteris tics...

Страница 136: ...130 RabbitCore RCM3600 ...

Страница 137: ...tsemiconductor com documentation schemat 090 0156 pdf 090 0128 Programming Cable Schematic www rabbitsemiconductor com documentation schemat 090 0128 pdf The schematics included with the printed manual were the latest revisions available at the time the manual was last revised The online versions of the manual contain links to the latest revised schematic on the Web site You may also use the URL i...

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

Отзывы: