Simultaneous Serial Data Transmission And Reception - Renesas H8/36912 Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8/36912 Series:
Table of Contents

Advertisement

14.5.5

Simultaneous Serial Data Transmission and Reception

Figure 14.15 shows a sample flowchart for simultaneous serial transmit and receive operations.
The following procedure should be used for simultaneous serial data transmit and receive
operations. To switch from transmit mode to simultaneous transmit and receive mode, after
checking that SCI3 has finished transmission and the TDRE and TEND flags are set to 1, clear TE
to 0. Then simultaneously set TE and RE to 1 with a single instruction. To switch from receive
mode to simultaneous transmit and receive mode, after checking that SCI3 has finished reception,
clear RE to 0. Then after checking that the RDRF and receive error flags (OER, FER, and PER)
are cleared to 0, simultaneously set TE and RE to 1 with a single instruction.
Rev. 1.00, 11/03, page 213 of 376
Downloaded from
Elcodis.com
electronic components distributor

Advertisement

Table of Contents
loading

Table of Contents