English
Language : 

MC13224V Datasheet, PDF (20/48 Pages) Freescale Semiconductor, Inc – Advanced ZigBee™- Compliant Platform-in-Package (PiP) for the 2.4 GHz IEEE® 802.15.4 Standard
4.6 Serial Peripheral Interface (SPI) Modules
The MC13224V has two SPI modules that use a common architecture
4.6.1 External SPI Module
The MC13224V offers a dedicated Serial Peripheral Interface (SPI) module for external use. The SPI is a
high-speed synchronous serial data input/output port used for interfacing with serial memories, peripheral
devices, or other processors. The SPI allows a serial bit stream of a programmed length (1 to 32 bits) to be
shifted simultaneously into and out of the device at a programmed bit-transfer rate (called 4-wire mode).
There are four pins associated with the SPI port (SPI_SCK, SPI_MOSI, SPI_MISO, and SPI_SS).
The SPI module can be programmed for master or slave operation. It also supports a 3-wire mode where
for master mode the MOSI becomes MOMI, a bidirectional data pin, and for slave mode the MISO
becomes SISO, a bidirectional data pin. In 3-wire mode, data is only transferred in one direction at a time.
The SPI bit clock is derived from the peripheral reference clock (typically 24 MHz with a maximum of 26
MHz). A prescaler divides the peripheral reference clock with a programmed divide ratio from 2 to 256.
Typical bit clock range will be from 12 MHz to 93.75 kHz.
The SPI has the following features:
• Master or slave mode operation
• Data buffer is 4 bytes (32 bits) in length
• SPI transfer length programmable from 1 to 32 bits
• MSB-first shifting
• Programmable transmit bit rate (typically 12 MHz max)
• Serial clock phase and polarity options
• Full-duplex (4-wire) or bidirectional data (3-wire) operation
• SPI transaction can be polled or interrupt driven
• Slave select signal
• Low Power (SPI Master uses gated clocks. SPI Slave clock derived completely from SPI_SCK.)
4.6.2 SPI FLASH Module (SPIF)
The SPIF is an internal SPI block dedicated to control, reading, and writing of the serial FLASH memory
(NVM). It uses the same architecture as the general SPI block, but will be limited by the characteristics of
the FLASH SPI interface.
MC13224V Product Preview, Rev. 1.7
20
Freescale Semiconductor