Semiconductor Group
6-27
1999-04-01
On-Chip Peripheral Components
C541U
6.3.6 Data/Clock Timing Relationships
The SSC provides four different clocking schemes for clocking the data in and out of the shift
register. Controlled by two bits in SSCCON, the clock polarity (idle state of the clock, control register
bit CPOL) and the clock/data relationship (phase control, control register bit CPHA), i.e. which clock
edges will be used for sample and shift. The following figures show the various possibilities.
6.3.6.1
Master Mode Operation
Figure 6-16 shows the clock/data/control relationship of the SSC in master mode. When CPHA is
set to 1, the MSB (or LSB) of the data that was written into the shift register will be provided on the
transmitter output after the first clock edge, the receiver input will sample with the next clock edge.
The direction (rising or falling) of the respective clock edge is depending on the clock polarity
selected. After the last bit has been shifted out, the data output STO will go to the high output level
(logic 1) and remain there until the next transmission is started. However, when enabling the SSC
after reset, the logic level of STO will be undefined, until the first transmission starts.
When CPHA is 0, the MSB (or LSB) will output immediately after the data was written into the shift
register. The first clock edge of SCLK will be used for sampling the input data, the next to shift out
the next bit. Between transmissons the data output STO will be "1".
Figure 6-16
Master Mode Operation of SSC
CPHA = 1
MSB
MSB
SCLK
(CPOL = 0)
(CPOL = 1)
SCLK
Write to
STB Register
STO
at SRI
Input Sample
at SRI
Input Sample
STO
STB Register
Write to
MCS02440
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 6
Bit 5
Bit 0
Bit 4
Bit 3
Bit 1
Bit 2
CPHA = 0
1) MSB shift first mode is assumed (Bit LSBSM in register SCCMOD is 0)
Summary of Contents for C541U
Page 1: ... 8 LW 026 0LFURFRQWUROOHU 8VHU V 0DQXDO http www siem ens d Sem iconductor ...
Page 7: ......
Page 21: ...Semiconductor Group 2 6 1997 10 01 Fundamental Structure C541U ...
Page 37: ...Semiconductor Group 4 6 1997 10 01 External Bus Interface C541U ...
Page 133: ...Semiconductor Group 6 88 1999 04 01 On Chip Peripheral Components C541U ...
Page 163: ...Semiconductor Group 8 8 1997 10 01 Fail Safe Mechanisms C541U ...
Page 185: ...Semiconductor Group 10 14 1997 10 01 OTP Memory Operation C541U ...