RESET
CONTINUE
READ SPMF WHILE SET
TO CLEAR FLAG,
THEN WRITE A 1 TO IT
YES
SPMF = 1
?
NO
NO
NO
YES
YES
YES
READ
WRITE TO
SPRF = 1
?
SPTEF = 1
?
INITIALIZE SPI
SPIxC1 = 0x54
SPIxC2 =
SPIxBR = 0x00
0xC0
SPIxMH = 0xXX
SPIxDH:SPIxDL
SPIxDH:SPIxDL
Figure 31-9. Initialization Flowchart Example for SPI Master Device in 16-bit Mode for
FIFOMODE = 0
Chapter 31 Serial Peripheral Interface (SPI)
MKW01Z128 MCU Reference Manual, Rev. 3, 04/2016
Freescale Semiconductor, Inc.
617
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...