參數(shù)資料
型號(hào): CD1283
廠商: Intel Corp.
英文描述: IEEE 1284-Compatible Parallel Interface
中文描述: 符合IEEE 1284兼容并行接口
文件頁(yè)數(shù): 47/94頁(yè)
文件大?。?/td> 1237K
代理商: CD1283
IEEE 1284-Compatible Parallel Interface
CD1283
Datasheet
47
6.0
Programming
6.1
Overview
As shown in the register summary tables in
Chapter 4.0
, the CD1283 local CPU interface consists
of a large array of registers. These registers control all aspects of device behavior. Most registers
are only modified once, during initialization, and rarely modified during normal operation. This
chapter discusses these aspects, as well as the methods of interacting with the CD1283 for parallel-
channel service requirements.
6.2
Initialization
To properly power-up a CD1283, several procedures must be completed. These include device
initialization, programming global functions, and setting port parameters. In most cases,
initialization routines are only executed once
during overall system boot-up.
Section 6.2.1
details
these steps (
Figure 15 on page 48
for a flow-chart step outline).
6.2.1
Device Reset
The procedures that perform chip reset are normally executed after a power-up, system-wide reset.
The hardware reset control signal, RESET* causes the CD1284 to perform its own internal
initialization. If desired, the driver software can issue a full chip reset before chip initialization
begins. To accomplish this, perform the following steps.
1. Wait for RCR to contain
0x00
.
The contents of the RCR must be
0
before the reset command is issued. This is required to
ensure that the device is ready to accept the new command. Since this is probably the first
command written to the CD1283 after power-on initialization, the RCR is likely to be
0
, but
it is recommended to always check the RCR before writing a new command.
2. Set the AER
0x02
.
This is the only time during normal operation that the AER is set to any value other than
0x00
. Again, this is required to maintain binary compatibility with the CD1284.
3. Write hexadecimal 81 (x
81) to the RCR.
This command causes the CD1283 to perform a global reset. It causes the internal RISC
processor to begin execution from its power-up reset location. The results are the same as if
the RESET* input is activated. All internal interface registers are cleared, the FIFO is flushed,
and all channel operations are disabled.
4. Wait for the firmware revision code to be written into the GFRCR.
Internal firmware uses this operation to flag completion of the reset procedure. After the reset
is issued, the GFRCR is one of the first registers cleared and it is the last one set before normal
runtime code execution begins. The initialization routine
must
wait for this register to become
non-zero before it begins any other programming of CD1284 registers. If the CPU is
sufficiently fast, it could begin testing the GFRCR before the MPU clears it. The assumption
could be made that the CD1284 has completed internal initialization when, in fact, it has not
even started. To avoid this error, the CPU should look for the GFRCR to change to
0
. It
should then look to the current revision code. Alternatively, the CPU can clear the GFRCR just
prior to issuing the global reset command and then poll for the correct revision code. This is
相關(guān)PDF資料
PDF描述
CD1284 IEEE 1284-Compatible Parallel Interface Controller with Two High-Speed Asynchronous Serial Ports
CD13002 NPN SILICON PLANAR EPITAXIAL, HIGH VOLTAGE FAST SWITCHING POWER TRANSISTOR
CD14538 CMOS DUAL PRECISION MONOSTABLE MULTIVIBRATOR
CD14538BMS CMOS Dual Precision Monostable Multivibrator
CD15B-15MB CD105B
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CD1284 制造商:INTEL 制造商全稱(chēng):Intel Corporation 功能描述:IEEE 1284-Compatible Parallel Interface Controller with Two High-Speed Asynchronous Serial Ports
CD-12AFFM-QL8D01 功能描述:MIDDLE 制造商:amphenol ltw 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:10
CD-12AFFM-QR8D01 功能描述:MIDDLE 制造商:amphenol ltw 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:10
CD-12AMMM-QL8D01 功能描述:MIDDLE 制造商:amphenol ltw 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:10
CD-12BFFA-LL7001 功能描述:MIDDLE 制造商:amphenol ltw 系列:* 零件狀態(tài):在售 標(biāo)準(zhǔn)包裝:10