English
Language : 

MKL04Z32VFK4 Datasheet, PDF (564/658 Pages) Freescale Semiconductor, Inc – KL04 Sub-Family Reference Manual
Memory Map and Register Descriptions
SPI0_C2 field descriptions (continued)
Field
1
SPISWAI
Description
0 DMA request for receive is disabled and interrupt from SPRF is allowed
1 DMA request for receive is enabled and interrupt from SPRF is disabled
SPI stop in wait mode
This bit is used for power conservation while the device is in wait mode.
0
SPC0
0 SPI clocks continue to operate in wait mode
1 SPI clocks stop when the MCU enters wait mode
SPI pin control 0
This bit enables bidirectional pin configurations.
0 SPI uses separate pins for data input and data output (pin mode is normal).
In master mode of operation: MISO is master in and MOSI is master out.
In slave mode of operation: MISO is slave out and MOSI is slave in.
1 SPI configured for single-wire bidirectional operation (pin mode is bidirectional).
In master mode of operation: MISO is not used by SPI; MOSI is master in when BIDIROE is 0 or
master I/O when BIDIROE is 1.
In slave mode of operation: MISO is slave in when BIDIROE is 0 or slave I/O when BIDIROE is 1;
MOSI is not used by SPI.
34.3.3 SPI baud rate register (SPIx_BR)
Use this register to set the prescaler and bit rate divisor for an SPI master. This register
may be read or written at any time.
Address: 4007_6000h base + 2h offset = 4007_6002h
Bit
7
6
5
4
3
2
1
0
Read
0
Write
SPPR[2:0]
SPR[3:0]
Reset
0
0
0
0
0
0
0
0
SPI0_BR field descriptions
Field
7
Reserved
6–4
SPPR[2:0]
Description
This field is reserved.
This read-only field is reserved and always has the value 0.
SPI baud rate prescale divisor
This 3-bit field selects one of eight divisors for the SPI baud rate prescaler. The input to this prescaler is
the bus rate clock (BUSCLK). The output of this prescaler drives the input of the SPI baud rate divider.
Refer to the description of “SPI Baud Rate Generation” for details.
000 Baud rate prescaler divisor is 1
Table continues on the next page...
KL04 Sub-Family Reference Manual, Rev. 3.1, November 2012
564
Freescale Semiconductor, Inc.