NEC 78014Y Series User Manual page 425

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Automatic transmit/receive data setting
(a) Transmit data setting
(b) Automatic transmit/receive mode setting
www.DataSheet4U.com
CHAPTER 17 SERIAL INTERFACE CHANNEL 1
<1> Write transmit data from the least significant address FAC0H of buffer RAM (up to FADFH at maximum).
However, 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.
<1> Set CSIE1 and ATE of the serial operating mode register 1 (CSIM1) to 1, 1.
<2> Set RE of the automatic data transmit/receive control register (ADTC) to 1.
<3> 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 ADTP is transferred to SIO1, transmission is started (start
of automatic transmit/receive operation).
• 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 transmit/receive operation).
• When automatic transmit/receive operation is terminated, TRF is cleared to 0.
425

Advertisement

Table of Contents
loading

Table of Contents