mc68hc08ln56 Freescale Semiconductor, Inc, mc68hc08ln56 Datasheet - Page 114

no-image

mc68hc08ln56

Manufacturer Part Number
mc68hc08ln56
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Serial Peripheral Interface Module (SPI)
11.3 Pin Name Conventions and I/O Register Addresses
The text that follows describes both SPI1 and SPI2. The SPI I/O pin names are SS (slave select), SPSCK
(SPI serial clock), CGND (clock ground), MOSI (master out slave in), and MISO (master in slave out). The
two SPIs share eight I/O pins with one parallel I/O ports. The full names of the SPI I/O pins are shown in
Table
The generic pins names appear in the text that follows.
11.4 Functional Description
Figure 11-1
114
SPI Status and Control Register
11-1.
Register Name
summarizes the SPI I/O registers and
SPI Control Register
SPI1 Control Register (SPI1CR)
SPI1 Status and Control Register (SPI1SCR)
SPI1 Data Register (SPI1DR)
SPI2 Control Register (SPI2CR)
SPI2 Status and Control Register (SPI2SCR)
SPI2 Data Register (SPI2DR)
Pin Names:
SPI Data Register
Full SPI
SPI Generic
Pin Names:
MC68HC08LN56 • MC68HC708LN56 General Release Specification, Rev. 2.1
(SPSCR)
(SPCR)
(SPDR)
SPI1
SPI2
Reset:
Reset:
Reset:
R/W
Read:
Read:
Read:
Write:
Write:
Write:
Figure 11-1. SPI I/O Register Summary
PTD0/MISO1
PTD7/MISO2
Table 11-2. I/O Register Addresses
Table 11-1. Pin Name Conventions
Register Name
SPRIE
SPRF
MISO
Bit 7
R7
T7
0
0
= Unimplemented
ERRIE
DMAS
R6
T6
6
0
0
PTD1/MOSI1
PTD6/MOSI2
MOSI
Figure 11-2
SPMSTR
OVRF
R5
T5
5
1
0
MODF
Unaffected by reset
CPOL
PTD2/SS1
PTD5/SS2
R4
T4
4
0
0
shows the structure of the SPI module.
SS
CPHA
SPTE
R3
T3
3
1
1
Register Address
PTD3/SCK1
PTD4/SCK2
SCK
MODFEN
SPWOM
$001C
$001D
$001E
$0010
$0011
$0012
R2
T2
2
0
0
Freescale Semiconductor
CGND
CGND
CGND
SPR1
SPE
R1
T1
1
0
0
SPTIE
SPR0
Bit 0
R0
T0
0
0

Related parts for mc68hc08ln56