Product Specs

Table Of Contents
31 SPIM Serial peripheral interface master with
EasyDMA
Page
285
31.6 Registers
Table 67: Instances
Base address
Peripheral
Instance
Description Configuration
0x40003000
SPIM
SPIM0
SPI master 0
0x40004000
SPIM
SPIM1
SPI master 1
0x40023000
SPIM
SPIM2
SPI master 2
Table 68: Register Overview
Register
Offset
Description
TASKS_START
0x010
Start SPI transaction
TASKS_STOP
0x014
Stop SPI transaction
TASKS_SUSPEND
0x01C
Suspend SPI transaction
TASKS_RESUME
0x020
Resume SPI transaction
EVENTS_STOPPED
0x104
SPI transaction has stopped
EVENTS_ENDRX
0x110
End of RXD buffer reached
EVENTS_END
0x118
End of RXD buffer and TXD buffer reached
EVENTS_ENDTX
0x120
End of TXD buffer reached
EVENTS_STARTED
0x14C
Transaction started
SHORTS
0x200
Shortcut register
INTENSET
0x304
Enable interrupt
INTENCLR
0x308
Disable interrupt
ENABLE
0x500
Enable SPIM
PSEL.SCK
0x508
Pin select for SCK
PSEL.MOSI
0x50C
Pin select for MOSI signal
PSEL.MISO
0x510
Pin select for MISO signal
FREQUENCY
0x524
SPI frequency
RXD.PTR
0x534
Data pointer
RXD.MAXCNT
0x538
Maximum number of bytes in receive buffer
RXD.AMOUNT
0x53C
Number of bytes transferred in the last transaction
RXD.LIST
0x540
EasyDMA list type
TXD.PTR
0x544
Data pointer
TXD.MAXCNT
0x548
Maximum number of bytes in transmit buffer
TXD.AMOUNT
0x54C
Number of bytes transferred in the last transaction
TXD.LIST
0x550
EasyDMA list type
CONFIG
0x554
Configuration register
ORC
0x5C0
Over-read character. Character clocked out in case and over-read of the TXD buffer.
31.6.1 SHORTS
Address offset: 0x200
Shortcut register
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
A
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
0
Id RW Field
Value Id
Value
Description
A RW END_START Shortcut between END event and START task
See EVENTS_END and TASKS_START
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
31.6.2 INTENSET
Address offset: 0x304
Enable interrupt