![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 579](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847579.webp)
SPIx_BR field descriptions (continued)
Field
Description
This 4-bit field selects one of nine divisors for the SPI baud rate divider. The input to this divider comes
from the SPI baud rate prescaler. Refer to the description of “SPI Baud Rate Generation” for details.
0000
Baud rate divisor is 2.
0001
Baud rate divisor is 4.
0010
Baud rate divisor is 8.
0011
Baud rate divisor is 16.
0100
Baud rate divisor is 32.
0101
Baud rate divisor is 64.
0110
Baud rate divisor is 128.
0111
Baud rate divisor is 256.
1000
Baud rate divisor is 512.
All others Reserved
35.4.3 SPI Control Register 2 (SPIx_C2)
This read/write register is used to control optional features of the SPI system.
Address: Base a 2h offset
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
SPIx_C2 field descriptions
Field
Description
7
SPMIE
SPI Match Interrupt Enable
This is the interrupt enable bit for the SPI receive data buffer hardware match (SPMF) function.
0
Interrupts from SPMF inhibited (use polling)
1
When SPMF is 1, requests a hardware interrupt
6
SPIMODE
SPI 8-bit or 16-bit mode
This bit allows the user to select either an 8-bit or 16-bit SPI data transmission length. In master mode, a
change of this bit aborts a transmission in progress, forces the SPI system into an idle state, and resets all
status bits in the S register. Refer to the description of “Data Transmission Length” for details.
0
8-bit SPI shift register, match register, and buffers
1
16-bit SPI shift register, match register, and buffers
5
TXDMAE
Transmit DMA enable
This bit enables a transmit DMA request. When this bit is set to 1, a transmit DMA request is asserted
when both SPTEF and SPE are set, and the interrupt from SPTEF is disabled.
Table continues on the next page...
Chapter 35 Serial Peripheral Interface (SPI)
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Freescale Semiconductor, Inc.
579