User’s Manual
21
The RS-485 connections between the slave and master devices are as follows.
•
RS485+ to RS485+
•
RS485– to RS485–
•
GND to GND
•
SIMPLE485MASTER.C
—This program demonstrates a simple RS-485 transmission of
lower case letters to a slave. The slave will send back converted upper case letters back
to the master and display them in the
STDIO
window. Use
SIMPLE485SLAVE.C
to
program the slave.
•
SIMPLE485SLAVE.C
—This program demonstrates a simple RS-485 transmission of
lower case letters to a master. The slave will send back converted upper case letters
back to the master and display them in the
STDIO
window. Use
SIMPLE485MASTER.C
to program the master.
3.2.3 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
SETRTCKB.C
sample program from
the Dynamic C
SAMPLES\RTCLOCK
folder, using the onscreen prompts. The
RTC_
TEST.C
sample program in the Dynamic C
SAMPLES\RTCLOCK
folder provides addi-
tional examples of how to read and set the real-time clock.
3.2.4 RabbitNet
Sample programs are available for each RabbitNet peripheral card, and can be found in the
Dynamic C
SAMPLES\RabbitNet
folder. When you run any of these sample programs
in conjunction with the RCM3305/RCM3315 and the Prototyping Board, you need to add
the line
#use rcm33xx.lib
at the beginning of the sample program.
TIP:
You need to add
#use rcm33xx.lib
at the beginning of any sample program
that is not in the Dynamic C
SAMPLES\RCM3300
folder.
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.
Summary of Contents for RCM3305
Page 6: ...RabbitCore RCM3305 RCM3315...
Page 14: ...8 RabbitCore RCM3305 RCM3315...
Page 22: ...16 RabbitCore RCM3305 RCM3315...
Page 28: ...22 RabbitCore RCM3305 RCM3315...
Page 70: ...64 RabbitCore RCM3305 RCM3315...
Page 106: ...100 RabbitCore RCM3305 RCM3315...
Page 144: ...138 RabbitCore RCM3305 RCM3315...
Page 160: ......