参数资料
型号: 101-1226
厂商: Rabbit Semiconductor
文件页数: 166/168页
文件大小: 0K
描述: RCM3900 DEV KIT UNIVERSAL
标准包装: 1
系列: RabbitCore 3900
类型: MPU 模块
适用于相关产品: RCM3900
所含物品: RabbitCore 模块、开发板、交流适配器、缆线和 Dynamic C? 光盘
其它名称: 316-1137
RabbitCore RCM3900 User’s Manual
97
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 RCM3900 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()
function call from the LIB\RS232.LIB, where X is the serial
port (E or F). 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., 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.
Standard 3-wire RS-232 communication using Serial Ports E and F is illustrated in the fol-
lowing sample code.
#define EINBUFSIZE
15
// set size of circular buffers in bytes
#define EOUTBUFSIZE 15
#define FINBUFSIZE
15
#define FOUTBUFSIZE 15
#define MYBAUD 115200
// set baud rate
#endif
main(){
serEopen(_MYBAUD);
// open Serial Ports E and F
serFopen(_MYBAUD);
serEwrFlush();
// flush their input and transmit buffers
serErdFlush();
serFwrFlush();
serFrdFlush();
serEclose(_MYBAUD);
// close Serial Ports C and D
serFclose(_MYBAUD);
}
相关PDF资料
PDF描述
AIUR-10-102K INDUCTOR POWER 1000UH 10% T/H
AIUR-06-470K INDUCTOR POWER 47UH 10% T/H
V300C28C75B2 CONVERTER MOD DC/DC 28V 75W
AT91SAM9X25-EK KIT EVAL FOR AT91SAM9G25
AT91SAM9G25-EK KIT EVAL FOR AT91SAM9G25
相关代理商/技术参数
参数描述
10-11-2263 功能描述:集管和线壳 KK 100 Housing Crimp Ramp 26 Ckt RoHS:否 产品种类:1.0MM Rectangular Connectors 产品类型:Headers - Pin Strip 系列:DF50 触点类型:Pin (Male) 节距:1 mm 位置/触点数量:16 排数:1 安装风格:SMD/SMT 安装角:Right 端接类型:Solder 外壳材料:Liquid Crystal Polymer (LCP) 触点材料:Brass 触点电镀:Gold 制造商:Hirose Connector
10-11-2264 制造商:MOLEX 制造商全称:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2273 制造商:MOLEX 制造商全称:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2274 功能描述:集管和线壳 KK 100 Housing Crimp Pol Ramp 27 Ckt RoHS:否 产品种类:1.0MM Rectangular Connectors 产品类型:Headers - Pin Strip 系列:DF50 触点类型:Pin (Male) 节距:1 mm 位置/触点数量:16 排数:1 安装风格:SMD/SMT 安装角:Right 端接类型:Solder 外壳材料:Liquid Crystal Polymer (LCP) 触点材料:Brass 触点电镀:Gold 制造商:Hirose Connector
10-11-2283 功能描述:集管和线壳 28P HI PRESSURE HSG RoHS:否 产品种类:1.0MM Rectangular Connectors 产品类型:Headers - Pin Strip 系列:DF50 触点类型:Pin (Male) 节距:1 mm 位置/触点数量:16 排数:1 安装风格:SMD/SMT 安装角:Right 端接类型:Solder 外壳材料:Liquid Crystal Polymer (LCP) 触点材料:Brass 触点电镀:Gold 制造商:Hirose Connector