![Texas Instruments AM1808 Technical Reference Manual Download Page 1416](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581416.webp)
Architecture
1416
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Serial Peripheral Interface (SPI)
29.2.4 Programmable Registers
A general representation of the SPI programmable registers is shown in
. For details on
registers, see
(1)
The actual address of these registers is device specific and CPU specific. See your device-specific data manual to verify the SPI
register addresses.
Table 29-2. SPI Registers
Offset
Address
(1)
Acronym
Name
Description
Section
0h
SPIGCR0
Global control register 0
Contains the software reset bit for the
module
4h
SPIGCR1
Global control register 1
Controls basic configurations of the
module
8h
SPIINT0
Interrupt register
Enable bits for interrupts, error, DMA
and other functionality.
Ch
SPILVL
Level register
SPI interrupt levels are set in this
register.
10h
SPIFLG
Flag register
Shows the status of several events
during the operation.
14h
SPIPC0
Pin control register 0
Determines if pins operate as general
I/O or SPI functional pin
18h
SPIPC1
Pin control register 1
Controls the direction of data on the I/O
pins
1Ch
SPIPC2
Pin control register 2
Reflects the values on the I/O pins
20h
SPIPC3
Pin control register 3
Controls the values sent to the I/O pins
24h
SPIPC4
Pin control register 4
Sets data values in the SPIPC3 register
28h
SPIPC5
Pin control register 5
Clears values in the SPIPC3 register
38h
SPIDAT0
Transmit data register 0
Transmit data register
3Ch
SPIDAT1
Transmit data register 1
Transmit data with format selection
register
40h
SPIBUF
Receive buffer register
Holds received word
44h
SPIEMU
Receive buffer emulation
register
Mirror of SPIBUF. Read does not clear
flags
48h
SPIDELAY
Delay register
Sets SPIx_SCS[n] mode, SPIx_SCS[n]
pre-/post-transfer delay time and
SPIx_ENA time-out
4Ch
SPIDEF
Chip select default register
In SPIx_SCS[n] decoded mode only:
sets high low/active SPIx_SCS[n] signal
50h
SPIFMT0
Format 0 register
Configuration of data word format 0
54h
SPIFMT1
Format 1 register
Configuration of data word format 1
58h
SPIFMT2
Format 2 register
Configuration of data word format 2
5Ch
SPIFMT3
Format 3 register
Configuration of data word format 3
64h
INTVEC1
Interrupt vector register 1
Interrupt vector for line INT1