English
Language : 

CD1865 Datasheet, PDF (37/150 Pages) Intel Corporation – Intelligent Eight-Channel Communications Controller
5.5.1
Intelligent Eight-Channel Communications Controller — CD1865
• This method is called ‘Software Polled’. Polling is often used in situations where the host
system is primarily dedicated to servicing the serial channels and has few other tasks to
perform. It is usually better when the host CPU has a long interrupt context switch time. In this
method, the host periodically checks the CD1865s to determine if any service requests are
pending. If they are, the host acknowledges them in software and proceeds with the service.
One of the advantages of the CD1865 is that it allows the use of any of the above techniques, or a
combination. Such a combination is referred to as ‘Mixed-mode operation’. In a typical mixed-
mode design, normal interrupts are used to signal to the host that service is required. After the host
enters its interrupt service routine, it services the CD1865 that generated the service request. Then
the host polls the CD1865s to determine if more channels require service. If the host finds a
channel requiring service, it handles it in the usual manner, and then proceeds to poll for more
service requests. This process continues until all CD1865s are handled. Because the host is not
exiting and re-entering its own interrupt context each time, much host CPU time is saved, resulting
in even faster overall performance.
The Advantage of a mixed-mode design is that the software has complete control of whether to be
fully interrupt driven or to poll in certain circumstances. A mixed-mode design is recommended to
tune a system for optimum performance.
A CD1865 evaluation board can be employed to analyze CD1865 performance and evaluate
different software implementations. Intel testing (in an AT-compatible ’386 machine) found that a
mixed-mode system provided the highest overall throughput with minimum host CPU loading.
This is generally found to be the case with host processors that have relatively long interrupt
response times, such as the Intel ’386.
Method 1a — Full Interrupt – Type A, Three-Level Interrupt
with Three-Level Acknowledge
This method is illustrated in Figure 8. It is best-suited for 680X0-family processors. The three
CD1865 service request lines are connected to the Interrupt Priority Encoder. When the host
performs an interrupt acknowledgment cycle, the CD1865 responds with its vector. The host uses
this vector to jump directly to the appropriate service routine. Other methods can also be used with
a 680X0-based system.
Datasheet
37