No part of the contents of this manual may be reproduced or transmitted in any form or by any means
without the express written permission of Rabbit Semicondu ctor.
Permission is granted to make one or more copies as long as the copyright page contained therein is
included. These copies of the manuals may not be let or sold for any reason without the express written
permission of Rabbit Semiconduct or.
Rabbit Semiconductor reserves the right to make changes and
improvements to its products without providing n otice.
T r ade mark s
Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc.
Rabbit 3000 and RabbitCore are trademarks of Rabbit Semiconduct or Inc.
The latest revision of this manual is available on the Rabbit Semiconductor Web site,
4.1.2 Other Inputs and Outputs............................................................................................................26
4.2 Serial Communication ........................................................................................................................27
4.2.1 Serial Ports..................................................................................................................................27
4.2.2 Ethernet Port ...............................................................................................................................28
4.2.3 Serial Programming Port.............................................................................................................28
4.3 Serial Programming Cable..................................................................................................................30
4.3.1 Changing Between Program Mode and Run Mode....................................................................30
4.3.2 Standalone Operation of the RCM3750......................................................................................31
4.4 Other Hardware...................................................................................................................................32
A.2 Bus Loading ......................................................................................................................................80
A.3 Rabbit 3000 DC Characteristics........................................................................................................83
A.4 I/O Buffer Sourcing and Sinking Limit.............................................................................................84
The RCM3750 is a compact module that incorporates the lates t
®
revision of the powerful Rabbit
memory, onboard serial flash, static R AM , and digi tal I/O ports .
The RCM3750 features an integrated 10/100Base-T Ethernet
port that provides for LAN and Internet-enabled systems.
Throughout this manual, the term RCM3700 refers to the complete line of RCM3700 R abbitCore modules, and includes the RCM3750 unless other production models are referred
to specifically.
The RCM3750 has a Rabbit 3000 microprocessor operating at 22.1 MHz, static RAM,
flash memory , two c locks (main oscilla tor and real-time cloc k), and the circuitr y necessary
for reset and management of 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.
3000 microprocessor, flash
The RCM3750 receives regulated DC power from the customer-supplied motherboard on
which it is mounted. The RCM3750 can interface with all kinds of CMOS-compatible
digital devices through the motherboard.
The Development Kit and the Ethernet Connection Kit have what you need to design your
own microprocessor-based system: a comple te Dynamic C® software development system
with optional modules and a Prototyping Board that allows you to evaluate the RCM3750
and to prototype circuits that interface to the RCM3750 module.
1.1 RCM3750 Features
• Small size: 1.20" x 2.95" x 0.89"
(30 mm x 75 mm x 23 mm)
• Microprocessor: latest revision of Rabbit 3000 running
Secure Sockets Layer (SSL) module for added security
• 33 parallel 5 V tolerant I/O lines: 31 configurable for I/O, 2 fixed outputs
• External reset I/O
• Alternate I/O bus can be configured for 8 data lines and 5 address lines (shared with
parallel I/O lines), I/O read/write
• Ten 8-bit timers (six cascadable) and one 10-bit timer with two match registers
at 22.1 MHz supports Dynamic C
User’s Manual1
• 10/100Base-T RJ-45 Ethernet port
• 512K flash memory and 512K SRAM (options for 25 6K flash memory and 12 8K SRAM)
• 1 Mbyte serial flash memory, which is required to run the optional Dynamic C FAT file
system
• Real-time clock
• Watchdog supervisor
• Provision for customer-supplied backup battery via connections on header J1
• 10-bit free-running PWM counter and four pulse-width registers
• Two-channel Input Capture can be used to time input signals from various port pins
• Two-channel Quadrature Decoder accepts inputs from external incremental encoder
modules
Four available 3.3 V CMOS-compatible serial ports: maximum asynchronous baud rate
•
of 2.76 Mbps
. Three ports are configurable as a clocked serial port (SPI), and one port
is configurable as an HDLC serial port. Shared connections to the Rabbit microprocessor make a second HDLC serial port available at the expense of two of the SPI configurable ports, giving you two HDLC ports and one asynchronous/SPI serial port.
• Supports 1.15 Mbps IrDA transceiver
Table 1 below summarizes their main features of the RCM3750.
Table 1. RCM3750 Features
FeatureRCM3750
Microprocessor
Flash Memory512K
SRAM512K
Serial Flash Memory1 Mbyte
4 shared high-speed, 3.3 V CMOS-compatible ports:
all 4 are configurable as asynchronous serial ports;
Serial P orts
Input Voltage4.75–5.25 V DC @175 mA
3 are configurable as a clocked serial port (SPI) and 1 is
configurable as an HDLC serial port;
option for second HDLC serial port at the expense of 2
clocked serial ports (SPI)
Rabbit
®
3000 running at 22.1 MHz
The RCM3750 is programmed over a standard PC serial port through a programming cable
supplied with the Development Kit, and can also be programed through a USB port with an
RS-232/USB convert er or over an Ethe rnet with the R abbitLink (both available from Rabbit
Semiconucto r).
Appendix A provides detailed specifications for the RCM3750.
2RabbitCore RCM3750
1.2 Advantages of the RCM3750
• Fast time to market using a fully engineered, “ready-to-run/ready-to-program” microprocessor core.
• Competitive pricing when c ompar ed with the alternative of purchasing and assembling
individual components.
• Easy C-language program development and debugging
• Program download utility (Rabbit Field Utility) 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.
• Integrated Ethernet port for network connectivity, with royalty-free TCP/IP software.
• Ideal for network-enabling security and access systems, home automation, HVAC
systems, and industrial controls
User’s Manual3
1.3 Development and Evaluation Tools
1.3.1 Development Kit
The Development Kit contains the hardware and software needed to use the RCM3750.
• RCM3750 module.
• RCM3700 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 output of 7.5–30 V.)
• Programming cable with 10-pin header and DB9 connections, and integrated levelmatching circuitry.
• Cable kits to access RS-485 and analog input connectors on Prototyping Board.
• Dynamic C CD-ROM, with complete product documentation on disk.
• Getting Started instructions.
• Accessory parts for use on the Prototyping Board.
• Rabbit 3000 Processor Easy Reference poster.
• Registration card.
Programming
DIAG
PROG
Installing Dynamic C
Insert the CD from the Development Kit in your PC’s CD-ROM drive. If the installation does not auto-start, run the setup.exe program in the root directory of the
Dynamic C CD. Install any Dynamic C modules after you install Dynamic C.
RabbitCore RCM3750
Development Kit Contents
The RCM3750 Development Kit contains the following items:
• RCM3750 module.
• RCM3700 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 output of 7.5–30 V.)
• Programming cable with 10-pin header and DB9 connections, and integrated level-matching circuitry.
• Cable kits to access RS-485 and analog input connectors on Prototyping Board.
• Dynamic C CD-ROM, with complete product documentation on disk.
• Getting Started instructions.
• Accessory parts for use on the Prototyping Board.
• Rabbit 3000 Processor Easy Reference poster.
• Registration card.
Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc.
Getting Started
Instructions
Cable
®
Accessory Parts for
Prototyping Board
C1
R8
R7
C2
R9
IR1
xR
JP1
J1
R1
R2
5
8
4
R3
+
x
R4
T
R5
C3
R6
T
5
A
V
B
D
5
+
V
P
D
N
G
4
S
R
D
D
E
N
W
P
R
G
/
R16
O
I
/
C22
R21
C26
C23
R23
C24 C25
U7
U8
R24
C27
C28
R25
C
C
JP5
THERMISTOR
N
R30 R31 R32
R33
JP8
J7
C29
1
0
2
7
8
3
3
3
3
3
C
C
C
R
R
R39 R40
R41 R42
N
I
4
IN
4
0605040302010
A
_
R
M
D
R
N
E
G
H
T
A
R26
R27
R28
R29
D
R
S
A
E
I
O
R
B
CONVERT
E
G
S
N
F
I
X
E
P
X
R
7
Y
V
3
T
/
J8
6
O
3
T
M
O
C
R
P
R
GND
C4
U3
R11
E
C
D
J5
X
X
X
TCM_SMT_SOCKET
T
T
T
D
_
_
_
6
2
0
R
0
4
7
5
3
6
4
G
E
E
E
C
C
F
F
B
B
O
I
P
/
P
P
P
P
P
P
P
P
P
2
4
0
7
5
7
5
1
3
7
E
F
F
F
B
B
B
E
E
G
X
G
P
3
C
P
P
P
P
P
P
P
P
P
R
/
/
3
2
1
0
C
2
G
C
P
C21
L2
C
P
P
R19
R18
R20
R22
1
2
RP1
JP4
C
C
C
JP7
JP6
N
NCN
N
N
R34
R35
R36
C35
UX2
4
3
3
3
4
C
R
N
I
0
A
D
N
G
DS1
DS2
A
8
R45
R46
4
R49
R
S2S1
Prototyping Board
AC Adapter
(North American
kits only)
RXC TXC RXE
D
N
G
J2
D
D
E
D
D
N
N
X
X
X
G
G
T
T
R
5
GND
8
C5
4
C6
/IOWR
JP2
PE7
9
PB4
C
U4
PB2
PA1
8
0
C7
1
C
C11
R12
C
PA3
R13
PA5
PA6
PA7
PB0
PB7
1
1
F
A
P
P
2
A
P
CX1 CX2
UX1
DS3
R47
RESET
S3
/RES
7
5
3
A
A
A
PF0
+5V
P
P
P
PF1
PF4
PF5
PF6
PF7
PC1/PG2
PC3/
PC0_TXD
6
4
PG3
A
A
PC2
P
P
PE5
TXC
PE4
PE1
PE0
PG7_RXE
PG6
PD4
TXE
PD5
VBAT
D
V
5
N
+
G
CX3
CX4
CX5
CX6
CX7
CX8
CX9
0
B
P
0
A
P
CX10CX11
Wiring Cable Kits
C14
U1
C
N
/IORD
PB5
PB3
PA0
2
A
P
4
A
P
R15
V
3
.
3
+
C15
C12
C13
GND
T
E
4
2
0
S
E
D
D
E
E
E
D
R
L
+V/
L
L
5
3
1
T
S
D
L
D
D
D
C
N
/
K
E
E
E
G
B
L
L
L
+
L1
C16
U2
C17
C18
U6
U5
R14
T
E
6
4
2
0
T
D
D
D
D
D
S
N
E
E
E
E
G
A3A1D0D2D4D
L
L
L
+V/R
L
BT1
6
D
E
L
D
N
G
0
5
3
1
T
S
D
D
L
A2A
D1D3D5D
D
D
D
C
N
N
/
K
E
E
E
G
G
B
L
L
L
+
D
N
LCD1JB
LCD1JC
G
A3A1D0D2D4D6G
1
7
D
A2A
D1D3D5D
N
G
C19
D1
J4
D2
DCIN
6
LCD1JA
7
V
D
V
.3
N
5
3
+
G
+
D
N
Figure 1. RCM3750 Development Kit
4RabbitCore RCM3750
1.3.2 Software
The RCM3750 is programmed using version 0.24 or later of Dynamic C.
Rabbit Semiconuctor also offers for sale other add-on Dynamic C modules including the
popular µC/OS-II real-time operating system, as well as point-to-point protocol (PPP),
Advanced Encryption Standard (AES), and other select libraries. In addition to the Webbased technical support included at no extra charge, a one-year telephone-based technical
support module is also available for purchase. Visit our Web site at www.rabbit.com or
contact your Rabbit Semiconuctor sales representative or authorized distributor for further
information.
1.3.3 Application Kits
Rabbit Semiconuctor also has application kits featuring the RCM3700 to provide the exact
software and other tools that will enable to tailor your RCM3700 or RCM3750 for specific
applications.
• Secure Embedded Web Application Kit [Part No. 101-0897 (North American markets)
and Part No. 101-0898 (overseas markets)]—comes with three CD-ROMs that have the
Dynamic C RabbitWeb, FAT File System, and Secure Sockets Layer (SSL) modules,
and includes Dynamic C 8.51 or a later version and an RCM3700. This enhanced software bundle facilitates the rapid development of secure Web browser interfaces for
embedded system control. Appendix E provides additional information about the
Secure Embedded Web Application Kit.
• Ethernet Connection Kit [Part No. 101-0963 (North American markets) and Part No.
101-0964 (overseas markets)]—comes with one CD-ROM that includes Dynamic C
9.01 or a later version, an RCM3720 module, and an RCM3720 Prototyping Board.
This kit is intended to demonstrate and help you develop Ethernet-based applications.
V isit our Web site at www.rabbit.com or contact your Rabbit Semiconuctor sales representative or authorized distributor for further information.
1.3.4 802.11b Wi-Fi Add-On Kit
Rabbit Semiconuctor also offers a Wi-Fi Add-On Kit (Part No. 101-0999) for the full line
of RCM3700 modules, including the RCM3750. This Wi-Fi Add-On Kit consists of an
RCM3600–RCM3700 Interposer Board, a Wi-Fi CompactFlash card with a CompactFlash
Wi-Fi Board, a ribbon interconnecting cable, and the software drivers and sample programs to help you enable the full line of RCM3700 modules with Wi-Fi capabilities. The
RCM3600–RCM3700 Interposer Board is placed between the RCM3750 module and the
Prototyping Board so that the CompactFlash Wi-Fi Board, which holds the Wi-Fi CompactFlash card, can be connected to the RCM3750-based system via the ribbon cable provided.
V isit our Web site at www.rabbit.com or contact your Rabbit Semiconuctor sales representative or authorized distributor for further information.
User’s Manual5
1.3.5 Online Documentation
The online documentation is installed along with Dynamic C, and an icon for the documentation menu is placed on the workstation’s desktop. Double-click this icon to reach the
menu. If the icon is missing, use your browser to find and load default.htm in the docs
folder, found in the Dynamic C installation folder.
Each Dynamic C module has complete documentation available with the online documentation described above.
The latest versions of all documents are always available for free, unregistered download
from our Web sites as well.
6RabbitCore RCM3750
2. GETTING S TARTED
This chapter describes the RCM3750 hardware in more detail,
and explains how to set up and use the accompanying Prototyping Board.
NOTE: It is assumed that you have the RCM3750 Devel opment Kit . If you pu rchase d an
RCM3750 module by itself, you will have to adapt the information in this chapter and
elsewhere to your test and development setup.
2.1 Install Dynamic C
T o develop and debug prog rams for the RCM3750 (and for all othe r Rabbit Semiconductor
hardware), you must install and use Dynamic C.
If you have not yet installed Dynamic C version 0.24 (or a later version), do so now by
inserting the Dynamic C CD from the RCM3750 Development Kit in your PC’ s CD-ROM
drive. If autorun is enabled, the CD installation will begin automatically.
If autorun is disabled or the installation otherwise does not start, use 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 to communica te with the tar get deve lopment sy stem.
The installation allows you to choose the COM port that will be used. The default selection is COM1. You may select any available port for Dynamic C’s use. If you are not certain which port is available, select COM1. This selection can be changed later within
Dynamic C.
NOTE: The installation utility does not check the selected COM port in any way. Speci-
fying a port in u se by a not her device (mouse, modem, et c.) may l ead to a message such
as
"could not open serial port" when Dynamic C is started.
Once your installation is complete, you will have up to three new icons on your PC desktop. One icon is for Dynamic C, one opens the documentation menu, and the third is for
the Rabbit Field Utility, a tool used to download precompiled software to a target system.
If you have purchased any of the optional Dynamic C modules, install them after installing
Dynamic C. The modules may be installed in any order. You must install the modules in
the same directory where Dynamic C was installed.
User’s Manual7
2.2 Hardware Connections
There are three steps to connecting the Prototyping Board for use with Dynamic C and the
sample programs:
1. Attach the RCM3750 module to the Prototyping Board.
2. Connect the programming cable between the RCM3750 and the workstation PC.
3. Connect the power supply to the Prototyping Board.
The connections are shown for the RCM3700 Prototyping Board, and are similar for the
RCM3720 Prototyping Board.
2.2.1 Attach Module to Prototyping Board
Turn the RCM3750 module so that the Ethernet jack is on the left as shown in Figure 2
below. Insert the module’s J1 header into the TCM_SMT_SOCKET socket on the Prototyping Board. The shaded corner notch at the bottom right corner of the RCM3750 module
should face the same direction as the corresponding notch below it on the Prototyping
Board.
RCM3750
DS1
Y3
R34
4
R30
R44
1
R46
DS2
R32
C55
L4
C79
R45
R40
T1
R5
J3
R6
CAUTION: HOT!
DS3
R37
R26
R27
R28
R29
RCM36/37XX SERIES
PROTOTYPING BOARD
U6
C80
2
R39
R31
IR1
Rx
R1
C53
R2
C54
R29
R3
R26
R4
Tx
R27
C51
U4
C3
+5V
GND
R16
C22
C23
U7
C27
R25
THERMISTOR
CONVERT
VREF
J8
Align shaded
corners
RP2
C1
R7
JP3JP1
C2
J2
JP1
D1
C49
R14
C50
VBAT
PD5
/IORD
PG6_TXE
R36
R24
R8
C7
R2
U1
C35
C25
U3
R9
C26
C81
J1
C27
+485
GND
JP2
R16
C4
R15
JP2
C82
C28
U3
R5
C29
C41
R13
R11
C39
C10
U5
C36
Y1
Q1
C40
PE0
J5
PE4
PE7
PC2_TXC
R6
R11
C37
TCM_SMT_SOCKET
PC0_TXD
PF6
PF4
PB5
TCM_SMT_SOCKET
PF7
PF5
PE1
PE5
PC3/PG3
C21
L2
C20
PC1/
R18
R19
R20
R22
JP5
JP6
NC
NC
R34
R33
C30
C31
C32
C33
R38
R39 R40
R41 R42
06050403020100
PB7
PG2
1
2
JP4
JP7
NC
R35
C34
PD4
PG7
RXE
GND
/RES
/IOWR
R21
C26
R23
C24 C25
U8
R24
C28
R30 R31 R32
JP8
J7
C29
R37
AIN
R44
THERM_IN
AGND
RXC TXC RXE
NC
GND
RP1
J2
R18
C34
C33
GND
GND
TXE
TXD
RXD
GND
GND
C84
C5
C6
C32
/IOWR
PA5
PA7
PA4
PA6
CX1 CX2
DS2
/IORD
PE7
PB5
PB4
PB3
U4
PB2
PA0
PA1
PA3
PA4 PA2
PA5
PA6
R15
PA7
PB0
PB7
/RES
PF0
+5V
PF1
PF4
PF5
PF6
PF7
PC1/PG2
PC3/
PC0_TXD
PG3
PC2
PE5
TXC
PE4
PE1
PE0
PG7_RXE
PG6
PD4
TXE
PD5
VBAT
+5V
CX3
CX4
UX1
CX5
CX6
CX7
CX8
UX2
CX9
CX10CX11
DS3
R47
R46
RESET
S3
S2S1
485
C30
C83
C9
C31
C7
C8
C11
R12
C10
R13
PB3
PB0
PF1
PA1
PA3
PA0
PA2
PF0
PB4
PB2
RP1
NCNCNC
R36
C35
R43
AIN
DS1
AGND
R45
R49
R48
C14
U1
C15
C12
C13
C16
BT1
GND
+3.3V
+V
+BKLT
L1
U2
C17
U5
/RESET
LDE0
LED2
/CS
LED1
LED3
U6
R14
+V
/RSTETLED0
LED2
LED4
LED6
GNDA3A1D0D2D4D6
/CS
GND
GND
LED1
LED3
LED5
+BKLT
LCD1JB
LED4
LED5
LCD1JC
LED6
GND
GND
GND
D1
C18
A2
A0
D1D3D5
C19
D2
LCD1JA
D7
A3A1D0D2D4D6GND
A2
A1
D1D3D5
D7
J4
DCIN
+5V
GND
+3.3V
GND
Figure 2. Install the RCM3750 Module on the Prototyping Board
NOTE: It is important that you line up the pins on header J1 of the RCM3750 module
exactly with the corresponding pins of the TCM_SMT_SOCKET socket on the Prototyping Board. The he ader pi ns may become bent or damaged i f the pin alignment is offset, and the modu le wil l not work. Permane nt elect rica l dam age to the m odule may a lso
result if a misaligned module is powered up.
Press the module’s pins firmly into the Prototyping Board headers.
8RabbitCore RCM3750
2.2.2 Connect Programming Cable
The programming cable connects the RCM3750 to the PC running Dynamic C to download programs and to monitor the RCM3750 module during debugging.
Connect the 10-pin connector of the programming cable labeled
PROG to header J2 on
the RCM3750 as shown in Figure 3. Be sure to orient the marked (usually red) edge of the
cable towards pin 1 of the connector. (Do not use the DIAG connector, which is used for a
normal serial connection.)
AC Adapter
Programming
Cable
To
Blue
PC COM port
shrink wrap
PROG
Colored
Rx
edge
Tx
R5
R6
DS1
R30
DS2
R32
C55
L4
DS3
R37
R26
R27
R28
R29
RCM36/37XX SERIES
PROTOTYPING BOARD
R34
IR1
Y34
R44
1
R46
C79
R45
GND
J3
R16
CAUTION: HOT!
C23
U7
C27
R25
J8
DIAG
R40
T1
CONVERT
VREF
R1R2R3R4
+5V
C22
C1
C2
C3
VBAT
GND
R24
THERMISTOR
JP8
2R39
PD5
U4
/RES
J7
C80
/IORD
PD4
C24 C25
C28
AGND
R7
JP1
U6
R31
PG6_TXE
C54
R29
R27
/IOWR
C26
R23
U8
R30 R31 R32
C29
R37
R44
THERM_IN
C53
C51
PG7
R21
J2
R8
R9
J1
C4
U3
R11
PROG
JP3JP1
J5
J2
PE0
PE4
PE7
PC2_TXC
D1
R26
C49
R14
C50
PE1
PE5
RXE
PC3/PG3
C21
L2
C20
R18
R19
JP5
NC
NC
R33
C30
C31
R38
R39 R40
06050403020100
AIN
485
+485
GND
JP2
C7
U3
TCM_SMT_SOCKET
C26
C81
PC0_TXD
PF6
PF4
PB5
C27
R16
R15
JP2
C82
C28
PF7
PF5
PB7
C10
PC1/
PG2
Y1
Q1
R20
C40
R22
1
2
JP4
JP7
JP6
NC
R34
R35
R36
C34
C32
C33
R41 R42
AIN
RXC TXC RXE
NC
GND
J2
GND
GND
TXE
TXD
RXD
GND
GND
C5
C6
/IOWR
/IORD
PE7
PB5
PB4
C9
C7
C8
R12
R36
R24
R2
U1
C25
PB3
PB0
PF1
PA1
PA0
PF0
PB4
PB2
R5
C29
R13
C39
C36
C37
RP1
NCNCNC
C35
R43
DS1
AGND
R48
PB3
U4
PB2
PA0
PA1
C11
C10
PA3
RP2
PA4 PA2
RP1
R13
PA5
PA6
C34
PA5
PA7
C83
C31
PA4
PA6
CX1 CX2
R15
PA7
PB0
PB7
/RES
PF0
+5V
C33
PF1
PF4
C84
C32
PF5
PF6
C30
PF7
PC1/PG2
PC3/
PC0_TXD
PG3
PC2
PE5
TXC
PE4
PE1
PE0
PG7_RXE
PG6
PD4
TXE
PD5
VBAT
CX3
CX4
UX1
CX5
CX6
CX7
CX8
UX2
CX9
CX10CX11
DS3
DS2
R47
R46
RESET
S3
S2S1
R18
C35
PA3
PA2
C41
U5
R6
R11
R45
R49
C14
U1
C15
C12
C13
L1
C16
C17
U5
R14
+V
/RSTETLED0
LED2
LED4
BT1
/CS
LED1
LED3
LED5
+BKLT
D1
U2
C18
U6
LED6
GNDA3A1D0D2D4D6
A2
A0
GND
GND
D1D3D5
C19
J4
D2
DCIN
LCD1JA
D7
+5V
GND
+3.3V
3-pin
power connector
+5V
GND
+3.3V
LCD1JB
+V
/RESET
LDE0
/CS
LED1
+BKLT
LCD1JC
LED2
LED4
LED6
GND
A3A1D0D2D4D6GND
A2
A1
D1D3D5
GND
GND
LED3
LED5
D7
GND
Reset switch
Figure 3. Connect Programming Cable and Power Supply
NOTE: Be sure to use the pro gramming c able (p art numbe r 10 1-0542) suppli ed with this
Development Kit—the programming cable has blue shrink wrap around the RS-232 converter section located in the middle of the c able. The si mplif ied pro grammi ng cable and
adapter board that are supplied with the Ether net Connect ion Kit may also be use d as
shown in the inset diagram above. Programming cables from other Rabbit Semiconductor kits are not designed to work with RCM3750 modules.
Connect the other end of the programming cable to a COM port on your PC.
NOTE: Some PCs now come equi pped only with a USB port. It may be possible to use
an RS-232/USB converter (Part No. 540-0070) with the programming cable supplied
with the RCM3750 Development Kit. Note that not all RS-232/USB converters work
with Dynamic C.
User’s Manual9
2.2.3 Connect Power
When all other connections have been made, you can connect power to the Prototyping
Board. Connect the wall transformer to 3-pin header J4 on the Prototyping Board as
shown in Figure 3. The connector may be attached either way as long as it is not offset to
one side.
Plug in the wall transformer. The LED above the
RESET button on the Prototyping Board
should light up. The RCM3750 and the Prototyping Board are now ready to be used.
NOTE: A RESET button is provided on the Protot yping Board to allow a h ardware re set
without disconnectin g 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 side. The red and black wires from the connector can then be connected to the positive and negative connections on your power supply.
The power supply should deliver 7.5 V–30 V DC at 5 W.
10RabbitCore RCM3750
2.3 Starting Dynamic C
Once the RCM3750 is connected as described in the preceding pages, 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. Dynamic C
uses the serial port on your PC that you specified during installation.
If you are using a USB port to connect your computer to the RCM3750 module, choose
Options > Project Options and select “Use USB to Serial Converter” under the
Communications tab.
2.4 Run a Sample Program
Use the File menu to open the sample program PONG.C, which is in the Dynamic C
SAMPLES folder. Press function key F9 to compile and run the program. The STDIO win-
dow will open on your PC and will display a small square bouncing around in a box.
2.4.1 Troubleshooting
If a program compiles and loads, but then loses target communication before you can
begin debugging, 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 RCM3750 is powered correctly — the power LED above the RESET
button on the Prototyping Board should be lit.
• Check to make sure you are using the PROG connector, not the DIAG connector , on the
programming cable.
• Check both ends of the programming cable to ensure that they are firmly plugged into
the PC and the programming port on the RCM3750.
• Ensure that the RCM3750 module is firmly and correctly installed in its connectors on
the Prototyping Board.
• Select a different COM port within Dynamic C. From the Options menu, select
Project Options, then select Communications. Select another COM port from the list,
then click OK. Press <Ctrl-Y> to forc e Dynamic C to re compile the BIOS . If Dynamic C
still reports it is unable to locate the target system, repeat the above steps until you locate
the active COM port.
User’s Manual11
2.5 Where Do I Go From Here?
If the sample program ran fine, you are now ready to go on to other sample programs and to
develop your own applications. The sour ce code for the sample programs
you to modify them for your own use. The RCM3750 User’s Manual also provides com-
plete hardware reference information and describes the software function calls for the
RCM3750, the Prototyping Board, and the optional LCD/keypad module.
For advanced development topics, refer to the Dynamic C User’s Manual and the Dynamic C TCP/IP User’s Manual, also in the online documentation set.
2.5.1 Technical Support
NOTE: If you purchased your RCM3750 through a d ist ri buto r or thr ough a Rabbit Semi-
conductor partner, contact the di str ib u tor or pa rt ner f ir st for technical support.
If there are any problems at this point:
• Use the Dynamic C Help menu to get further assistance with Dynamic C.
• Check the Rabbit Semiconductor Technical Bulletin Board at
www.rabbit.com/support/bb/.
• Use the Technical Support e-mail form at www.rabbit.com/support/.
is provided to allow
12RabbitCore RCM3750
3. RUNNING SAMPLE PROGRAMS
To develop and debug programs for the RC M3750 (and for all
other Rabbit Semiconductor hardware), you must install and use
Dynamic C.
3.1 Introduction
To help familiarize you with the RCM3750 modules, Dynamic C includes several sample
programs. Loading, executing and studying these programs will give you a solid hands-on
overview of the RCM3750’s capabilities, as well as a quick start with Dynamic C as an
application development tool.
NOTE: The sample programs assume that you have at l ea st an el ement ar y grasp of the C
programming language. If you do not, see the introductory pages of the Dynamic C User’s Manual for a suggested reading list.
More complete information on Dynamic C is provided in the Dynamic C User’s Manual.
In order to run the sample programs discussed in this chapter and elsewhere in this manual,
1. Your RCM3750 must be plugged in to the Prototyping Board as described in Chapter 2,
“Getting Started.”
2. Dynamic C must be installed and running on your PC.
3. The programming cable must connect the programming header on the Prototyping
Board to your PC.
4. Power must be applied to the RCM3750 through the Prototyping Board.
Refer to Chapter 2, “Getting Started,” if you need further information on these steps.
To run a sample program, open it with the File menu, then compile and run it by pressing
F9 or by selecting Run in the Run menu. The RCM3750 must be in Program Mode (see
Figure 9 on page 30) and must be connected to a PC using the programming cable.
Getting Started13
The default I/O configuration in the sample programs is based on the RabbitCore module
detected during compile time:
• Any RCM3700 RabbitCore module (except the RCM3720) will have its I/O ports configured for an RCM3700 Prototyping Board.
• An RCM3720 RabbitCore module will have its I/O ports configured for an RCM3720
Prototyping Board.
You may override these default settings to run an RCM3720 RabbitCore module on the
RCM3700 Prototyping Board or to run another RCM3700 RabbitCore module on the
RCM3720 Prototyping Board by adding the following macro to the sample program you
will be running.
• To run an RCM3720 RabbitCore module on an RCM3700 Prototyping Board, add the
following macro at the top of the sample program you will be running.
#define RCM3700_PROTOBOARD
Sample programs that are specifically designed for the RCM3700 Prototyping Board
already have this macro included.
• To run an RCM3700 RabbitCore module (other than the RCM3720) on an RCM3720
Prototyping Board, add the following macro at the top of the sample program you will
be running.
#define RCM3720_PROTOBOARD
14RabbitCore RCM3750
3.2 Sample Programs
Of the many sample programs included with Dynamic C, several are specific to the
RCM3700 Prototyping Board. Sample programs illustrating the general operation of the
RCM3750, serial communication, and the A/D converter on the Prototyping Board are
provided in the SAMPLES\RCM3700 and the SAMPLES\RCM3720 folders as shown in the
table below. The sample programs use the features available on the two Prototyping
Boards.
Feature
Sample Program FolderSAMPLES\RCM3700SAMPLES\RCM3720
Digital I/O××
IrDA Transceivers×
Serial Flash××
Serial Communication××
TCP/IP××
A/D Converter×
LCD/Keypad Module×
Dynamic C FAT File System,
RabbitWeb,
SSL Modules
RCM3700 Prototyping
Board
××
RCM3720 Prototyping
Board
Each sample program has comments that describe the purpose and function of the program. Follow the instructions at the beginning of the sample program. Note that the
RCM3750 must be installed on the Prototyping Board when using these sample programs.
TCP/IP sample pr ograms are described i n Chapter 6, “Using the TCP/IP Features.” Sample
programs for the optional LCD/keypad module that is used on the RCM3700 Prototyping
Board are described in Appendix C.
Additional sample programs are available online at www.rabbit.com/support/down-
loads/downloads_prod.shtml.
• DIO.c—Demonstrates the digital I/O capabilities of the A/D converter on the Prototyping Board by configuring two lines to outputs and two lines as inputs on Prototyping
Board header JP4.
If you are using the RCM3700 Prototyping Board, install a 2 x 2 header at JP4 and connect pins 1–2 and pins 3–4 on header JP4 before running this sample program.
• FLASHLED.c—Demonstrates assembly-language program by flashing LEDs DS1 and
DS2 on the Prototyping Board at different rates.
• TOGGLESWITCH.c—Uses costatements to detect switches using debouncing. The corresponding LEDs (DS1 and DS2) will turn on or off.
Getting Started15
• 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 DS1 or DS2 on the Prototyping
Board. Then follow the prompt in the Dynamic C
STDIO window to turn the LED on or
off.
• IR_DEMO.c—Demonstrates sending Modbus ASCII packets between two RCM3700
Prototyping Board assemblies with IrDA transceivers via the IrDA transceivers. Note
that this sample program will only work with the RCM3700 Prototyping Board.
First, compile and run this program on one Prototyping Board assembly, then remove
the programming cable and press the RESET button on the Prototyping Board so that
the first RabbitCore module is operating in the Run mode. Then connect the programming cable to the second Prototyping Board assembly with the RCM3750 and compile
and run the same sample program. With the programming cable still connected to the
second Prototyping Board assembly, press switch S1 on the second Prototyping Board
to transmit a packet. Once the firs t Prototyping Board assembly r eceives a test pac ket, it
will send back a response packet that will be displayed in the Dynamic C STDIO window. The test packets and response packets have different codes.
Once you have loaded and executed these five programs and have an understanding of
how Dynamic C and the RCM3750 modules interact, you can move on and try the other
sample programs, or begin building your own.
16RabbitCore RCM3750
3.2.1 Use of Serial Flash
The following sample programs can be found in the SAMPLES\RCM3700\SerialFlash
and the SAMPLES\RCM3720\SerialFlash folders.
• SERIAL_FLASHLOG.C—This program runs a simple Web server and stores a log of
hits on the home page of the serial flash “server.” This log can be viewed and cleared
from a browser at http://10.10.6.100/. You will likely have to first
work interface ca rd for a “10Base-T Half -Du pl ex” or an “Auto-Negotiat ion” connection on the
“Advanced” tab, which is accessed from the control panel (Start > Settings > Control Panel) by choosing Network Connections.
“configure” your net-
• SFLASH_INSPECT.C—This program is a handy utility for inspect ing the contents of a
serialflash chip. When the sample program starts running, it attempts to initialize a
serial flash chip on Serial Port B. Once a serial flash chip is found, the user can perform
two different commands to either print out the contents of a specified page or clear (set
to zero) all the bytes in a specified page.
3.2.2 Serial Communication
The following sample programs can be found in the SAMPLES\RCM3700\SERIAL and the
SAMPLES\RCM3720\SERIAL folders.
NOTE: Pin PE5 is set up to enable/ disable the RS-232 ch ip on the RCM3700 Protot yping
Board. This pin will also be toggled when you run RS-232 sample programs on an
RCM3700 Prototyping Board. If you plan to use this pin for something else while you
are running any of the RS-232 sample programs, comment out the following line.
BitWrPortI(PEDR, &PEDRShadow, 0, 5);//set low to enable rs232 device
• FLOWCONTROL.C—This program demonstrates hardware flow control by configuring
Serial Port C for CTS/RTS with serial data coming from Serial Port D. The serial data
received are displayed in the STDIO window.
To set up the Prototyping Board, you will need to tie TxC and RxC
together on the RS-232 header at J2, and you will also tie TxD and
RxD together using the 0.1" jumpers supplied in the Development Kit
as shown in the diagram.
J2
RXC TXC RXE
GND
TXD
RXD
GND
TXE
A repeating triangular pattern should print out in the STDIO window.
The program will periodically switch flow contr ol on or off to demonstrate th e eff ect of
no flow control.
• PARITY.C—This program demonstrates the use of parity modes by
repeatedly sending byte values 0–127 from Serial Port D to Serial Port
C. The program will switch between ge nera ting parity or not on Ser ial
Port D. Serial Port C will always be checking parity, so parity errors
J2
RXC TXC RXE
GND
TXD
RXD
GND
TXE
should occur during every other sequence.
To set up the Prototyping Board, you will need to tie TxD and RxC together on the
RS-232 header at J2 using the 0.1" jumpers supplied in the Development Kit as shown
in the diagram.
The Dynamic C STDIO window will display the error sequence.
Getting Started17
• SIMPLE3WIRE.C—This program demonstrates basic RS-232 serial
communication. Lower case characters are sent by TxC, and are
received by RxD. The characters are converted to upper case and are
sent out by TxD, are received by RxC, and are displayed in the
Dynamic C
STDIO window.
J2
RXCTXC RXE
GND
TXD
RXD
TXE
To set up the Prototyping Board, you will need to tie TxD and RxC together on the
RS-232 header at J2, and you will also tie RxD and TxC together using the 0.1" jumpers supplied in the Development Kit as shown in the diagram.
• SIMPLE5WIRE.C—This program demonstrates 5-wire RS-232 serial communication
with flow control on Serial Port C and data flow on Serial Port D.
To set up the Prototyping Board, you will need to tie TxD and RxD
together on the RS-232 header at J2, and you will also tie TxC and
RxC together using the 0.1" jumpers supplied in the Development Kit
as shown in the diagram.
J2
RXC TXC RXE
GND
TXD
RXD
TXE
Once you have compiled and run this program, you can test flow control by disconnecting TxC from RxC while the program is running. Characters will no
longer appear in the STDIO window, and will display again once TxC is connected
back to RxC.
• SWITCHCHAR.C—This program demonstrates transmitting and then receiving an
ASCII string on Serial Ports C and E. It also displays the serial data received from both
ports in the STDIO window.
GND
GND
Before running this sample program, check to make sure that Serial
Port E is set up as an RS-232 serial port—pins 1–3 and pins 2–4 on
header JP2 on the Prototyping Board must be jumpered together using
the 2 mm jumpers supplied in the Development Kit. Then connect TxC
to RxE and connect RxC to TxE on the RS-232 header at J2 using the
J2
JP2
RXC TXCRXE
GND
TXD
RXD
GND
TXE
0.1" jumpers suppli ed in the Dev elopmen t Kit as shown in the diagr am.
NOTE: The following two sample programs illustrating RS-485 serial communication
will only work with the RCM3700 Prototyping Board.
• SIMPLE485MASTER.C—This program demonstrates a simple RS-485 transmission of
lower case letters to a slave RCM3750. The slave will send back converted upper case
letters back to the master RCM3750 and display them in the STDIO window. Use
SIMPLE485SLAVE.C to program the slave RCM3750, and check to make sure that
Serial Port E is set up as an RS-485 serial port—pins 3–5 and pins 4–6 on header JP2
must be jumpered together using the 2 mm jumpers supplied in the Development Kit.
• SIMPLE485SLAVE.C—This program demonstrates a simple RS-485
transmission of lower case letters to a master RCM3750. The slave
JP2
will send back converted upper case letters back to the master
RCM3750 and display them in the STDIO window. Use
SIMPLE485MASTER.C to program the master RCM3750, and check to make sure that
Serial Port E is set up as an RS-485 serial port—pins 3–5 and pins 4–6 on header JP2
must be jumpered together using the 2 mm jumpers supplied in the Development Kit.
18RabbitCore RCM3750
3.2.3 A/D Converter Inputs
The following sample programs are found in the SAMPLES\RCM3700\ADC folder.
AD_CALDIFF_CH.C—Demonstrates how to recalibrate one differential analog input
•
channel using two known voltages to generate the ca li br ati o n constants for that channel.
Constants will be rewritten into user block data area.
• AD_CALMA_CH.C—Demonstrates how to recalibrate an A/D input channel being used to
convert analog current measurements to gener ate the calibratio n constants for that ch annel.
Before running this program, make sure that pins 3–5 are connected on headers JP5,
JP6, and JP7. Connect pins 1–2, 3–4, 5–6, 7–8 on header JP8.
• AD_CALSE_ALL.C—Demonstrates how to recalibrate all single-ended analog input
channels for one gain, using two known voltages to generate the calibration constants
for each channel. Constants will be rewritten into the user block data area.
• AD_CALSE_CHAN.C—Demonstrates how to recalibrate one single-ended analog input
channel with one gain using two known voltages to generate the calibrat i o n constants
for that channel. Constants will be rewritten into user block data area.
NOTE: The above sample programs will overwrite any existing calibration constants.
• AD_RDDIFF_CH.C—Demonstrates how to read an A/D input channel being used for a
differential input using previously defined calibration constants.
• AD_RDMA_CH.C—Demonstrates how to read an A/D input channel being used to convert analog current measurements using previously defined calibration constants for
that channel.
Before running this program, make sure that pins 3–5 are connected on headers JP5,
JP6, and JP7. Connect pins 1–2, 3–4, 5–6, 7–8 on header JP8.
• AD_RDSE_ALL.C—Demonstrates how to read all single-ended A/D input channels
using previously defined calibration constants.
• AD_SAMPLE.C—Demonstrates how to use a low-level driver on single-ended inputs.
The program will continuously display the voltage (average of 10 samples) that is
present on the A/D channels.
• ANAINCONFIG.C—Demonstrates how to use the Register Mode method to read singleended analog input values for display as voltages. The sample program uses the function call anaInConfig() and the ADS7870 CONVERT line to accomplish this task.
• THERMISTOR.C—Demonstrates how to use analog input THERM_IN7 to calculate
temperature for display to the STDIO window. This sample program assumes that the
thermistor 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.
• DNLOADCALIB.C—Demonstrates how to retrieve analog calibration data to rewrite it
back to simulated EEPROM in flash with using a serial utility such as Tera Term.
Getting Started19
• UPLOADCALIB.C—Demonstrates how to read calibrations constants from the user
block in flash memory and then transmitting 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.
20RabbitCore RCM3750
4. HARDWARE REFERENCE
Chapter 4 describes the hardware components and principal hardware
subsystems of the RCM37 50. Appendix A, “RC M3750 Specific ations,” provides complete physical and electrical specifications.
Figure 4 shows the Rabbit-based subsystems designed into the RCM3750.
Header J1 is a standard 2 x 20 IDC header with a nominal 0.1" pitch.
22RabbitCore RCM3750
Figure 6 shows the use of the Rabbit 3000 microprocessor port s in the RCM37 50 modul es.
PB0, PB7,
PB2PB5
Port B
RABBIT
®
3000
Real-Time Clock
Watchdog
11 Timers
Slave Port
Clock Doubler
Backup Battery
Support
PD4PD5
Port D
(+Ethernet Port)
Port E
Port F
Misc. I/O
Flash
PE0PE1,
PE4PE5,
PE7
PF4PF7
/RES
/IORD
/RES,
/IOWR
PC0, PC2
PC1, PC3
PG2PG3
PG6PG7
PC6
PB1, PC7, /RESET,
STATUS,
SMODE0, SMODE1
4 Ethernet signals
PA0PA7
Port A
Port C
(Serial Ports C & D)
Port G
(Serial Ports E & F)
Programming
Port
(Serial Port A)
Ethernet
Port
RAM
Figure 6. Use of Rabbit 3000 Ports
The ports on the Rabbit 3000 microprocessor used in the RCM3750 are configurable, and
so the factory defaults can be reconfigured. Table 2 lists the Rabbit 3000 factory defaults
and the alternate configurations.
User’s Manual23
Table 2. RCM3750 Pinout Configurations
PinPin NameDefault UseAlternate UseNotes
External data bus
1–8PA[7:0]Parallel I/O
(ID0–ID7)
Slave port data bus
(SD0–SD7)
External Data Bus
9PF1Input/Output
10PF0Input/Output
11PB0Input/OutputCLKB
12PB2Input/Output
13PB3Input/Output
14PB4Input/Output
15PB5Input/Output
16PB7Input/Output
Header J1
17PF4Input/Output
QD1A
CLKC
QD1B
CLKD
IA0
/SWR
IA1
/SRD
IA2
SA0
IA3
SA1
IA5
/SLAVEATTN
AQD1B
PWM0
External Address 0
Slave port write
External Address 1
Slave port read
External Address 2
Slave Port Address 0
External Address 3
Slave Port Address 1
External Address 5
Slave Port Attention
18PF5Input/Output
19PF6Input/Output
20PF7Input/Output
21PC0OutputTXDSerial Port D
22PC1/PG2Input/OutputRXD/TXF
23PC2OutputTXCSerial Port C
24PC3/PG3Input/OutputRXC/RXF
25PE7Input/Output
24RabbitCore RCM3750
AQD1A
PWM1
AQD2B
PWM2
AQD2A
PWM3
I7
/SCS
Serial Port D
Serial Port F
Serial Port C
Serial Port F
I/O Strobe 7
Slave Port Chip Select
Loading...
+ 142 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.