Semiconductor Group
6-30
1999-04-01
On-Chip Peripheral Components
C541U
Note:
SSCCON must be programmed only when the SSC is idle. Modifying the contents of
SSCCON while a transmission is in progress will corrupt the current transfer and will lead
to unpredictable results.
CPOL
Clock polarity
This bit controls the polarity of the shift clock and in conjunction with the CPHA bit
which clock edges are used for sample and shift.
CPOL=0 : SCLK idle state is low.
CPOL=1 : SCLK idle state is high.
CPHA
Clock phase
This bit controls in conjunction with the CPOL bit controls which clock edges are
used for sample and shift
CPHA=0 : The first clock edge of SCLK is used to sample the data, the second
to shift the next bit out at STO.
In master mode the transmitter will provide the first data bit on STO
immediately after the data was written into the STB register.
In slave mode the transmitter (if enabled via TEN) will shift out the
first data bit with the falling edge of SLS .
CPHA=1 : The first data bit is shifted out with the first clock edge of SCLK and
sampled with the second clock edge
BRS2,
BRS1,
BRS0
Baudrate selection bits
These bits select one of the possible divide factors for generating the baudrate out
of the micrcontroller clock rate fosc . The baudrate is defined by .
for BRS (2-0)
≠
0
Bit
Function
Baudrate
fosc
Dividefactor
--------------------------------
fosc
2
2
•
BR S 2
0
–
(
)
------------------------------------
=
=
BRS(2-0)
Divide
Factor
Example:
Baudrate for fosc
= 12 MHz
0
reserved
reserved
1
reserved
reserved
2
8
1.5 MBaud
3
16
750 kBaud
4
32
375 kBaud
5
64
187.5 kBaud
6
128
93.75 kBaud
7
256
46.875 kBaud
Содержание C541U
Страница 1: ... 8 LW 026 0LFURFRQWUROOHU 8VHU V 0DQXDO http www siem ens d Sem iconductor ...
Страница 7: ......
Страница 21: ...Semiconductor Group 2 6 1997 10 01 Fundamental Structure C541U ...
Страница 37: ...Semiconductor Group 4 6 1997 10 01 External Bus Interface C541U ...
Страница 133: ...Semiconductor Group 6 88 1999 04 01 On Chip Peripheral Components C541U ...
Страница 163: ...Semiconductor Group 8 8 1997 10 01 Fail Safe Mechanisms C541U ...
Страница 185: ...Semiconductor Group 10 14 1997 10 01 OTP Memory Operation C541U ...
Страница 192: ...Semiconductor Group 12 7 Index C541U ...