440
CHAPTER 19 SERIAL INTERFACE CHANNEL 1
(b) Basic transmission mode
In this mode, the specified number of 8-bit unit data are transmitted.
Serial transfer is started when any data is written to the serial I/O shift register 1 (SIO1) while bit 7 (CSIE1)
of the serial operating mode register 1 (CSIM1) is set to 1.
Upon completion of transmission of the last byte, the interrupt request flag (CSIIF1) is set. However,
determine whether the automatic transmission/reception is completed, not with CSIIF1 but with the bit
3 (TRF) of automatic data transmission/reception control register (ADTC).
If receive operation, busy control and strobe control are not executed, the P20/SI1, P23/STB and P24/
BUSY pins can be used as normal input/ports.
Figure 19-11 shows the basic transmission mode operation timings, and Figure 19-12 shows the
operation flowchart. Figure 19-13 shows an example of the buffer RAM operation in 6-byte transmission.
Figure 19-11. Basic Transmission Mode Operation Timings
Cautions 1. Because, in the basic transmission mode, the automatic transmit/receive function
reads data from the buffer RAM after 1-byte transmission, an interval is inserted till
the next transmission. As the buffer RAM read is performed at the same time as
CPU processing, the maximum interval is dependent upon CPU processing and the
value of the automatic data transmit/receive interval specify register (ADTI) (see (5)
Automatic transmit/receive interval time).
2. When TRF is cleared, the SO1 pin becomes low level.
Remark
CSIIF1: Interrupt request flag
TRF
: Bit 3 of automatic data transmit/receive control register (ADTC)
SCK1
SO1
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
CSIIF1
TRF
Interval
Содержание PD78076
Страница 2: ...2 MEMO ...
Страница 12: ...12 MEMO ...
Страница 48: ...48 MEMO ...
Страница 64: ...64 MEMO ...
Страница 82: ...82 MEMO ...
Страница 100: ...100 MEMO ...
Страница 130: ...130 MEMO ...
Страница 180: ...180 MEMO ...
Страница 222: ...222 MEMO ...
Страница 248: ...248 MEMO ...
Страница 288: ...288 MEMO ...
Страница 308: ...308 MEMO ...
Страница 364: ...364 MEMO ...
Страница 494: ...494 MEMO ...
Страница 526: ...526 MEMO ...
Страница 544: ...544 MEMO ...
Страница 558: ...558 MEMO ...
Страница 580: ...580 MEMO ...
Страница 596: ...596 MEMO ...
Страница 598: ...598 MEMO ...
Страница 626: ...626 MEMO ...