Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

H8/3021 Datasheet(PDF) 399 Page - Renesas Technology Corp

Part # H8/3021
Description  16-Bit Single-Chip Microcomputer
PDF  712 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8/3021 Datasheet(HTML) 399 Page - Renesas Technology Corp

Back Button H8/3021 Datasheet HTML 395Page - Renesas Technology Corp H8/3021 Datasheet HTML 396Page - Renesas Technology Corp H8/3021 Datasheet HTML 397Page - Renesas Technology Corp H8/3021 Datasheet HTML 398Page - Renesas Technology Corp H8/3021 Datasheet HTML 399Page - Renesas Technology Corp H8/3021 Datasheet HTML 400Page - Renesas Technology Corp H8/3021 Datasheet HTML 401Page - Renesas Technology Corp H8/3021 Datasheet HTML 402Page - Renesas Technology Corp H8/3021 Datasheet HTML 403Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 399 / 712 page
background image
11. Serial Communication Interface
Rev.2.00 Mar. 22, 2007 Page 375 of 684
REJ09B0352-0200
Receiving Multiprocessor Serial Data: Figure 11.12 shows a sample flowchart for receiving
multiprocessor serial data and indicates the procedure to follow.
Initialize
Start receiving
Read RDRF flag in SSR
RDRF = 1?
Read receive data from RDR
Read ORER and FER flags in SSR
FER
ORER = 1 ?
Read RDRF flag in SSR
Read receive data from RDR
∨
RDRF = 1?
Finished receiving?
Clear RE bit to 0 in SCR
Error handling
(continued on next page)
End
1
2
4
5
1.
2.
3.
4.
5.
SCI initialization: the receive data function
of the RxD pin is selected automatically.
ID receive cycle: set the MPIE bit to 1 in SCR.
SCI status check and ID check: read SSR,
check that the RDRF flag is set to 1, then read
data from RDR and compare with the
processor's own ID. If the ID does not match,
set the MPIE bit to 1 again and clear the
RDRF flag to 0. If the ID matches, clear the
RDRF flag to 0.
SCI status check and data receiving: read
SSR, check that the RDRF flag is set to 1,
then read data from RDR.
Receive error handling and break detection:
if a receive error occurs, read the
ORER and FER flags in SSR to identify the error.
After executing the necessary error handling,
clear the ORER and FER flags both to 0.
Receiving cannot resume while either the ORER
or FER flag remains set to 1. When a framing
error occurs, the RxD pin can be read to detect
the break state.
Yes
Yes
Yes
No
Yes
Yes
No
No
No
3
Set MPIE bit to 1 in SCR
Read ORER and FER flags in SSR
Yes
FER
ORER = 1 ?
∨
Own ID?
No
No
Figure 11.12 Sample Flowchart for Receiving Multiprocessor Serial Data (1)



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