Procedure Of Continuous Transmission - NEC V850E/RS1 User Manual

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

12.5.3 Procedure of continuous transmission

With UARTA, the next transmit data can be written to the UAnTX register as soon as the UARTAn trans-
mit shift register has started its shift operation. The timing at which data is transferred to the UARTAn
transmit shift register can be identified by the transmission enable interrupt request signal (INTUAnT).
The INTUAnT signal enables continuous transmission even while an interrupt is being serviced after
transmission of 1 data frame, so that an efficient communication rate can be realized.
During continuous transmission, do not write the next transmit data to the UAnTX register before a
transmit request interrupt signal (INTUAnT) is generated after transmit data is written to the UAnTX reg-
ister and transferred to the UARTAn transmit shift register. If a value is written to the UAnTX register
before a transmit request interrupt signal is generated, the previously set transmit data is overwritten by
the latest transmit data.
Caution:
418
Downloaded from
Elcodis.com
electronic components distributor
Chapter 12 Asynchronous Serial Interface A (UARTA)
Continuous transmission operating (UAnTSF bit is 1), can not change register. While
continuous transmission is being executed, execute initialization after checking that
the UAnTSF bit is 0. If initialization is executed while the UAnTSF bit is 1, the transmit
data cannot be guaranteed.
Figure 12-11: Processing Flow of Continuous Transfer
Transmission interrupt
Necessary number
of data written?
User's Manual U16702EE3V2UD00
Start
Set registers.
Write UAnTX.
No
occurred?
Yes
No
Yes
End

Advertisement

Table of Contents
loading

Table of Contents