MC68HC916Y3CFT16 Freescale Semiconductor, MC68HC916Y3CFT16 Datasheet - Page 271

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.3.2 SPI Pins
12.3.3 SPI Operating Modes
12.3.3.1 Master Mode
MC68HC16Y3/916Y3
USER’S MANUAL
Four bi-directional pins are associated with the SPI. The MPAR configures each pin
for either SPI function or general-purpose I/O. The MDDR assigns each pin as either
input or output. The WOMP bit in the SPI control register (SPCR) determines whether
each SPI pin that is configured for output functions as an open-drain output or a normal
CMOS output. The MDDR and WOMP assignments are valid regardless of whether
the pins are configured for SPI use or general-purpose I/O.
The operation of pins configured for SCI use depends on whether the SCI is operating
as a master or a slave, determined by the MSTR bit in the SPCR.
Table 12-3 shows SPI pins and their functions.
The SPI operates in either master or slave mode. Master mode is used when the MCU
originates data transfers. Slave mode is used when an external device initiates serial
transfers to the MCU. The MSTR bit in SPCR selects master or slave operation.
Setting the MSTR bit in SPCR selects master mode operation. In master mode, the
SPI can initiate serial transfers but cannot respond to externally initiated transfers.
When the slave-select input of a device configured for master mode is asserted, a
mode fault occurs.
When using the SPI in master mode, include the following steps:
Master in, slave out (MISO)
Master out, slave in (MOSI)
1. Write to the MMCR, MIVR, and ILSPI. Refer to 12.5 MCCI Initialization for more
2. Write to the MPAR to assign the following pins to the SPI: MISO, MOSI, and
Serial clock (SCK)
Slave select (SS)
information.
(optionally) SS . MISO is used for serial data input in master mode, and MOSI
is used for serial data output. Either or both may be necessary, depending on
the particular application. SS is used to generate a mode fault in master mode.
If this SPI is the only possible master in the system, the SS pin may be used for
general-purpose I/O.
Pin Name
MULTICHANNEL COMMUNICATION INTERFACE
Table 12-3 SPI Pin Functions
Master
Master
Master
Master
Mode
Slave
Slave
Slave
Slave
Provides serial data input to the SPI
Provides serial data output from the SPI
Provides serial output from the SPI
Provides serial input to the SPI
Provides clock output from the SPI
Provides clock input to the SPI
Detects bus-master mode fault
Selects the SPI for an externally-initiated serial transfer
Function
MOTOROLA
12-7

Related parts for MC68HC916Y3CFT16