MC68HC916Y3CFT16 Freescale Semiconductor, MC68HC916Y3CFT16 Datasheet - Page 288

no-image

MC68HC916Y3CFT16

Manufacturer Part Number
MC68HC916Y3CFT16
Description
IC MCU 96K FLASH 16MHZ 160-QFP
Manufacturer
Freescale Semiconductor
Series
HC16r
Datasheet

Specifications of MC68HC916Y3CFT16

Core Processor
CPU16
Core Size
16-Bit
Speed
16MHz
Connectivity
EBI/EMI, SCI, SPI
Peripherals
POR, PWM, WDT
Number Of I /o
60
Program Memory Size
96KB (96K x 8)
Program Memory Type
FLASH
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
160-QFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
12.5 MCCI Initialization
12-24
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.
A. Global
B. Serial Peripheral Interface
C. Serial Communication Interface (SCIA/SCIB)
1. Configure MMCR
2. Interrupt vector and interrupt level registers (MIVR, ILSPI, and ILSCI)
3. Port data register
4. Pin control registers
1. Configure SPCR
1. To transmit, read the SCSR, and then write transmit data to the SCDR. This
2. Configure SCCR1
clears the TDRE and TC indicators in the SCSR.
a. Write an interrupt arbitration number greater than zero into the IARB field.
b. Clear the STOP bit if it is not already cleared.
a. Write the SPI/SCI interrupt vector into MIVR.
b. Write the SPI interrupt request level into the ILSPI and the interrupt
a. Write a data word to PORTMC.
b. Read a port pin state from PORTMCP.
a. Establish the direction of MCCI pins by writing to the MDDR.
b. Assign pin functions by writing to the MPAR.
a. Write a transfer rate value into the BAUD field.
b. Determine clock phase (CPHA) and clock polarity (CPOL).
c. Specify an 8- or 16-bit transfer (SIZE) and MSB- or LSB-first transfer
d. Select master or slave operating mode (MSTR).
e. Enable or disable wired-OR operation (WOMP).
f. Enable or disable SPI interrupts (SPIE).
g. Enable the SPI by setting the SPE bit.
a. SCI control register 0 (SCCR0)
b. Write a baud rate value into the BR field.
a. Select 8- or 9-bit frame format (M).
b. Determine use (PE) and type (PT) of parity generation or detection.
c. To receive, set the RE and RIE bits in SCCR1. Select use (RWU) and
d. To transmit, set TE and TIE bits in SCCR1, and enable or disable WOMC
request levels for the two SCI interfaces into the ILSCI.
mode (LSBF).
type (WAKE) of receiver wakeup. Select idle-line detection type (ILT) and
enable or disable idle-line interrupt (ILIE).
and TCIE bits. Disable break transmission (SBK) for normal operation.
MULTICHANNEL COMMUNICATION INTERFACE
MC68HC16Y3/916Y3
USER’S MANUAL

Related parts for MC68HC916Y3CFT16