12.5.2.5 SPI Emulation Buffer (SPIRXEMU) Register (Offset = 6h) [reset = 0h]
SPIRXEMU contains the received data. Reading SPIRXEMU does not clear the SPI INT FLAG bit of SPISTS.
This is not a real register but a dummy address from which the contents of SPIRXBUF can be read by the debug
probe connection without clearing the SPI INT FLAG.
Figure 12-17. SPI Emulation Buffer (SPIRXEMU) Register
15
14
13
12
11
10
9
8
ERXBn
R-0h
7
6
5
4
3
2
1
0
ERXBn
R-0h
Table 12-13. SPI Emulation Buffer (SPIRXEMU) Register Field Descriptions
Bit
Field
Type
Reset
Description
15-0
ERXBn
R
0h
Emulation Buffer Received Data
SPIRXEMU functions almost identically to SPIRXBUF, except
that reading SPIRXEMU does not clear the SPI INT FLAG bit
(SPISTS.6). Once the SPIDAT has received the complete character,
the character is transferred to SPIRXEMU and SPIRXBUF, where it
can be read. At the same time, SPI INT FLAG is set.
This mirror register was created to support emulation. Reading
SPIRXBUF clears the SPI INT FLAG bit (SPISTS.6). In the normal
operation with a debug probe connection, the control registers are
read to continually update the contents of these registers on the
display screen. SPIRXEMU was created so that the debug probe
connection can read this register and properly update the contents
on the display screen. Reading SPIRXEMU does not clear the SPI
INT FLAG bit, but reading SPIRXBUF clears this flag. In other words,
SPIRXEMU enables the debug probe connection to emulate the true
operation of the SPI more
accurately.
It is recommended that you view SPIRXEMU when the debug probe
is connected.
Reset type: SYSRSn
Serial Peripheral Interface (SPI)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
789
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......