Notes On Serial Interface - Renesas R8C Series User Manual

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

Advertisement

R8C/1A Group, R8C/1B Group
20.4

Notes on Serial Interface

• When reading data from the U0RB register either in the clock asynchronous serial I/O mode or in the clock
synchronous serial I/O mode. Ensure the data is read in 16-bit units. When the high-order byte of the U0RB
register is read, bits PER and FER in the U0RB register and the RI bit in the U0C1 register are set to 0.
To check receive errors, read the UiRB register and then use the read data.
Example (when reading receive buffer register):
MOV.W
• When writing data to the U0TB register in the clock asynchronous serial I/O mode with 9-bit transfer data
length, write data to the high-order byte first then the low-order byte, in 8-bit units.
Example (when reading transmit buffer register):
MOV.B
MOV.B
Rev.1.30
Dec 08, 2006
REJ09B0252-0130
00A6H,R0
; Read the U0RB register
#XXH,00A3H
; Write the high-order byte of U0TB register
#XXH,00A2H
; Write the low-order byte of U0TB register
Page 302 of 315
20. Usage Notes

Advertisement

Table of Contents
loading

Table of Contents