MC16Z3BCAG16 Freescale Semiconductor, MC16Z3BCAG16 Datasheet - Page 263

no-image

MC16Z3BCAG16

Manufacturer Part Number
MC16Z3BCAG16
Description
IC MCU 16BIT HI SPEED 144-LQFP
Manufacturer
Freescale Semiconductor
Series
HC16r
Datasheet

Specifications of MC16Z3BCAG16

Core Processor
CPU16
Core Size
16-Bit
Speed
16MHz
Connectivity
EBI/EMI, SCI, SPI
Peripherals
POR, PWM, WDT
Number Of I /o
16
Program Memory Size
8KB (8K x 8)
Program Memory Type
Mask ROM
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
144-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC16Z3BCAG16
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
10.5 MCCI Initialization
M68HC16 Z SERIES
USER’S MANUAL
After reset, the MCCI remains in an idle state. Several registers must be initialized be-
fore 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 re-
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
quest 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
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
10-23

Related parts for MC16Z3BCAG16