Electronic Components Datasheet Search
  English  ▼

X  

R8C/17 Datasheet(PDF) 180 Page - Renesas Technology Corp

Part # R8C/17
Description  16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / R8C/Tiny SERIES
PDF  279 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C/17 Datasheet(HTML) 180 Page - Renesas Technology Corp

Back Button R8C/17 Datasheet HTML 176Page - Renesas Technology Corp R8C/17 Datasheet HTML 177Page - Renesas Technology Corp R8C/17 Datasheet HTML 178Page - Renesas Technology Corp R8C/17 Datasheet HTML 179Page - Renesas Technology Corp R8C/17 Datasheet HTML 180Page - Renesas Technology Corp R8C/17 Datasheet HTML 181Page - Renesas Technology Corp R8C/17 Datasheet HTML 182Page - Renesas Technology Corp R8C/17 Datasheet HTML 183Page - Renesas Technology Corp R8C/17 Datasheet HTML 184Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 180 / 279 page
background image
R8C/16 Group, R8C/17 Group
15. I2C bus interface (IIC)
Rev.2.10
Jan 19, 2006
Page 167 of 254
REJ09B0169-0210
15.7
Example of Register Setting
Figure 15.23 to Figure 15.26 show the Examples of Register Setting When Using IIC.
Figure 15.23
Example of Register Setting in Master Transmit Mode
Start
Initial Setting
Read BBSY bit in ICCR2 register
End
BBSY=0 ?
Write transmit data to ICDRT register
Transmit
Mode ?
Master Receive
Mode
TEND=1 ?
No
Yes
Yes
No
(1) Judge the state of the SCL and SDA lines
(2) Set to master transmit mode
(3) Generate the start condition
(4) Set the transmit data of the 1st byte
(slave address + R/W)
(5) Wait for 1 byte to be transmitted
(6) Judge the ACKBR bit from the specified slave device
(7) Set the transmit data after 2nd byte (except the last byte)
(8) Wait the ICRDT register is empty
(9) Set the transmit data of the last byte
(10) Wait for the transmit end of the last byte
(11) Set the TEND bit to “0”
(12) Set the STOP bit to “0”
(13) Generate the stop condition
(14) Wait the stop condition is generated
(15) Set to slave receive mode
Set the TDRE bit to “0”
ICCR1 Register
TRS Bit
← 1
MST Bit
← 1
ICCR2 Register
SCP Bit
← 0
BBSY Bit
← 1
Read TEND bit in ICSR register
No
Read ACKBR bit in ICIER register
Yes
ACKBR=0 ?
Write transmit data to ICDRT register
TDRE=1 ?
Read TDRE bit in ICSR register
Last Byte ?
Write transmit data to ICDRT register
TEND=1 ?
Read TEND bit in ICSR register
ICSR Register
TEND Bit
← 0
ICSR Register
STOP Bit
← 0
ICCR2 Register
SCP Bit
← 0
BBSY Bit
← 0
Read STOP bit in ICSR register
STOP=1 ?
ICCR1 Register
TRS Bit
← 0
MST Bit
← 0
ICSR Register
TDRE Bit
← 0
No
Yes
No
Yes
No
Yes
No
Yes
No
Yes
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(12)
(10)
(13)
(14)
(11)
(9)
(15)



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