101-0738 Rabbit Semiconductor, 101-0738 Datasheet - Page 46

no-image

101-0738

Manufacturer Part Number
101-0738
Description
CARD ETHERNET 512K SRAM SR9150
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0738

Accessory Type
Smart Star CPU Card
For Use With/related Products
SR9150
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
4.2 Sample Programs
Sample programs are provided in the Dynamic C
PONG.C
SAMPLES
ing Dynamic C libraries.
The
control system. Each sample program has comments that describe the purpose and func-
tion of the program. Follow the instructions at the beginning of the sample program.
To run a sample program, open it with the
the
be in Program mode (see Section 3.3, “Programming Cable”) and must be connected to a
PC using the programming cable as described in Section 2.2, “Connect the Power Supply.”
More complete information on Dynamic C is provided in the Dynamic C User’s Manual.
Let’s take a look at sample programs for the backplane and the CPU Card in the
SMRTSTAR
The RS232 directory contains two sample programs to illustrate RS-232 serial communi-
cation.
• SSTAR232.C —Demonstrates a simple RS-232 loopback using both serial ports C and D.
• SSTAR5W.C —Demonstrates simple 5-wire RS-232 communication with flow control.
The RS485 directory contains two sample programs to illustrate RS-485 serial communication.
• MASTER.C —Demonstrates a simple RS-485 transmission of lower case letters to a
• SLAVE.C —Demonstrates a simple RS-485 transmission of alphabetic characters to a
46
slave controller. The slave will send converted upper case letters back to the master
controller for display in the
troller.
master controller. The slave will send converted upper case letters back to the master
controller for display in the
controller.
Compile
SAMPLES\ SMRTSTAR
demonstrates the output to the
folder contain specific sample programs that illustrate the use of the correspond-
folder.
menu, and then run it by selecting
folder provides sample programs specific to the Smart Star
STDIO
STDIO
window. Use SLAVE.C to program the slave con-
window. Use MASTER.C to program the master
STDIO
File
menu (if it is not still open), compile it using
window. The various directories in the
Run
SAMPLES
in the
Run
folder. The sample program
menu. The BL2500 must
Smart Star (SR9000)

Related parts for 101-0738