Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

M37151M6 Datasheet(PDF) 35 Page - Renesas Technology Corp

Part # M37151M6
Description  SNGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Download  138 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M37151M6 Datasheet(HTML) 35 Page - Renesas Technology Corp

Back Button M37151M6 Datasheet HTML 31Page - Renesas Technology Corp M37151M6 Datasheet HTML 32Page - Renesas Technology Corp M37151M6 Datasheet HTML 33Page - Renesas Technology Corp M37151M6 Datasheet HTML 34Page - Renesas Technology Corp M37151M6 Datasheet HTML 35Page - Renesas Technology Corp M37151M6 Datasheet HTML 36Page - Renesas Technology Corp M37151M6 Datasheet HTML 37Page - Renesas Technology Corp M37151M6 Datasheet HTML 38Page - Renesas Technology Corp M37151M6 Datasheet HTML 39Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 138 page
background image
M37151M6/M8/MA/MC/MF-XXXFP, M37151EFFP
Rev.1.00
Nov 01, 2002
page 35 of 136
REJ03B0129-0100Z
8.6.5 I2C Status Register
The I2C status register (address 00F816) controls the I2C-BUS inter-
face status. The low-order 4 bits are read-only bits and the high-
order 4 bits can be read out and written to.
(1) Bit 0: last receive bit (LRB)
This bit stores the last bit value of received data and can also be
used for ACK receive confirmation. If ACK is returned when an ACK
clock occurs, the LRB bit is set to “0.” If ACK is not returned, this bit is
set to “1.” Except in the ACK mode, the last bit value of received data
is input. The state of this bit is changed from “1” to “0” by executing a
write instruction to the I2C data shift register (address 00F616).
(2) Bit 1: general call detecting flag (AD0)
This bit is set to “1” when a general callwhose address data is all
“0” is received in the slave mode. By a general call of the master
device, every slave device receives control data after the general
call. The AD0 bit is set to “0” by detecting the STOP condition or
START condition.
✽General call: The master transmits the general call address “0016
to all slaves.
(3) Bit 2: slave address comparison flag (AAS)
This flag indicates a comparison result of address data.
s In the slave receive mode, when the 7-bit addressing format is
selected, this bit is set to “1” in either of the following conditions.
• The address data immediately after occurrence of a START con-
dition matches the slave address stored in the high-order 7 bits
of the I2C address register (address 00F716).
• A general call is received.
s In the slave reception mode, when the 10-bit addressing format is
selected, this bit is set to “1” in the following condition.
• When the address data is compared with the I2C address regis-
ter (8 bits consisting of slave address and RBW), the first bytes
match.
s The state of this bit is changed from “1” to “0” by executing a write
instruction to the I2C data shift register (address 00F616).
(4) Bit 3: arbitration lostdetecting flag (AL)
In the master transmission mode, when a device other than the mi-
crocomputer sets the SDA to “L,” arbitration is judged to have been
lost, so that this bit is set to “1.” At the same time, the TRX bit is set to
“0,” so that immediately after transmission of the byte whose arbitra-
tion was lost is completed, the MST bit is set to “0.” When arbitration
is lost during slave address transmission, the TRX bit is set to “0” and
the reception mode is set. Consequently, it becomes possible to re-
ceive and recognize its own slave address transmitted by another
master device.
✽Arbitration lost: The status in which communication as a master is
disabled.
(5) Bit 4: I2C-BUS interface interrupt request bit (PIN)
This bit generates an interrupt request signal. Each time 1-byte data
is transmitted, the state of the PIN bit changes from “1” to “0.” At the
same time, an interrupt request signal is sent to the CPU. The PIN bit
is set to “0” in synchronization with a falling edge of the last clock
(including the ACK clock) of an internal clock and an interrupt re-
quest signal occurs in synchronization with a falling edge of the PIN
bit. When the PIN bit is “0,” the SCL is kept in the “0” state and clock
generation is disabled. Figure 8.6.9 shows an interrupt request sig-
nal generating timing chart.
The PIN bit is set to “1” in any one of the following conditions.
• Executing a write instruction to the I2C data shift register (address
00F616).
• When the ESO bit is “0”
• At reset
The conditions in which the PIN bit is set to “0” are shown below:
• Immediately after completion of 1-byte data transmission (includ-
ing when arbitration lost is detected)
• Immediately after completion of 1-byte data reception
• In the slave reception mode, with ALS = “0” and immediately after
completion of slave address or general call address reception
• In the slave reception mode, with ALS = “1” and immediately after
completion of address data reception
(6) Bit 5: bus busy flag (BB)
This bit indicates the status of the bus system. When this bit is set to
“0,” this bus system is not busy and a START condition can be gen-
erated. When this bit is set to “1,” this bus system is busy and the
occurrence of a START condition is disabled by the START condition
duplication prevention function (See note).
This flag can be written by software only in the master transmission
mode. In the other modes, this bit is set to “1” by detecting a START
condition and set to “0” by detecting a STOP condition. When the
ESO bit of the I2C control register (address 00F916) is “0” at reset,
the BB flag is kept in the “0” state.
(7) Bit 6: communication mode specification bit
(transfer direction specification bit: TRX)
This bit decides the direction of transfer for data communication. When
this bit is “0,” the reception mode is selected and the data of a trans-
mitting device is received. When the bit is “1,” the transmission mode
is selected and address data and control data are output into the
SDA in synchronization with the clock generated on the SCL.
When the ALS bit of the I2C control register (address 00F916) is “0” in
the slave reception mode, the TRX bit is set to “1” (transmit) if the
___
least significant bit (R/W bit) of the address data transmitted by the
___
master is “1.” When the ALS bit is “0” and the R/W bit is “0,” the TRX
bit is cleared to “0” (receive).
The TRX bit is cleared to “0” in one of the following conditions.
• When arbitration lost is detected.
• When a STOP condition is detected.
• When occurence of a START condition is disabled by the START
condition duplication prevention function (Note).
• When MST = “0” and a START condition is detected.
• When MST = “0” and ACK non-return is detected.
• At reset


Similar Part No. - M37151M6

ManufacturerPart #DatasheetDescription
logo
Renesas Technology Corp
M37151M6-XXXFP RENESAS-M37151M6-XXXFP Datasheet
1Mb / 139P
   SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
More results

Similar Description - M37151M6

ManufacturerPart #DatasheetDescription
logo
Renesas Technology Corp
M37150M6 RENESAS-M37150M6 Datasheet
1Mb / 141P
   SNGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M306H5MG-XXXFP RENESAS-M306H5MG-XXXFP Datasheet
2Mb / 324P
   SNGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
M37225M6 RENESAS-M37225M6_15 Datasheet
1Mb / 128P
   SNGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
M37225M6 RENESAS-M37225M6 Datasheet
1Mb / 126P
   SNGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
logo
Sony Corporation
CXP85890A SONY-CXP85890A Datasheet
167Kb / 6P
   CMOS 8-bit Single Chip Microcomputer
CXP87240A SONY-CXP87240A Datasheet
635Kb / 32P
   CMOS 8-bit Single Chip Microcomputer
CXP872P48A SONY-CXP872P48A Datasheet
638Kb / 32P
   CMOS 8-bit Single Chip Microcomputer
CXP80712B SONY-CXP80712B Datasheet
567Kb / 24P
   CMOS 8-bit Single Chip Microcomputer
CXP818P48A SONY-CXP818P48A Datasheet
547Kb / 26P
   CMOS 8-bit Single Chip Microcomputer
CXP81900 SONY-CXP81900 Datasheet
545Kb / 8P
   CMOS 8-bit Single Chip Microcomputer
More results


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




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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