English
Language : 

MC9S12C128V1 Datasheet, PDF (415/690 Pages) Freescale Semiconductor, Inc – MC9S12C Family MC9S12GC Family Reference Manual
Chapter 14 Serial Peripheral Interface (SPIV3) Block Description
14.2.2 MISO — Master In/Slave Out Pin
This pin is used to transmit data out of the SPI module when it is configured as a slave and receive data
when it is configured as master.
14.2.3 SS — Slave Select Pin
This pin is used to output the select signal from the SPI module to another peripheral with which a data
transfer is to take place when its configured as a master and its used as an input to receive the slave select
signal when the SPI is configured as slave.
14.2.4 SCK — Serial Clock Pin
This pin is used to output the clock with respect to which the SPI transfers data or receive clock in case of
slave.
14.3 Memory Map and Register Definition
This section provides a detailed description of address space and registers used by the SPI.
The memory map for the SPIV3 is given below in Table 14-1. The address listed for each register is the
sum of a base address and an address offset. The base address is defined at the SoC level and the address
offset is defined at the module level. Reads from the reserved bits return zeros and writes to the reserved
bits have no effect.
14.3.1 Module Memory Map
Table 14-1. SPIV3 Memory Map
Address
Use
0x0000 SPI Control Register 1 (SPICR1)
0x0001 SPI Control Register 2 (SPICR2)
0x0002 SPI Baud Rate Register (SPIBR)
0x0003 SPI Status Register (SPISR)
0x0004 Reserved
0x0005 SPI Data Register (SPIDR)
0x0006 Reserved
0x0007 Reserved
1. Certain bits are non-writable.
2. Writes to this register are ignored.
3. Reading from this register returns all zeros.
Access
R/W
R/W(1)
R/W1
R(2)
— 2,(3)
R/W
— 2,3
— 2,3
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
415
Rev 01.24