English
Language : 

MC9S12HY64 Datasheet, PDF (748/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Electrical Characteristics
A.14.1 Master Mode
In Figure A-8 the timing diagram for master mode with transmission format CPHA = 0 is depicted.
SS
(Output)
SCK
(CPOL = 0)
(Output)
SCK
(CPOL = 1)
(Output)
MISO
(Input)
MOSI
(Output)
2
1
12
4
4
12
5
6
MSB IN2
10
MSB OUT2
Bit MSB-1. . . 1
9
Bit MSB-1. . . 1
13
13
LSB IN
LSB OUT
3
11
1. If configured as an output.
2. LSBF = 0. For LSBF = 1, bit order is LSB, bit 1, bit 2... MSB.
Figure A-8. SPI Master Timing (CPHA = 0)
In Figure A-9 the timing diagram for master mode with transmission format CPHA=1 is depicted.
SS
(Output)
SCK
(CPOL = 0)
(Output)
SCK
(CPOL = 1)
(Output)
MISO
(Input)
1
2
4
4
5
6
MSB IN2
9
MOSI
(Output)
Port Data
Master MSB OUT2
12
12
Bit MSB-1. . . 1
11
Bit MSB-1. . . 1
13
3
13
LSB IN
Master LSB OUT
1.If configured as output
2. LSBF = 0. For LSBF = 1, bit order is LSB, bit 1,bit 2... MSB.
Figure A-9. SPI Master Timing (CPHA = 1)
Port Data
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
748
Freescale Semiconductor