mcf51ac256a Freescale Semiconductor, Inc, mcf51ac256a Datasheet - Page 443

no-image

mcf51ac256a

Manufacturer Part Number
mcf51ac256a
Description
Mcf51ac Flexis
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCLKE
Manufacturer:
FREESCALE
Quantity:
1 500
Part Number:
mcf51ac256aCLKE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCPUE
Manufacturer:
MURATA
Quantity:
1 000
20.1.3
This section includes block diagrams showing SPI system connections, the internal organization of the SPI
module, and the SPI clock dividers that control the master mode bit rate.
20.1.3.1
Figure 20-1
device initiates all SPI data transfers. During a transfer, the master shifts data out (on the MOSI pin) to the
slave while simultaneously shifting data in (on the MISO pin) from the slave. The transfer effectively
exchanges the data that was in the SPI shift registers of the two SPI systems. The SPSCK signal is a clock
output from the master and an input to the slave. The slave device must be selected by a low level on the
slave select input (SS pin). In this system, the master device has configured its SS pin as an optional slave
select output.
20.1.3.2
Figure 20-2
Data is written to the double-buffered transmitter (write to SPIxDH:SPIxDL) and gets transferred to the
SPI shift register at the start of a data transfer. After shifting in 8 or 16 bits (as determined by SPIMODE
bit) of data, the data is transferred into the double-buffered receiver where it can be read (read from
SPIxDH:SPIxDL). Pin multiplexing logic controls connections between MCU pins and the SPI module.
Additionally there is an 8-byte receive FIFO and an 8-byte transmit FIFO that once enabled provide
features to allow less CPU interrupts to occur when transmitting/receiving high volume/high speed data.
When FIFO mode is enabled, the SPI can still function in either 8-bit or 16-bit mode ( as per SPIMODE
bit) and 3 additional flags help monitor the FIFO status and two of these flags can provide CPU interrupts.
When the SPI is configured as a master, the clock output is routed to the SPSCK pin, the shifter output is
routed to MOSI, and the shifter input is routed from the MISO pin.
Freescale Semiconductor
Block Diagrams
is a block diagram of the SPI module. The central element of the SPI is the SPI shift register.
shows the SPI modules of two MCUs connected in a master-slave arrangement. The master
SPI System Block Diagram
SPI Module Block Diagram
GENERATOR
SPI SHIFTER
8 OR 16 BITS
MASTER
CLOCK
MCF51AC256 ColdFire Integrated Microcontroller Reference Manual, Rev. 5
Figure 20-1. SPI System Connections
MOSI
MISO
SPSCK
SS
SPSCK
MOSI
MISO
SS
SLAVE
SPI SHIFTER
8 OR 16 BITS
16-Bit Serial Peripheral Interface (SPI16)
20-3

Related parts for mcf51ac256a