Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com
—This program demonstrates basic RS-232 serial communication.
•
SIMPLE3WIRE.C
Lower case characters are sent by TxE, and are received by RxF. The characters are
converted to upper case and are sent out by TxF, are received by RxE, and are displayed
in the Dynamic C
STDIO
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.
—This program demonstrates 5-wire RS-232 serial communication
•
SIMPLE5WIRE.C
with flow control on Serial Port F and data flow on Serial Port E.
To set up the Prototyping Board, you will need to tie
TxE and RxE together on the RS-232 header at J14,
and you will also tie TxF and RxF together as shown in
the diagram.
Once you have compiled and run this program, you can
test flow control by disconnecting TxF from RxF while the program is running. Char-
acters will no longer appear in the
connected back to RxF.
—This program transmits and then receives an ASCII string on Serial
•
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 and S3 on the Prototyping Board. The data sent between the serial ports
will be displayed in the
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—another Rabbit single-board computer
or RabbitCore module may be used as long as you use the master or slave sample program
associated with that board.
Before running either of these sample programs on the RCM3309/RCM3319 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.
18
window.
window, and will display again once TxF is
STDIO
STDIO
window.
SIMPLE485MASTER.C
TxE RxE
TxE RxE
TxE RxE
and
SIMPLE485SLAVE.C
RabbitCore RCM3309/RCM3319
GND
TxF RxF
485+ GND 485
GND
TxF RxF
485+ GND 485
STDIO
GND
TxF RxF
485+ GND 485
, are available
Need help?
Do you have a question about the RabbitCore RCM3309 and is the answer not in the manual?