101-0359 Rabbit Semiconductor, 101-0359 Datasheet - Page 42
![KIT DEVELOPMENT BASIC RABBIT2000](/photos/9/24/92474/101-0359_sml.jpg)
101-0359
Manufacturer Part Number
101-0359
Description
KIT DEVELOPMENT BASIC RABBIT2000
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 2000r
Type
MPU Moduler
Datasheet
1.101-0359.pdf
(54 pages)
Specifications of 101-0359
Rohs Status
RoHS non-compliant
Contents
RabbitCore Module, Dev. Board, AC Adapter, Cable and Dynamic C® CD-Rom
Processor To Be Evaluated
Rabbit 2000
Interface Type
RS-232, RS-485
For Use With/related Products
RCM2000, RCM2010, RCM2020
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
316-1003
4.2.2 Serial Communication Drivers
Library files included with Dynamic C provide a full range of serial communications sup-
port. The
PACKET.LIB
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 2000 Serial Port Software.
4.2.2.1 RS-485 Serial Communication Drivers
The
drivers for use with the BL1810. These drivers are used with the drivers for Serial Port D in
the
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
The bits used to select the update rate for each nibble are left random at power-up. If a mode
other than
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
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.
38
void Jr485Init();
void Jr485Tx();
void Jr485Rx();
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.
RS232.LIB
JR485.LIB
JR485Init
perclk
RS232.LIB
perclk
library provides packet-based serial functions where packets can be delim-
library because
/2 or on a match of a selected timer (Timer A1, B1, or B2).
library in the Dynamic C
function in Dynamic C release 6.16 has provision to disable the special
/2 is selected, the bits of a particular port will not update on a simple
library provides a set of circular-buffer-based serial functions. The
serDopen
LIB/JRABLIB
uses PC0 (TXD) and PC1 (RXD), which are
directory contains three RS-485
Rabbit 2000 Development Kit