mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 518

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 12 Serial Peripheral Interface (S12SPIV4)
12.2.3
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 it is configured as a master and it is used as an input to receive the slave select
signal when the SPI is configured as slave.
12.2.4
In master mode, this is the synchronous output clock. In slave mode, this is the synchronous input clock.
12.3
This section provides a detailed description of address space and registers used by the SPI.
12.3.1
The memory map for the SPI is given in
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.
518
Reserved
Reserved
Reserved
Register
SPICR1
SPICR2
SPIDR
SPIBR
SPISR
Name
Memory Map and Register Definition
SS — Slave Select Pin
SCK — Serial Clock Pin
Module Memory Map
W
W
W
W
W
W
W
W
R
R
R
R
R
R
R
R
Bit 7
SPIE
SPIF
Bit 7
0
0
= Unimplemented or Reserved
SPPR2
SPE
6
0
0
6
Figure 12-2. SPI Register Summary
MC9S12XDP512 Data Sheet, Rev. 2.17
Figure
SPPR1
SPTEF
SPTIE
5
0
5
12-2. The address listed for each register is the sum of a
MODFEN
SPPR0
MSTR
MODF
4
4
BIDIROE
CPOL
3
0
0
3
CPHA
SPR2
2
0
0
2
Freescale Semiconductor
SPISWAI
SSOE
SPR1
1
0
1
LSBFE
SPC0
SPR0
Bit 0
Bit 0
0

Related parts for mc9s12xd256