230
CHAPTER 14 SERIAL INTERFACE (SIO1)
Preliminary User’s Manual U13420EJ2V0UM00
(2) Automatic transmit/receive data setting
(a) Transmit data setting
<1>
Write transmit data from the least significant address FAC0H of 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 (ADTP0) the value obtained by
subtracting 1 from the number of transmit data bytes.
(b) Automatic transmit/receive mode setting
<1>
Set bit 7 (CSIE10) and bit 5 (ATE0) of the serial operating mode register 1 (CSIM1) to 1.
<2>
Set bit 7 (RE0) of the automatic data transmit/receive control register (ADTC0) to 1.
<3>
Set a data transmit/receive interval in the automatic data transmit/receive interval specification
register (ADTI0).
<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 carried out.
• After the buffer RAM data specified with ADTP0 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 ADTP0.
• ADTP0 is decremented and the next data transmission/reception is carried out. Data transmission/
reception continues until the ADTP0 decremental output becomes 00H and address FAC0H data is
output (end of automatic transmission/reception).
• When automatic transmission/reception is terminated, bit 3 (TRF0) of ADTC0 is cleared to 0.
Содержание mPD780065 Series
Страница 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Страница 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...