MC68HC58 Motorola, MC68HC58 Datasheet - Page 48

no-image

MC68HC58

Manufacturer Part Number
MC68HC58
Description
Data Link Controller
Manufacturer
Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC58FN
Manufacturer:
MOT
Quantity:
4 130
Part Number:
MC68HC58FN
Manufacturer:
MOT
Quantity:
4 130
Part Number:
MC68HC58FN
Manufacturer:
FREESCALE
Quantity:
1 238
Part Number:
MC68HC58FNA
Manufacturer:
MEANWELL
Quantity:
100
The data link controller exchanges information in pairs of bytes in both the serial and
parallel modes. A standard exchange consists of one status byte and one data byte
sent from the DLC to the host, and one data byte and one command byte sent from
the host to the DLC. In serial mode, the host and the DLC exchange pairs of bytes
simultaneously, while exchanges in parallel mode are sequential. A host can write
contiguous data bytes to the DLC in parallel mode without intervening command
bytes, provided the first and last data bytes are accompanied by “load as first byte of
transmit data”, “load as last byte of transmit data”, or “load as first and last byte of
transmit data” command bytes.
Data that the DLC receives from the host can be data for transmission on the SAE
J1850 bus, a configuration byte, or a null byte. The destination of a byte written to a
DLC is specified in the command byte that accompanies it. Command bytes can also
contain DLC receive, transmit, and mode control instructions.
The status byte that the host receives from the DLC contains information about the ac-
companying data byte, current status of the transmitter, and current status of the re-
ceiver. The data byte can contain received frame data, a transmission completion
code, or invalid information.
The DLC must be configured after power-up or reset, and at appropriate intervals
thereafter. To configure a DLC, the host MCU sends a configuration command byte
followed by a configuration data byte. Mode of operation, clock speed, and interrupt
mode are determined by the content of the configuration byte.
When the CS signal is asserted, interface lines (parallel or serial) are enabled, then
status and data words are prepared for transfer to the host. Parallel transfers are
controlled by the ADDR0, CLK, and R/W signals. Serial transfers are clocked by the
SCLK signal. When CS is released, interface lines are disabled and go to a high-im-
pedance state.
When interrupts are enabled, the DLC generates an interrupt based on four, or option-
ally five interrupt sources. When one of these interrupt conditions occurs, the DLC as-
serts the INT output to request service from the host. The INT output is negated when
CS is asserted by the host and the status byte is read. Refer to 4.2.3 Interrupt Re-
quests for more information.
Figure 4-3 shows typical DLC operation.
MOTOROLA
DATA LINK CONTROLLER OPERATION
MC68HC58
4-4
TECHNICAL DATA

Related parts for MC68HC58