mc9s08rd60fj Freescale Semiconductor, Inc, mc9s08rd60fj Datasheet - Page 163

no-image

mc9s08rd60fj

Manufacturer Part Number
mc9s08rd60fj
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
The most common uses of the SPI system include connecting simple shift registers for adding input or
output ports or connecting small peripheral devices such as serial A/D or D/A converters. Although
Figure 12-2
simpler connections where data is unidirectionally transferred from the master MCU to a slave or from a
slave to the master MCU.
12.2.2 SPI Module Block Diagram
Figure 12-3
Data is written to the double-buffered transmitter (write to SPI1D) and gets transferred to the SPI shift
register at the start of a data transfer. After shifting in a byte of data, the data is transferred into the
double-buffered receiver where it can be read (read from SPI1D). Pin multiplexing logic controls
connections between MCU pins and the SPI module.
When the SPI is configured as a master, the clock output is routed to the SPSCK1 pin, the shifter output
is routed to MOSI1, and the shifter input is routed from the MISO1 pin.
When the SPI is configured as a slave, the SPSCK1 pin is routed to the clock input of the SPI, the shifter
output is routed to MISO1, and the shifter input is routed from the MOSI1 pin.
In the external SPI system, simply connect all SPSCK pins to each other, all MISO pins together, and all
MOSI pins together. Peripheral devices often use slightly different names for these pins.
Freescale Semiconductor
shows a system where data is exchanged between two MCUs, many practical systems involve
is a block diagram of the SPI module. The central element of the SPI is the SPI shift register.
MC9S08RC/RD/RE/RG
SoC Guide — MC9S08RG60/D Rev 1.10
163

Related parts for mc9s08rd60fj