101-1028 Rabbit Semiconductor, 101-1028 Datasheet - Page 123

no-image

101-1028

Manufacturer Part Number
101-1028
Description
MODULE RABBITCORE RCM3750
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1028

Module/board Type
MPU Core Module
For Use With/related Products
RCM3750
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
RS-232 can be used effectively at the RabbitCore module’s maximum baud rate for dis-
tances of up to 15 m.
When stuffed, the RS-232 chip brings out Serial Ports C and D to the header J3 area on the
RCM3720 Prototyping Board. An optional 2 × 5 header strip with a 0.1" pitch can be
installed at J3 to allow you to connect a ribbon cable that leads to a standard DB-9 serial
connector. The 2 × 5 header (Part No. 405-0023) can be purchased through our
store, and is included with the subassembly (Part No. 151-0082) described above.
Table B-9 summarizes the serial port locations.
These serial ports can be configured in software as either one 5-wire or two 3-wire RS-232
channels. RS-232 flow control on an RS-232 port is initiated in software using the
flowcontrolOn
locations of the flow control lines are specified using a set of five macros.
Standard 3-wire RS-232 communication using Serial Ports C and D is illustrated in the
following sample code.
User’s Manual
SERX_RTS_PORT—Data register for the parallel port that the RTS line is on (e.g., PCDR).
SERA_RTS_SHADOW—Shadow register for the RTS line's parallel port (e.g., PCDRShadow).
SERA_RTS_BIT—The bit number for the RTS line.
SERA_CTS_PORT—Data register for the parallel port that the CTS line is on (e.g., PCDRShadow).
SERA_CTS_BIT—The bit number for the CTS line.
#define CINBUFSIZE
#define COUTBUFSIZE 15
#define DINBUFSIZE
#define DOUTBUFSIZE 15
#define MYBAUD 115200
#endif
main(){
}
serCopen(_MYBAUD);
serDopen(_MYBAUD);
serCwrFlush();
serCrdFlush();
serDwrFlush();
serDrdFlush();
serCclose(_MYBAUD);
serDclose(_MYBAUD);
Table B-9. RCM3720 Prototyping Board Serial Port Locations
function call from
Serial Port
D
C
15
15
// set baud rate
// set size of circular buffers in bytes
// open Serial Ports C and D
// flush their input and transmit buffers
// close Serial Ports C and D
Signal Header
RS232.LIB
J3
J3
, where
Header Pins
X
RxC…4
TxD…3
RxD…5
TxC…6
is the serial port (C or D). The
online
serX-
117

Related parts for 101-1028