101-1055 Rabbit Semiconductor, 101-1055 Datasheet - Page 31

no-image

101-1055

Manufacturer Part Number
101-1055
Description
MODULE RABBIT CORE RCM3375
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1055

Module/board Type
MPU Core Module
For Use With/related Products
RCM3375
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Two sample programs,
to illustrate RS-485 master/slave communication. To run these sample programs, you will
need a second Rabbit-based system with RS-485—the second system may be another
RCM3365/RCM3375, or it may be any Rabbit single-board computer or RabbitCore mod-
ule that supports RS-485 serial communication as long as you use the master or slave sam-
ple program associated with that board.
Before running either of these sample programs on the RCM3365/RCM3375 assembly,
make sure pins 1–2 and pins 5–6 are jumpered together on header JP5 to use the RS-485
bias and termination resistors. The sample programs use Serial Port C as the RS-485 serial
port, and they use PD7 to enable/disable the RS-485 transmitter.
The RS-485 connections between the slave and master devices are as follows.
• RS485+ to RS485+
• RS485– to RS485–
• GND to GND
3.2.4 Real-Time Clock
If you plan to use the real-time clock functionality in your application, you will need to set
the real-time clock. Set the real-time clock using the
the Dynamic C
TEST.C
tional examples of how to read and set the real-time clock.
User’s Manual
SWITCHCHAR.C
Ports E and F. It also displays the serial data received from both ports in the
window.
To set up the Prototyping Board, you will need to tie
TxE and RxF together on the RS-232 header at J14, and
you will also tie RxE and TxF together as shown in the
diagram.
Once you have compiled and run this program, press
and release S2 on the Prototyping Board to send a message from Serial Port E to Serial
Port F; press and release S3 on the Prototyping Board to send a message from Serial
Port F to Serial Port E. The data sent between the serial ports will be displayed in the
STDIO
SIMPLE485MASTER.C
lower case letters to a slave. The slave will send back converted upper case letters back
to the master and display them in the
program the slave—reset the slave before you run
master.
SIMPLE485SLAVE.C
lower case letters to a master. The slave will send back converted upper case letters
back to the master and display them in the
gram on the slave before you use
sample program in the Dynamic C
window.
SAMPLES\RTCLOCK
—This program transmits and then receives an ASCII string on Serial
SIMPLE485MASTER.C
—This program demonstrates a simple RS-485 transmission of
—This program demonstrates a simple RS-485 transmission of
SIMPLE485MASTER.C
folder, using the onscreen prompts. The
STDIO
SAMPLES\RTCLOCK
STDIO
and
window. Use
SIMPLE485SLAVE.C
SETRTCKB.C
window. Compile and run this pro-
SIMPLE485MASTER.C
to program the master.
SIMPLE485SLAVE.C
folder provides addi-
sample program from
, are available
on the
RTC_
STDIO
to
25

Related parts for 101-1055