Between these two successive transmissions, no pause is inserted; the SS pin remains
low.
The following figure shows the clock formats when SPIMODE = 0 and C1[CPHA] = 0.
At the top of the figure, the eight bit times are shown for reference with bit 1 starting as
the slave is selected (SS IN goes low), and bit 8 ends at the last SPSCK edge. The MSB
first and LSB first lines show the order of SPI data bits depending on the setting in
LSBFE. Both variations of SPSCK polarity are shown, but only one of these waveforms
applies for a specific transfer, depending on the value in CPOL. The SAMPLE IN
waveform applies to the MOSI input of a slave or the MISO input of a master. The MOSI
waveform applies to the MOSI output pin from a master and the MISO waveform applies
to the MISO output from a slave. The SS OUT waveform applies to the slave select
output from a master (provided C2[MODFEN] and C1[SSOE] = 1). The master SS
output goes to active low at the start of the first bit time of the transfer and goes back
high one-half SPSCK cycle after the end of the eighth bit time of the transfer. The SS IN
waveform applies to the slave select input of a slave.
SS OUT
SS IN
(SLAVE)
(MASTER)
(SLAVE OUT)
MISO
MSB FIRST
LSB FIRST
MOSI
(MASTER OUT)
(MISO OR MOSI)
SAMPLE IN
SPSCK
(CPOL = 1)
SPSCK
(CPOL = 0)
BIT TIME #
(REFERENCE)
BIT 7
BIT 0
BIT 6
BIT 1
BIT 2
BIT 5
BIT 0
BIT 7
BIT 1
BIT 6
1
2
6
7
8
...
...
...
Figure 31-7. SPI clock formats (CPHA = 0)
Functional description
MKW01Z128 MCU Reference Manual, Rev. 3, 04/2016
606
Freescale Semiconductor, Inc.
Summary of Contents for MKW01Z128
Page 7: ...MKW01xxRM Reference Manual Rev 3 04 2016 viii Freescale Semiconductor Inc...
Page 11: ...MKW01xxRM Reference Manual Rev 3 04 2016 xii Freescale Semiconductor Inc...
Page 133: ...MKW01Z128 MCU Reference Manual Rev 3 04 2016 2 Freescale Semiconductor Inc...
Page 233: ...Module clocks MKW01Z128 MCU Reference Manual Rev 3 04 2016 102 Freescale Semiconductor Inc...
Page 513: ...Interrupts MKW01Z128 MCU Reference Manual Rev 3 04 2016 382 Freescale Semiconductor Inc...
Page 633: ...CMP Trigger Mode MKW01Z128 MCU Reference Manual Rev 3 04 2016 502 Freescale Semiconductor Inc...