Electronic Components Datasheet Search
  English  ▼

X  

SH7616 Datasheet(PDF) 627 Page - Renesas Technology Corp

Part # SH7616
Description  32-Bit RISC Microcomputer SuperH™ RISC engine Family/SH7600 Series
PDF  935 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

SH7616 Datasheet(HTML) 627 Page - Renesas Technology Corp

Back Button SH7616 Datasheet HTML 623Page - Renesas Technology Corp SH7616 Datasheet HTML 624Page - Renesas Technology Corp SH7616 Datasheet HTML 625Page - Renesas Technology Corp SH7616 Datasheet HTML 626Page - Renesas Technology Corp SH7616 Datasheet HTML 627Page - Renesas Technology Corp SH7616 Datasheet HTML 628Page - Renesas Technology Corp SH7616 Datasheet HTML 629Page - Renesas Technology Corp SH7616 Datasheet HTML 630Page - Renesas Technology Corp SH7616 Datasheet HTML 631Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 627 / 935 page
background image
Section 14 Serial Communication Interface with FIFO (SCIF)
Rev. 2.00 Mar 09, 2006 page 601 of 906
REJ09B0292-0200
• Serial Data Reception (Asynchronous Mode)
Figure 14.8 shows a sample flowchart for serial reception.
Use the following procedure for serial data reception after enabling the SCIF for reception.
1. PFC initialization: Set the RxD pin, and
the SCK pin if necessary, with the PFC.
2. Receive error handling and break
detection: Read ER, BRK, FER, PER,
and DR in SC1SSR, and ORER in
SC2SSR, to check whether a receive
error has occurred.
If a receive error has occurred, read the
ER, BRK, FER, PER, and DR flags in
SC1SSR and the ORER flag in SC2SSR
to identify the error. After performing the
appropriate error handling, ensure that
the ORER, BRK, DR, and ER bits are all
cleared to 0. Reception cannot be
resumed if the ORER bit is set to 1. The
setting of the EI bit in SC2SSR
determines whether reception is
continued or halted when any of
PER3–0 or FER3–0 is set to 1.
In the case of a framing error, a break
can be detected by reading the value of
the RxD pin.
3. SCIF status check and receive data
read: Read the serial status 1 register
(SC1SSR) and check that RDF = 1, then
read receive data from the receive FIFO
data register (SCFRDR) and clear the
RDF bit to 0. Transition of the RDF bit
from 0 to 1 can also be identified by
means of an RXI interrupt.
4. Serial reception continuation procedure:
To continue serial reception, read at
least the receive trigger set number of
data bytes from SCFRDR, and write 0 to
the RDF flag after reading 1 from it. The
number of receive data bytes in
SCFRDR can be ascertained by reading
the lower bits of the FIFO data count
register (SCFDR). (The RDF bit is
cleared automatically when the DMAC is
activated by an RXI interrupt and the
SCFRDR value is read.)
Initialization
Start of reception
Read ER, BRK, FER, PER,
and DR bits in SC1SSR, and
ORER bit in SC2SSR
ER
∨ BRK ∨
FER
∨ PER ∨ DR ∨
ORER = 1?
Error handling
Read RDF flag in SC1SSR
RDF = 1?
Read receive data
from SCFRDR, and clear
RDF flag to 0 in SC1SSR
All data received?
Clear RE bit to 0 in SCSCR
End of reception
Yes
No
Yes
No
No
Yes
1
2
3
4
Figure 14.8 Sample Serial Reception Flowchart (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