User’s Manual
185
12.7 Clocked Serial Timing
12.7.1 Clocked Serial Timing With Internal Clock
For synchronous serial communication, the serial clock can be either generated by the
Rabbit or by an external device. The timing diagram in Figure 12-6 below can be applied
to both full-duplex and half-duplex clocked serial communication where the serial clock is
generated internally by the Rabbit. Other SPI compatible clock modes supported by the
Rabbit 3000 are shown in Figure 12-5. With an internal clock, the maximum serial clock
rate is
perclk
/2.
Figure 12-6. Full-Duplex Clocked Serial Timing Diagram with Internal Clock (Mode 00)
12.7.2 Clocked Serial Timing with External Clock
In a system where the Rabbit serial clock is generated by an external device, the clock sig-
nal has to be synchronized with the internal peripheral clock (
perclk
) before data can be
transmitted or received by the Rabbit. Depending on when the external serial clock is gen-
erated, in relation to
perclk
, it may take anywhere from 2 to 3 clock cycles for the exter-
nal clock to be synchronized with the internal clock before any data can be transferred.
Figure 12-7 shows the timing relationship among
perclk
, the external serial clock, and
data transmit.
Figure 12-7. Synchronous Serial Data Transmit Timing with External Clock (Mode 00)
LSB
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
MSB
LSB
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
MSB
2
3
4
5
6
7
8
1
CYCLE
CLKA
TxA
RxA
Rx Capture Strobe
perclk
CLKA
TxA
(ext.)
Содержание Rabbit 2000
Страница 2: ...Rabbit 3000 Microprocessor User s Manual 019 0108 040731 O ...
Страница 9: ...Rabbit 3000 Microprocessor ...
Страница 29: ...20 Rabbit 3000 Microprocessor ...
Страница 64: ...User s Manual 55 5 PIN ASSIGNMENTS AND FUNCTIONS ...
Страница 79: ...70 Rabbit 3000 Microprocessor ...
Страница 80: ...User s Manual 71 6 RABBIT INTERNAL I O REGISTERS ...
Страница 123: ...114 Rabbit 3000 Microprocessor ...
Страница 137: ...128 Rabbit 3000 Microprocessor ...
Страница 157: ...148 Rabbit 3000 Microprocessor ...
Страница 207: ...198 Rabbit 3000 Microprocessor ...
Страница 249: ...240 Rabbit 3000 Microprocessor ...
Страница 255: ...246 Rabbit 3000 Microprocessor ...
Страница 277: ...268 Rabbit 3000 Microprocessor ...
Страница 343: ...334 Rabbit 3000 Microprocessor ...
Страница 345: ......