Product Specs

Table Of Contents
32 SPIS Serial peripheral interface slave with
EasyDMA
Page
295
slave itself is temporarily disabled, or if the device temporarily enters System OFF. This configuration must
be retained in the GPIO for the selected I/Os as long as the SPI slave is to be recognized by an external SPI
master.
The MISO line is set in high impedance as long as the SPI slave is not selected with CSN.
Only one peripheral can be assigned to drive a particular GPIO pin at a time. Failing to do so may result in
unpredictable behavior.
Table 70: GPIO configuration before enabling peripheral
SPI signal
SPI pin
Direction
Output value
Comment
CSN
As specified in PSEL.CSN
Input
Not applicable
SCK
As specified in PSEL.SCK
Input
Not applicable
MOSI
As specified in PSEL.MOSI
Input
Not applicable
MISO
As specified in PSEL.MISO
Input
Not applicable
Emulates that the SPI slave is not selected.
32.5 Registers
Table 71: Instances
Base address
Peripheral
Instance
Description Configuration
0x40003000
SPIS
SPIS0
SPI slave 0
0x40004000
SPIS
SPIS1
SPI slave 1
0x40023000
SPIS
SPIS2
SPI slave 2
Table 72: Register Overview
Register
Offset
Description
TASKS_ACQUIRE
0x024
Acquire SPI semaphore
TASKS_RELEASE
0x028
Release SPI semaphore, enabling the SPI slave to acquire it
EVENTS_END
0x104
Granted transaction completed
EVENTS_ENDRX
0x110
End of RXD buffer reached
EVENTS_ACQUIRED
0x128
Semaphore acquired
SHORTS
0x200
Shortcut register
INTENSET
0x304
Enable interrupt
INTENCLR
0x308
Disable interrupt
SEMSTAT
0x400
Semaphore status register
STATUS
0x440
Status from last transaction
ENABLE
0x500
Enable SPI slave
PSELSCK
0x508
Pin select for SCK
Deprecated
PSELMISO
0x50C
Pin select for MISO
Deprecated
PSELMOSI
0x510
Pin select for MOSI
Deprecated
PSELCSN
0x514
Pin select for CSN
Deprecated
PSEL.SCK
0x508
Pin select for SCK
PSEL.MISO
0x50C
Pin select for MISO signal
PSEL.MOSI
0x510
Pin select for MOSI signal
PSEL.CSN
0x514
Pin select for CSN signal
RXDPTR
0x534
RXD data pointer
Deprecated
MAXRX
0x538
Maximum number of bytes in receive buffer
Deprecated
AMOUNTRX
0x53C
Number of bytes received in last granted transaction
Deprecated
RXD.PTR
0x534
RXD data pointer
RXD.MAXCNT
0x538
Maximum number of bytes in receive buffer
RXD.AMOUNT
0x53C
Number of bytes received in last granted transaction
TXDPTR
0x544
TXD data pointer
Deprecated
MAXTX
0x548
Maximum number of bytes in transmit buffer
Deprecated
AMOUNTTX
0x54C
Number of bytes transmitted in last granted transaction
Deprecated
TXD.PTR
0x544
TXD data pointer
TXD.MAXCNT
0x548
Maximum number of bytes in transmit buffer
TXD.AMOUNT
0x54C
Number of bytes transmitted in last granted transaction
CONFIG
0x554
Configuration register