User guide
46 DC 900-1338I
Protocol Software Toolkit Programmer Guide
• a MC68901 multi-function peripheral (MFP) with four timers, interrupt control
logic, and a single-channel universal synchronous/asynchronous receiver/trans-
mitter (USART) which is used to support the ICP’s console
• four or eight two-channel Z8530 serial communications controllers (SCCs)
• a 32-channel DMA transfer controller
Refer to the MC68901 Multi-function Peripheral (Motorola) and the Serial Communica-
tions Controller User’s Manual (Zilog).
The following sections describe how to program these devices as related specifically to
their implementation on the ICP. More information can be found in the Freeway
ICP6000R/ICP6000X Hardware Description. Appendix A of this manual provides some
important application notes correcting errors and omissions in the technical manuals
and describing some peculiarities of the devices and the ICP hardware.
The ICP hardware also includes a VMEbus slave interface device that controls the ICP’s
interface to the Freeway server or the embedded ICP’s client machine. This device is
under the control of XIO and does not normally require programming at the applica-
tion level. All data transfers to and from the client machine are performed by the ICP
through the VMEbus master interface. Programming parameters for the master inter-
face are provided to the ICP by the client-side driver prior to download. Refer to the
Freeway ICP6000R/ICP6000X Hardware Description for more information.
2.6.1 Programming the Multi-function Peripheral
The MC68901 multi-function peripheral (MFP) requires 16 interrupt vectors. The
starting vector number is programmed using the MFP’s vector register and must be an
even multiple of 16. The In-service Register Enable bit in the vector register must be set
(that is, OR the vector number with 8 before storing it in the vector register).
OS/Impact uses MFP timer channel A. The PTBUG debugging tool uses channel D as
the baud rate generator for the MFP’s serial port and uses the MFP’s USART to control