參數(shù)資料
型號: M38514E6-XXXFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO42
封裝: 0.450 INCH, 0.80 MM PITCH, PLASTIC, SSOP-42
文件頁數(shù): 30/91頁
文件大小: 1161K
代理商: M38514E6-XXXFP
Rev.1.01
Oct 15, 2003
page 36 of 89
3851 Group (Built-in 24 KB or more ROM)
[I2C START/STOP Condition Control Register
(S2D)] 003016
The I2C START/STOP condition control register (address 003016)
controls START/STOP condition detection.
Bits 0 to 4: START/STOP condition set bit (SSC4–SSC0)
SCL release time, setup time, and hold time change the detection
condition by value of the main clock divide ratio selection bit and
the oscillation frequency f(XIN) because these time are measured
by the internal system clock. Accordingly, set the proper value to
the START/STOP condition set bits (SSC4 to SSC0) in considered
of the system clock frequency. Refer to Table 13.
Do not set “000002” or an odd number to the START/STOP condi-
tion set bit (SSC4 to SSC0).
Refer to Table 14, the recommended set value to START/STOP
condition set bits (SSC4–SSC0) for each oscillation frequency.
Bit 5: SCL/SDA interrupt pin polarity selection bit (SIP)
An interrupt can occur when detecting the falling or rising edge of
the SCL or SDA pin. This bit selects the polarity of the SCL or
SDA pin interrupt pin.
Bit 6: SCL/SDA interrupt pin selection bit (SIS)
This bit selects the pin of which interrupt becomes valid between
the SCL pin and the SDA pin.
Note: When changing the setting of the SCL/SDA interrupt pin polarity se-
lection bit, the SCL/SDA interrupt pin selection bit, or the I2C-BUS
interface enable bit ES0, the SCL/SDA interrupt request bit may be
set. When selecting the SCL/SDA interrupt source, disable the inter-
rupt before the SCL/SDA interrupt pin polarity selection bit, the SCL/
SDA interrupt pin selection bit, or the I2C-BUS interface enable bit
ES0 is set. Reset the request bit to “0” after setting these bits, and
enable the interrupt.
Address Data Communication
There are two address data communication formats, namely, 7-bit
addressing format and 10-bit addressing format. The respective
address communication formats are described below.
(1) 7-bit addressing format
To adapt the 7-bit addressing format, set the 10BIT SAD bit of
the I2C control register (address 002E16) to “0”. The first 7-bit
address data transmitted from the master is compared with the
high-order 7-bit slave address stored in the I2C address regis-
ter (address 002C16). At the time of this comparison, address
comparison of the RWB bit of the I2C address register (ad-
dress 002C16) is not performed. For the data transmission
format when the 7-bit addressing format is selected, refer to
Figure 39, (1) and (2).
(2) 10-bit addressing format
To adapt the 10-bit addressing format, set the 10BIT SAD bit of
the I2C control register (address 002E16) to “1”. An address
comparison is performed between the first-byte address data
transmitted from the master and the 8-bit slave address stored
in the I2C address register (address 002C16). At the time of
this comparison, an address comparison between the RWB bit
of the I2C address register (address 002C16) and the R/W bit
which is the last bit of the address data transmitted from the
master is made. In the 10-bit addressing mode, the RWB bit
which is the last bit of the address data not only specifies the
direction of communication for control data, but also is pro-
cessed as an address data bit.
When the first-byte address data agree with the slave address,
the AAS bit of the I2C status register (address 002D16) is set to
“1”. After the second-byte address data is stored into the I2C
data shift register (address 002B16), perform an address com-
parison between the second-byte data and the slave address
by software. When the address data of the 2 bytes agree with
the slave address, set the RWB bit of the I2C address register
(address 002C16) to “1” by software. This processing can
make the 7-bit slave address and R/W data agree, which are
received after a RESTART condition is detected, with the value
of the I2C address register (address 002C16). For the data
transmission format when the 10-bit addressing format is se-
lected, refer to Figure 39, (3) and (4).
相關PDF資料
PDF描述
M38514E6FP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PDSO42
M38514M6-XXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO42
M38514E6-XXXSP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDIP42
M38517F8SP 8-BIT, FLASH, 4 MHz, MICROCONTROLLER, PDIP42
M38517F8FP 8-BIT, FLASH, 4 MHz, MICROCONTROLLER, PDSO42
相關代理商/技術參數(shù)
參數(shù)描述
M38517T-ADS 功能描述:DEV TMP TRGT BRD FOR M38517RSS & RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 配件 系列:- 標準包裝:1 系列:- 附件類型:適配器板 適用于相關產(chǎn)品:RCB230,RCB231,RCB212 配用:26790D-ND - RCB BREAKOUT BOARD RS232 CABLE
M38517T-PAC 功能描述:DEV SIMPLE TOOL EMULATOR FOR M38 RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 內電路編程器、仿真器以及調試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標準包裝:1 系列:* 類型:* 適用于相關產(chǎn)品:* 所含物品:*
M3852 BK001 制造商:Alpha Wire 功能描述:CBL 8COND 14AWG BLK 1000'
M3852 BK002 制造商:Alpha Wire 功能描述:CBL 8COND 14AWG BLK 500'
M3852 BK005 制造商:Alpha Wire 功能描述:CBL 8COND 14AWG BLK 100'