CD2401 Intel, CD2401 Datasheet - Page 88

no-image

CD2401

Manufacturer Part Number
CD2401
Description
Multi-protocol Communications Controller
Manufacturer
Intel
Datasheet
CD2401 — Multi-Protocol Communications Controller
7.0
88
Figure 16. Initialization Sequence for the CD2401
Programming Examples
This section provides some examples of CD2401 programming. Included are examples of Global
and Per-Channel initialization, and two interrupt service routines. The code was written in
Borland Turbo C .
DO NOT ISSUE A
‘RESET ALL’ COMMAND
IMMEDIATELY AFTER POWER UP
RECONFIGURATION
SINGLE CHANNEL
A HOST COMMAND
‘RESET ALL’
(CAR, CCR)
RX AND TX
COMMAND
(ANY CCR)
DISABLE
SCHR1–4, SCR, RTPR (ASYNC)
SET UP CHANNEL-SPECIFIC
REGISTERS IN ANY ORDER:
CMR, COR1–5, TBPR, TCOR,
RBPR, RCOR, CPSR, LIVR,
LAST STEP IN CHANNEL
GT1–2, RFAR1–4 (SYNC),
SETUP CAR CHANNEL-
SPECIFIC REGISTER
CONFIGURATION:
WAIT FOR GFRCR
TO BE NON-ZERO
TPR AND PILR1–3
SETUP GLOBAL
A CHANNEL IS
CONFIGURED
REGISTERS:
POWER UP
CCR, IER
FIRST
Datasheet

Related parts for CD2401