101-1279 Rabbit Semiconductor, 101-1279 Datasheet - Page 45

PLASTIC ENCLOSURE FOR BL4S100

101-1279

Manufacturer Part Number
101-1279
Description
PLASTIC ENCLOSURE FOR BL4S100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1279

Accessory Type
Enclosure
Product
Prototyping Accessories
Processor Type
BL4S100
Board Size
146 mm x 96 mm x 16 mm
Interface Type
Ethernet
For Use With/related Products
BL4S100
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
316-1159
4.2.2 Serial Communication
The following sample programs are found in the
BL4S100 User’s Manual
PARITY.C
to Serial Port F. The program will cycle through parity types on Serial Port D. Serial
Port F will always be checking parity, so parity errors should occur during most
sequences. The results are displayed in the Dynamic C
Connect Tx/1-W to CTS (RxF) on header J5 before compiling and
running this sample program. You may wish to do
the program to see the data, which go by rather quickly.
SIMPLE3WIRE.C
serial communication using the Dynamic C
low these instructions before running this sample program.
Connect Tx/1-W to CTS (RxF), then connect Rx to RTS (TxF)
before compiling and running this sample program.
SIMPLE5WIRE.C
using the Dynamic C
sample program.
Before you compile and run this sample program, connect Tx/1-W
to Rx, then connect RTS to CTS.
To test flow control, disconnect RTS from CTS while running this
program. Characters should stop printing in the Dynamic C
window and should resume when RTS and CTS are connected again.
COMPUTER_PARITY.C
three-wire RS-232 connection. Parity is selected for the BL4S100 and for the serial ter-
minal emulation program. Characters typed in either the Dynamic C
in the serial terminal emulation program are echoed in both displays. Parity errors are
counted and displayed by the Rabbit microprocessor on the BL4S100.
Before you compile and run this sample program, use the
long serial cable (Part No. 540-0094) to connect Tx (brown
wire), Rx (red wire) and GND (black wire) on header J5 to
a PC COM port.
Open a Hyperterminal session (
Communications
connected to and set the default serial parameters:
NOTE: For the sequence that does yield parity errors, the errors won't
Bits per second:
Data bits: 8
Parity: None
occur for each byte received. This is because certain byte patterns along with the stop bit will
appear to generate the correct parity for the UART.
—This sample program repeatedly sends byte values 0–127 from Serial Port D
115200
—This program demonstrates basic RS-232
—This program demonstrates 5-wire RS-232 serial communication
). Select the PC COM port the cable is
STDIO
—This sample program demonstrates using parity over a simple
window. Follow these instructions before running this
Start > Accessories >
STDIO
SAMPLES\BL4S1xx\RS232
<Ctrl-Q>
window. Fol-
STDIO
STDIO
to stop
window.
STDIO
subdirectory.
window or
43

Related parts for 101-1279