Summary of the content on the page No. 1
RabbitCore RCM4000
C-Programmable Analog Core Module
with Ethernet
User’s Manual
019–0157 • 060501–A
Summary of the content on the page No. 2
RabbitCore RCM4000 User’s Manual Part Number 019-0157 • 060501–A • Printed in U.S.A. ©2006 Rabbit Semiconductor • All rights reserved. Rabbit Semiconductor reserves the right to make changes and improvements to its products without providing notice. Trademarks Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor. Rabbit 4000 and RabbitCore are trademarks of Rabbit Semiconductor. Rabbit Semiconductor 2900 Spafford Street Davis, California 95616-6809 USA Telephone: (530) 757-
Summary of the content on the page No. 3
TABLE OF CONTENTS Chapter 1. Introduction 1 1.1 RCM4000 Features ...............................................................................................................................2 1.2 Advantages of the RCM4000 ...............................................................................................................3 1.3 Development and Evaluation Tools......................................................................................................4 1.3.1 RCM4000 Deve
Summary of the content on the page No. 4
4.5 Other Hardware .................................................................................................................................. 38 4.5.1 Clock Doubler ............................................................................................................................ 38 4.5.2 Spectrum Spreader...................................................................................................................... 38 4.6 Memory .......................................
Summary of the content on the page No. 5
B.4.4 Serial Communication..............................................................................................................103 B.4.4.1 RS-232............................................................................................................................. 104 B.5 Prototyping Board Jumper Configurations ......................................................................................105 Appendix C. Power Supply 109 C.1 Power Supplies..............................
Summary of the content on the page No. 6
RabbitCore RCM4100
Summary of the content on the page No. 7
1. INTRODUCTION The RCM4000 series of RabbitCore modules is one of the next ® generation of core modules that take advantage of new Rabbit 4000 features such as hardware DMA, clock speeds of up to 60 MHz, I/O lines shared with up to five serial ports and four levels of alternate pin functions that include variable-phase PWM, auxiliary I/O, quadrature decoder, and input capture. Coupled with more than 500 new opcode instructions that help to reduce code size and improve processing speed, this eq
Summary of the content on the page No. 8
1.1 RCM4000 Features • Small size: 1.84" × 2.42" × 0.77" (47 mm × 61 mm × 20 mm) Microprocessor: Rabbit 4000 running at 58.98 MHz Up to 29 general-purpose I/O lines configurable with up to four alternate functions 3.3 V I/O lines with low-power modes down to 2 kHz Five CMOS-compatible serial ports — four ports are configurable as a clocked serial ports (SPI), and one port is configurable as an SDLC/HDLC serial port. Combinations of up to eight single-ended or four differential 12-bi
Summary of the content on the page No. 9
1.2 Advantages of the RCM4000 Fast time to market using a fully engineered, “ready-to-run/ready-to-program” micro- processor core. Competitive pricing when compared with the alternative of purchasing and assembling individual components. Easy C-language program development and debugging Rabbit Field Utility to download compiled Dynamic C .bin files, and cloning board options for rapid production loading of programs. Generous memory size allows large programs with tens of thousands o
Summary of the content on the page No. 10
1.3 Development and Evaluation Tools 1.3.1 RCM4000 Development Kit The RCM4000 Development Kit contains the hardware essentials you will need to use your RCM4000 module. The items in the Development Kit and their use are as follows. RCM4010 module. Prototyping Board. AC adapter, 12 V DC, 1 A. (Included only with Development Kits sold for the North American market. A header plug leading to bare leads is provided to allow overseas users to connect their own power supply with a DC out
Summary of the content on the page No. 11
1.3.2 Software The RCM4000 is programmed using version 10.03 or later of Dynamic C. A compatible version is included on the Development Kit CD-ROM. Rabbit Semiconductor also offers add-on Dynamic C modules containing 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-year telephone-based technical support module is also available fo
Summary of the content on the page No. 12
6 RabbitCore RCM4000
Summary of the content on the page No. 13
2. GETTING STARTED This chapter describes the RCM4000 hardware in more detail, and explains how to set up and use the accompanying Prototyping Board. NOTE: This chapter (and this manual) assume that you have the RCM4000 Development Kit. If you purchased an RCM4000 module by itself, you will have to adapt the infor- mation in this chapter and elsewhere to your test and development setup. 2.1 Install Dynamic C To develop and debug programs for the RCM4000 (and for all other Rabbit Semiconductor
Summary of the content on the page No. 14
2.2 Hardware Connections There are three steps to connecting the Prototyping Board for use with Dynamic C and the sample programs: 1. Prepare the Prototyping Board for Development. 2. Attach the RCM4000 module to the Prototyping Board. 3. Connect the programming cable between the RCM4000 and the PC. 4. Connect the power supply to the Prototyping Board. 2.2.1 Prepare the Prototyping Board for Development Snap in four of the plastic standoffs supplied in the bag of accessory parts from the D
Summary of the content on the page No. 15
# # # # %
'
'
'
# & " 2.2.2 Attach Module to Prototyping Board Turn the RCM4000 module so that the mounting holes line up with the corresponding holes on the Prototyping Board. Insert a standoff between the upper mounting hole and the Prototyping Board as shown, then insert t
Summary of the content on the page No. 16
# # # # % "
'
'
'
" # & 2.2.3 Connect Programming Cable The programming cable connects the module to the PC running Dynamic C to download programs and to monitor the module during debugging. Connect the 10-pin connector of the programming cable labeled PROG to
Summary of the content on the page No. 17
2.2.4 Connect Power Once all the other connections have been made, you can connect power to the Prototyping Board. Connect the AC adapter to 3-pin header J1 on the Prototyping Board as shown in Figure 4 above. The connector may be attached either way as long as it is not offset to one side—the center pin of J1 is always connected to the positive terminal, and either edge pin is ground. Plug in the AC adapter. The PWR LED on the Prototyping Board next to the power con- nector at J1 should li
Summary of the content on the page No. 18
2.3 Run a Sample Program If you already have Dynamic C installed, you are now ready to test your programming connections by running a sample program. Start Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on dcrab_XXXX.exe in the Dynamic C root directory, where XXXX are version-specific characters. If you are using a USB port to connect your computer to the RCM4000, choose Options > Project Options and select “Use USB to Serial Converter” under the Communications ta
Summary of the content on the page No. 19
2.4 Where Do I Go From Here? If the sample program ran fine, you are now ready to go on to the sample programs in Chapter 3 and to develop your own applications. The sample programs can be easily modi- fied for your own use. The user's manual also provides complete hardware reference infor- mation and software function calls for the RCM4000 and the Prototyping Board. For advanced development topics, refer to the Dynamic C User’s Manual, also in the online documentation set. 2.4.1 Technical S
Summary of the content on the page No. 20
14 RabbitCore RCM4000