Electronic Components Datasheet Search
  English  ▼

X  

7721 Datasheet(PDF) 249 Page - Renesas Technology Corp

Part # 7721
Description  16-BIT SINGLE-CHIP MICROCOMPUTER
PDF  577 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7721 Datasheet(HTML) 249 Page - Renesas Technology Corp

Back Button 7721 Datasheet HTML 245Page - Renesas Technology Corp 7721 Datasheet HTML 246Page - Renesas Technology Corp 7721 Datasheet HTML 247Page - Renesas Technology Corp 7721 Datasheet HTML 248Page - Renesas Technology Corp 7721 Datasheet HTML 249Page - Renesas Technology Corp 7721 Datasheet HTML 250Page - Renesas Technology Corp 7721 Datasheet HTML 251Page - Renesas Technology Corp 7721 Datasheet HTML 252Page - Renesas Technology Corp 7721 Datasheet HTML 253Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 249 / 577 page
background image
SERIAL I/O
7721 Group User’s Manual
11–46
11.4 Clock asynchronous serial I/O (UART) mode
11.4.7 Processing on detecting error
In the UART mode, 3 types of errors can be detected. Each error can be detected when the data in the
UARTi receive register is transferred to the UARTi receive buffer register, and the corresponding error flag
is set to “1.” When any error occurs, the error sum flag is set to “1.” Accordingly, presence of errors can
be judged by using the error sum flag.
Table 11.4.6 lists conditions for setting each error flag to “1” and method for clearing it to “0.”
Table 11.4.6 Conditions set to “1” and method cleared to “0” for each error flag
Method for being cleared to “0”
•Clear the serial I/O mode select bits to
“0002.”
•Clear the receive enable bit to “0.”
•Clear the serial I/O mode select bits to
“0002.”
•Clear the receive enable bit to “0.”
•Read out the low-order byte of the UARTi
receive buffer register.
•Clear the serial I/O mode select bits to
“0002.”
•Clear the receive enable bit to “0.”
•Read out the low-order byte of the UARTi
receive buffer register.
•Clear the all error flags, which are overrun,
framing and parity error flags.
Error flag
Overrun error flag
Framing error flag
Parity error flag
Error sum flag
Conditions for being set to “1”
When the next data is prepared in the
UARTi receive register with the receive
complete flag = “1” (i.e., data is present
in the UARTi receive buffer register). In
other words, when the next data is
prepared before the contents of the UARTi
receive buffer register are read out. (Note)
[UARTi receive interrupt request bit is not
changed.]
When the number of detected stop bits
does not match the set number of stop
bits.
[UARTi receive interrupt request bit is set
to “1.”]
When the sum of “1”s in the parity bit
and character bits does not match the
set number of “1”s.
[UARTi receive interrupt request bit is set
to “1.”]
When 1 or more errors listed above occur.
Note: The next data is written into the UARTi receive buffer register.
When an error occurs during reception, initialize the error flag and the UARTi receive buffer register, and
then perform reception again. When it is necessary to perform retransmission owing to an error which occurs
in the receiver side during transmission, set the UARTi transmit buffer register again, and then restarts
transmission.
The method of initializing the UARTi receive buffer register and that of setting the UARTi transmit buffer
register again are described below.
(1)
Method of initializing UARTi receive buffer register
Œ Clear the receive enable bit to “0” (reception disabled).
 Set the receive enable bit to “1” again (reception enabled).
(2)
Method of setting UARTi transmit buffer register again
Œ Clear the serial I/O mode select bits to “0002” (serial I/O invalid).
 Set the serial I/O mode select bits again.
Ž Set the transmit enable bit to “1” (transmission enabled), and set the transmit data to the UARTi
transmit buffer register.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com