SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 107
Version 1.9
10.6 SSP REGISTERS
Base Address: 0x4001 C000 (SSP0)
0x4005 8000 (SSP1)
10.6.1 SSP n Control register 0 (SSPn_CTRL0) (n=0, 1)
Address Offset:0x00
Note:
1. Must reset SSP FSM with FRESET[1:0] after changing any configuration of SSP when SSPEN = 1.
2.
HW will switch I/O configurations refer to FORMAT bit directly when
SSPEN = 1.
Bit
Name
Description
Attribute
Reset
31:20
Reserved
R
0
19
SELCTRL
Source for SEL pin. For SPI mode only.
0: SEL pin is low level.
1: SEL pin is high level.
R/W
1
18
SELDIS
Auto-SEL disable bit. For SPI mode only.
0: Enable Auto-SEL flow control.
1: Disable Auto-SEL flow control.
R/W
0
17:15
RXFIFOTH[2:0]
RX FIFO Threshold level
0: RX FIFO threshold level = 0
1: RX FIFO threshold level = 1
…
…
n: RX FIFO threshold level = n
R/W
000b
14:12
TXFIFOTH[2:0]
TX FIFO Threshold level
0: TX FIFO threshold level = 0
1: TX FIFO threshold level = 1
…
…
n: TX FIFO threshold level = n
R/W
000b
11:8
DL[3:0]
Data length = DL[3:0] + 1
0000~0001: Reversed
0010: data length = 3
…
…
1110: data length = 15
1111: data length = 16
R/W
1111b
7:6
FRESET[1:0]
SSP FSM and FIFO Reset bit
00: No effect
01: Reserved
10: Reserved
11: Reset finite state machine and FIFO. (BUF_BUSY = 0, data in shift
BUF is cleared, TX_EMPTY = 1, TX_FULL = 0, RX_EMPTY = 1,
RX_FULL = 0, and data in FIFO is cleared). This bit will be cleared by
HW automatically.
W
0
5
Reserved
R
0
4
FORMAT
Interface format.
0: SPI
1: SSI
R/W
0
3
MS
Master/Slave selection bit
0: Act as Master.
1: Act as Slave.
R/W
0
2
SDODIS
Slave data output disable bit (ONLY used in slave mode)
0: Enable slave data output.
1: Disable slave data output. (MISO=0)
R/W
0
1
LOOPBACK
Loop back mode enable
0: Disable
1: Data input from data output
R/W
0
Содержание SN32F107
Страница 34: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 34 Version 1 9 0 Reserved R 0...
Страница 180: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 180 Version 1 9 20 2 LQFP 64 PIN...
Страница 181: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 181 Version 1 9 20 3 LQFP 80 PIN...