参数资料
型号: 101-1155
厂商: Rabbit Semiconductor
文件页数: 25/134页
文件大小: 0K
描述: KIT DEVELOPMENT USA RCM4200
标准包装: 1
系列: RabbitCore 4000
类型: MPU 核心模块
适用于相关产品: RCM4200
所含物品: RabbitCore 模块、开发板、交流适配器、缆线和 Dynamic C? 光盘
其它名称: 316-1126
114
RabbitCore RCM4200
B.4.4.1 RS-232
RS-232 serial communication on header J4 on both Prototyping Boards is supported by an
RS-232 transceiver installed at U3. 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 4000’s signals to RS-232 signal levels. Note that
the polarity is reversed in an RS-232 circuit so that a +3.3 V output becomes approxi-
mately -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 RCM4200 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 serXflowcon-
trolOn
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);
}
相关PDF资料
PDF描述
M3DGK-6036J IDC CABLE - MKR60K/MC60G/MCS60K
MAX6428OSUR+T IC MONITOR BAT LP SOT23-3
M3DEK-6036J IDC CABLE - MKR60K/MC60G/MCE60K
AFK106M50D16T-F CAP ALUM 10UF 50V 20% SMD
VI-26R-EY-S CONVERTER MOD DC/DC 7.5V 50W
相关代理商/技术参数
参数描述
101-1156 功能描述:开发板和工具包 - 其他处理器 RCM4200 Dev Kit (Intl) RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-115-6110-EV 功能描述:编码器 1mA PUSH 220gf 12 PULSE 24 DETENTS RoHS:否 制造商:Avago Technologies 产品:Optical Encoders 类型:Absolute 每转脉冲: 制动器数量: 通道数量:2 安装风格:Through Hole 端接类型:Solder Pin 输出: 轴类型: 带开关: 电源电压:5 V 工作温度范围:- 40 C to + 115 C
101-115-6191-EV 功能描述:编码器 1mA PUSH 220gf 12 PULSE 24 DETENTS RoHS:否 制造商:Avago Technologies 产品:Optical Encoders 类型:Absolute 每转脉冲: 制动器数量: 通道数量:2 安装风格:Through Hole 端接类型:Solder Pin 输出: 轴类型: 带开关: 电源电压:5 V 工作温度范围:- 40 C to + 115 C
101-1157 功能描述:开发板和工具包 - 其他处理器 RCM4100 Analog Dev Kit (US) RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-1158 功能描述:开发板和工具包 - 其他处理器 RCM4100 Analog Dev Kit (Intl) RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压: