参数资料
型号: 101-1028
厂商: Rabbit Semiconductor
文件页数: 28/172页
文件大小: 0K
描述: MODULE RABBITCORE RCM3750
标准包装: 1
系列: RabbitCore®
模块/板类型: MPU 核心模块
适用于相关产品: RCM3750
User’s Manual
117
R
C
M
3
7
2
0
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 online
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 serX-
flowcontrolOn
function call from RS232.LIB, where X is the serial port (C or D). The
locations of the flow control lines are specified using a set of five macros.
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.
Standard 3-wire RS-232 communication using Serial Ports C and D is illustrated in the
following sample code.
#define CINBUFSIZE
15
// set size of circular buffers in bytes
#define COUTBUFSIZE 15
#define DINBUFSIZE
15
#define DOUTBUFSIZE 15
#define MYBAUD 115200
// set baud rate
#endif
main(){
serCopen(_MYBAUD);
// open Serial Ports C and D
serDopen(_MYBAUD);
serCwrFlush();
// flush their input and transmit buffers
serCrdFlush();
serDwrFlush();
serDrdFlush();
serCclose(_MYBAUD);
// close Serial Ports C and D
serDclose(_MYBAUD);
}
Table B-9. RCM3720 Prototyping Board Serial Port Locations
Serial Port
Signal Header
Header Pins
CJ3
TxC…6
RxC…4
DJ3
TxD…3
RxD…5
相关PDF资料
PDF描述
101-1087 MODULE RABBITCORE RCM 3365
1B31AN IC SIGNAL COND STRAIN GAGE 28DIP
1B32AN IC SIGNAL COND HYBRID 28-DIP
1B41BN IC RTD SIGNAL COND HYBRID 38-DIP
1B51BN IC THERMCPL SGNL COND ISOL 38DIP
相关代理商/技术参数
参数描述
1011-02-CA 功能描述:熔丝座配件 1011-02-CA RoHS:否 制造商:Schurter 产品:Caps 类型:Slot Knob 用于:FEU, FEU (Med), FAU, FAC
1011-03 功能描述:熔丝座配件 1011-03 STAINLSS STL RoHS:否 制造商:Schurter 产品:Caps 类型:Slot Knob 用于:FEU, FEU (Med), FAU, FAC
101-1030-BE-00100 功能描述:CABLE USB 1.1 A MALE-B MALE 1M RoHS:是 类别:电缆组件 >> USB 系列:- 标准包装:1 系列:- 配置:A 公型至 Mini-B 公型(4 位置) 长度:3.28'(1.00m) 技术规格:USB 2.0 屏蔽:屏蔽 样式:- 其它名称:1175-1077
101-1030-BE-00200 功能描述:CABLE USB 1.1 A MALE-B MALE 2M RoHS:是 类别:电缆组件 >> USB 系列:- 标准包装:1 系列:- 配置:A 公型至 Mini-B 公型(4 位置) 长度:3.28'(1.00m) 技术规格:USB 2.0 屏蔽:屏蔽 样式:- 其它名称:1175-1077
101-1030-BE-00300 功能描述:CABLE USB 1.1 A MALE-B MALE 3M RoHS:是 类别:电缆组件 >> USB 系列:- 标准包装:1 系列:- 配置:A 公型至 Mini-B 公型(4 位置) 长度:3.28'(1.00m) 技术规格:USB 2.0 屏蔽:屏蔽 样式:- 其它名称:1175-1077