410
CHAPTER 18 SERIAL INTERFACE CHANNEL 1
(2) Automatic transmit/receive data setting
(a) Transmit data setting
<1>
Write transmit data from the least significant address FAC0H of internal buffer RAM (up to FADFH
at maximum). The transmit data should be in the order from high-order address to low-order
address.
<2>
Set to the automatic data transmit/receive address pointer (ADTP) the value obtained by
subtracting 1 from the number of transmit data bytes.
(b) Automatic transmit/receive mode setting
<1>
Set bit 7 (CSIE1) and bit 5 (ATE) of serial operating mode register 1 (CSIM1) to “1”.
<2>
Set bit 7 (RE) of the automatic data transmit/receive control register (ADTC) to 1.
<3>
Set a data transmit/receive interval in the automatic data transmit/receive interval specify register
(ADTI).
<4>
Write any value to the serial I/O shift register 1 (SIO1) (transfer start trigger).
Caution
Writing any value to SIO1 orders the start of automatic transmit/receive operation and
the written value has no meaning.
The following operations are automatically carried out when (a) and (b) are set.
• After the internal buffer RAM data specified with ADTP is transferred to SIO1, transmission
is carried out (start of automatic transmission/reception).
• The received data is written to the buffer RAM address specified with ADTP.
• ADTP is decremented and the next data transmission/reception is carried out. Data
transmission/reception continues until the ADTP decremental output becomes 00H and
address FAC0H data is output (end of automatic transmission/reception).
• When automatic transmission/reception is terminated, TRF (bit 3 of ADTC) is cleared to 0.
Содержание PD78056F
Страница 2: ...2 MEMO ...
Страница 14: ...14 MEMO ...
Страница 34: ...34 MEMO ...
Страница 154: ...154 MEMO ...
Страница 170: ...170 MEMO ...
Страница 238: ...238 MEMO ...
Страница 278: ...278 MEMO ...
Страница 432: ...432 MEMO ...
Страница 476: ...476 MEMO ...
Страница 548: ...548 MEMO ...
Страница 564: ...564 MEMO ...
Страница 580: ...580 MEMO ...
Страница 584: ...584 MEMO ...
Страница 592: ...592 MEMO ...