101-0954 Rabbit Semiconductor, 101-0954 Datasheet - Page 93

no-image

101-0954

Manufacturer Part Number
101-0954
Description
KIT DEV RABBIT RCM3360/3370 INTL
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3000r
Datasheet

Specifications of 101-0954

For Use With/related Products
RCM3360
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
B.4.6.1 RS-232
RS-232 serial communication on the Prototyping Board is supported by an RS-232 trans-
ceiver installed at U9. This transceiver provides the voltage output, slew rate, and input
voltage immunity required to meet the RS-232 serial communication protocol. Basically,
the chip translates the Rabbit 3000’s signals to RS-232 signal levels. Note that the polarity
is reversed in an RS-232 circuit so that a +5 V output becomes approximately -10 V and 0
V is output as +10 V. The RS-232 transceiver also provides the proper line loading for
reliable communication.
RS-232 can be used effectively at the RCM3360/RCM3370 module’s maximum baud rate
for distances of up to 15 m.
RS-232 flow control on an RS-232 port is initiated in software using the
serXflowcontrolOn
The locations of the flow control lines are specified using a set of five macros.
Standard 3-wire RS-232 communication using Serial Ports E and F is illustrated in the fol-
lowing sample code.
User’s Manual
SERX_RTS_PORT—Data register for the parallel port that the RTS line is on (e.g., PGDR).
SERX_RTS_SHADOW—Shadow register for the RTS line's parallel port (e.g., PGDRShadow).
SERX_RTS_BIT—The bit number for the RTS line.
SERX_CTS_PORT—Data register for the parallel port that the CTS line is on (e.g., PCDRShadow).
SERX_CTS_BIT—The bit number for the CTS line.
#define EINBUFSIZE
#define EOUTBUFSIZE 15
#define FINBUFSIZE
#define FOUTBUFSIZE 15
#ifndef _232BAUD
#define _232BAUD 115200
#endif
main(){
}
serEopen(_232BAUD);
serFopen(_232BAUD);
serEwrFlush();
serErdFlush();
serFwrFlush();
serFrdFlush();
function call from
15
15
RS232.LIB
, where
X
is the serial port (E or F).
87

Related parts for 101-0954