Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

H8/36049 Scheda tecnica(PDF) 401 Page - Renesas Technology Corp

Il numero della parte H8/36049
Spiegazioni elettronici  Renesas 16-Bit Single-Chip Microcomputer H8 Family / H8/300H Tiny Series
PDF  562 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  RENESAS [Renesas Technology Corp]
Homepage  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8/36049 Scheda tecnica(HTML) 401 Page - Renesas Technology Corp

Back Button H8/36049 Datasheet HTML 397Page - Renesas Technology Corp H8/36049 Datasheet HTML 398Page - Renesas Technology Corp H8/36049 Datasheet HTML 399Page - Renesas Technology Corp H8/36049 Datasheet HTML 400Page - Renesas Technology Corp H8/36049 Datasheet HTML 401Page - Renesas Technology Corp H8/36049 Datasheet HTML 402Page - Renesas Technology Corp H8/36049 Datasheet HTML 403Page - Renesas Technology Corp H8/36049 Datasheet HTML 404Page - Renesas Technology Corp H8/36049 Datasheet HTML 405Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 401 / 562 page
background image
Section 18 I
2C Bus Interface 2 (IIC2)
Rev. 3.00 Mar. 15, 2006 Page 369 of 526
REJ09B0060-0300
18.4.8
Example of Use
Flowcharts in respective modes that use the I
2C bus interface are shown in figures 18.17 to 18.20.
BBSY=0 ?
No
TEND=1 ?
No
Yes
Start
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[13]
[14]
[15]
Initialize
Set MST and TRS
in ICCR1 to 1.
Write 1 to BBSY
and 0 to SCP.
Write transmit data
in ICDRT
Write 0 to BBSY
and SCP
Set MST to 1 and TRS
to 0 in ICCR1
Read BBSY in ICCR2
Read TEND in ICSR
Read ACKBR in ICIER
Mater receive mode
Yes
ACKBR=0 ?
Write transmit data in ICDRT
Read TDRE in ICSR
Read TEND in ICSR
Clear TEND in ICSR
Read STOP in ICSR
Clear TDRE in ICSR
End
Write transmit data in ICDRT
Transmit
mode?
No
Yes
TDRE=1 ?
Last byte?
STOP=1 ?
No
No
No
No
No
Yes
Yes
TEND=1 ?
Yes
Yes
Yes
[1]
Test the status of the SCL and SDA lines.
[2]
Set master transmit mode.
[3]
Issue the start candition.
[4]
Set the first byte (slave address + R/
W) of transmit data.
[5]
Wait for 1 byte to be transmitted.
[6]
Test the acknowledge transferred from the specified slave device.
[7]
Set the second and subsequent bytes (except for the final byte) of transmit data.
[8]
Wait for ICDRT empty.
[9]
Set the last byte of transmit data.
[10] Wait for last byte to be transmitted.
[11] Clear the TEND flag.
[12] Clear the STOP flag.
[13] Issue the stop condition.
[14] Wait for the creation of stop condition.
[15] Set slave receive mode. Clear TDRE.
[12]
Clear STOP in ICSR
Figure 18.17 Sample Flowchart for Master Transmit Mode



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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