20-101-1196 Rabbit Semiconductor, 20-101-1196 Datasheet - Page 25

MODULE RABBITCORE RCM3900

20-101-1196

Manufacturer Part Number
20-101-1196
Description
MODULE RABBITCORE RCM3900
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1196

Module/board Type
MPU Core Module
For Use With/related Products
RCM3900
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-101-1196
316-1155
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
RCM3900, or it may be any Rabbit single-board computer or RabbitCore module that sup-
ports RS-485 serial communication as long as you use the master or slave sample program
associated with that board.
Before running either of these sample programs on the RCM3900 assembly, make sure
pins 1–2 and pins 5–6 are jumpered together on header JP5 to use the RS-485 bias and ter-
mination 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 Dynamic C SAMPLES\RTCLOCK\
SETRTCKB.C sample program by following the onscreen prompts. The Dynamic C
SAMPLES\RTCLOCK\RTC_TEST.C sample program provides additional examples of
how to read and set the real-time clock.
3.2.5 Other Sample Programs
Section 6.6 describes the TCP/IP sample programs, and Appendix C.7 provides sample
programs for the optional LCD/keypad module that can be installed on the Prototyping
Board.
RabbitCore RCM3900 User’s Manual
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
SIMPLE485MASTER.C
—This program demonstrates a simple RS-485 transmission of
—This program demonstrates a simple RS-485 transmission of
SIMPLE485MASTER.C
STDIO
STDIO
and
window. Use
SIMPLE485SLAVE.C
window. Compile and run this pro-
SIMPLE485MASTER.C
to program the master.
SIMPLE485SLAVE.C
, are available
on the
to
25

Related parts for 20-101-1196