参数资料
型号: 101-0814
厂商: Rabbit Semiconductor
文件页数: 55/94页
文件大小: 0K
描述: COMPUTER SNG BD BL1810 512K SRAM
标准包装: 10
系列: SBC
模块/板类型: 单板计算机模块
适用于相关产品: BL1810
User’s Manual
55
4.4.2 Serial Communication Drivers
Library files included with Dynamic C provide a full range of serial communications sup-
port. The RS232.LIB library provides a set of circular-buffer-based serial functions. The
PACKET.LIB
library provides packet-based serial functions where packets can be delim-
ited by the 9th bit, by transmission gaps, or with user-defined special characters. Both
libraries provide blocking functions, which do not return until they are finished transmit-
ting or receiving, and nonblocking functions, which must be called repeatedly until they
are finished. For more information, see the Dynamic C Function Reference Manual and
Technical Note 213, Rabbit Serial Port Software.
4.4.2.1 RS-485 Serial Communication Drivers
The JR485.LIB library in the Dynamic C LIB/JRABLIB directory contains three RS-485
drivers for use with the Jackrabbit. These drivers are used with the drivers for Serial Port D
in the RS232.LIB library because serDopen uses PC0 (TXD) and PC1 (RXD), which
are connected to pin 4 and pin 1 of the SP483EN RS-485 chip at U6. This chip is half
duplex, requiring pin 3 (Data Enable) to be high for pins 6 and 7 to act as outputs, and low
for those pins to act as inputs.
Parallel Ports D and E on the Rabbit 2000 are double-buffered to provide precisely timed
updating of the output pins. Each port is divided into an upper and a lower nibble. All bits
of each nibble must be updated simultaneously. Each nibble may be updated constantly at
a rate of perclk/2 or on a match of a selected timer (Timer A1, B1, or B2).
The bits used to select the update rate for each nibble are left random at power-up. If a mode
other than perclk/2 is selected, the bits of a particular port will not update on a simple
writing to the port’s data register. In particular, PD5, the RS-485 transmitter control, will not
set the RS-485 transmitter enable unless the upper nibble of Port D is configured properly.
The JR485Init function in Dynamic C release 6.16 has provision to disable the special
clocking features associated with the high nibble of Port D. This effectively disables
digital-to-analog (D/A) converter output channel DA1, the low-resolution D/A converter
channel, which also uses PD4. Channel DA0 has its PWM output clocked separately with
the low nibble, and so is not affected. Because the analog-to-digital converter uses D/A
channel DA0, analog-to-digital conversion is not affected.
There are three RS-485 serial drivers.
Sets up parallel port D pins for RS-485 use.
Sets pin 3 (DE) of the SP483EN chip high to disable Rx and enable Tx.
Resets pin 3 (DE) of the SP483EN chip low to disable Tx and enable Rx.
void Jr485Init();
void Jr485Tx();
void Jr485Rx();
相关PDF资料
PDF描述
101-1007 MODULE POWERCORE FLEX 3810
101-1028 MODULE RABBITCORE RCM3750
101-1087 MODULE RABBITCORE RCM 3365
1B31AN IC SIGNAL COND STRAIN GAGE 28DIP
1B32AN IC SIGNAL COND HYBRID 28-DIP
相关代理商/技术参数
参数描述
101-0815 功能描述:单板计算机 SR9100 512K SRAM RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0816 功能描述:KIT DEV RABBITCORE TCP/IP 2000 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:* 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
101-0817 功能描述:单板计算机 BL2030 512K SRAM RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0818 功能描述:单板计算机 BL2100 Fric Lk 512K RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0820 功能描述:COMPUTER SGL-BD BL2000 SRAM/FLSH RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器或微处理器模块 系列:SBC 产品目录绘图:DLP-245SY-G 标准包装:1 系列:USB 模块/板类型:开发板 适用于相关产品:USB 其它名称:813-1006