MCCIRM Freescale Semiconductor / Motorola, MCCIRM Datasheet - Page 25

no-image

MCCIRM

Manufacturer Part Number
MCCIRM
Description
MCCIRM Multi-Channel Communications Interface Reference Manual
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
3.4 System Initialization
Multichannel Communication Interface — Rev. 1.0
MOTOROLA
After reset, the MCCI remains in an idle state. Several registers must be
initialized before serial operations begin. A general sequence guide for
initialization follows. Registers, fields, and bits referred to in the
summary are fully described later in this section or in subsequent
sections of this manual.
1. Global
2. Serial peripheral interface
Freescale Semiconductor, Inc.
For More Information On This Product,
a. MCCI module configuration register (MMCR)
b. Interrupt vector and interrupt level registers (MIVR, ILSPI,
d. Pin control registers
a. SPI control register (SPCR)
c. Port data register
and ILSCI)
ii. Clear the STOP bit if it is not already cleared.
ii. Write the SPI interrupt request level into the ILSPI and
ii. Read a port pin state from PORTMCP.
ii. Assign pin functions by writing to the MCCI pin
ii. Determine clock phase (CPHA) and clock polarity
i. Write an interrupt arbitration number greater than 0 into
i. Write the SPI/SCI interrupt vector into MIVR.
i. Write a data word to PORTMC.
i. Establish the direction of MCCI pins by writing to the
i. Write a transfer rate value into the BAUD field.
Go to: www.freescale.com
Configuration and Control
the IARB field.
the interrupt request levels for the two SCI interfaces
into the ILSCI.
MCCI data direction register (MDDR).
assignment register (MPAR).
(CPOL).
Configuration and Control
System Initialization
Reference Manual
25

Related parts for MCCIRM