Spi Data Register High (Spix_Dh) - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

Memory map/register definition
write is ignored. When the transmit DMA request is enabled (TXDMAE is 1) when
S[SPTEF] is set, the SPI data registers can be written automatically by DMA without
reading the S register first.
Data may be read from the SPI data registers any time after S[SPRF] is set and before
another transfer is finished. Failure to read the data out of the receive data buffer before a
new transfer ends causes a receive overrun condition, and the data from the new transfer
is lost. The new data is lost because the receive buffer still held the previous character
and was not ready to accept the new data. There is no indication for a receive overrun
condition, so the application system designer must ensure that previous data has been
read from the receive buffer before a new transfer is initiated.
In 8-bit mode, only the DL register is available. Reads of the DH register return all zeros.
Writes to the DH register are ignored.
In 16-bit mode, reading either byte (the DH or DL register) latches the contents of both
bytes into a buffer where they remain latched until the other byte is read. Writing to
either byte (the DH or DL register) latches the value into a buffer. When both bytes have
been written, they are transferred as a coherent 16-bit value into the transmit data buffer.
Address: Base address + 6h offset
Bit
7
Read
Write
Reset
0
Field
Bits[7:0]
Data (low byte)

35.4.8 SPI data register high (SPIx_DH)

Refer to the description of the DL register.
Address: Base address + 7h offset
Bit
7
Read
Write
Reset
0
Field
Bits[15:8]
Data (high byte)
584
6
5
0
0
SPIx_DL field descriptions
6
5
0
0
SPIx_DH field descriptions
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
4
3
Bits[7:0]
0
0
Description
4
3
Bits[15:8]
0
0
Description
2
1
0
0
2
1
0
0
Freescale Semiconductor, Inc.
0
0
0
0

Advertisement

Table of Contents
loading

Table of Contents