W7500x Reference Manual Version1.1.0
390 / 399
This is applicable to Motorola SPI frame format only.
[15:8] SCR – Serial clock rate
The value SCR is used to generate the transmit and receive bit rate of the SSP. The bit
rate is:
fSSPCLK / (CPSDVSR * (1 + SCR))
where
CPSDVSR is an even value from 2-254, programmed through the SSPCPSR register and
SCR is a value from 0-255.
SSP1 Control register 1 (SSP1CR1)
Address offset: 0x0004
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
res
res
res
res
res
res
res
res
res
res
res
res
res
res
res
res
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
res
res
res
res
res
res
res
res
res
res
res
res
SOD MS
SSE
LBM
R/W R/W R/W R/W
[0] LBM – Loop back mode:
0 : normal serial port operation enabled
1 : output of transmit serial shifter is connected to input of receive serial
shifter internally
[1] SSE – Synchronous serial port enable:
0 : SSP1 operation disabled.
1 : SSP1 operation enabled.
[2] MS – Master or Slave mode select:
0 : device configured as master, default.
1 : device configured as slave.
[3] SOD – Slave-mode output disable.
This bit is relevant only in the slave mode, MS = 1. In multiple-slave systems, it is
possible for a SSP1 master to broadcast a message to all slaves in the system while
ensuring that only one slave drives data onto its serial output line. In such systems the
RXD lines from multiple slaves could be tied together.
To operate in such systems, the SOD bit can be set if the SSP1 slave is not supposed to
drive the SSPTXD line:
0 : SSP1 can drive the SSPTXD output in slave mode.
Содержание W7500
Страница 28: ...W7500x Reference Manual Version1 1 0 28 399 Memory map Figure 2 W7500x memory map ...
Страница 324: ...W7500x Reference Manual Version1 1 0 324 399 Figure 46 UART character frame ...
Страница 391: ...W7500x Reference Manual Version1 1 0 391 399 1 SSP1 must not drive the SSPTXD output in slave mode ...