English
Language : 

PXD20RM Datasheet, PDF (909/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller
IBC
(hex)
BB
BC
BD
BE
BF
Table 25-7. I2C Divider and Hold Values (continued)
SCL Divider
(clocks)
SDA Hold
(clocks)
SCL Hold
(start)
8192
9216
10240
12288
15360
1028
1540
1540
2052
2052
4088
4600
5112
6136
7672
SCL Hold
(stop)
4100
4612
5124
6148
7684
25.4.3.3 I2C Bus Control Register
Offset 0x0002
Access: Read/write any time
R
W
Reset
0
MDIS
1
1
2
3
4
5
IBIE
MS/SL
Tx/Rx
NOACK
0
RSTA
0
0
0
0
0
Figure 25-7. I2C Bus Control Register (IBCR)
6
DMAEN
7
D_RSVD
0
0
Table 25-8. IBCR Field Descriptions
Field
Description
MDIS
Module disable. This bit controls the software reset of the entire I2C Bus module.
1 The module is reset and disabled. This is the power-on reset situation. When high, the interface is held
in reset, but registers can still be accessed
0 The I2C Bus module is enabled. This bit must be cleared before any other IBCR bits have any effect
Note: If the I2C Bus module is enabled in the middle of a byte transfer, the interface behaves as follows:
slave mode ignores the current transfer on the bus and starts operating whenever a subsequent
start condition is detected. Master mode will not be aware that the bus is busy, hence if a start cycle
is initiated then the current bus cycle may become corrupt. This would ultimately result in either the
current bus master or the I2C Bus module losing arbitration, after which, bus operation would return
to normal.
IBIE I-Bus Interrupt Enable.
1 Interrupts from the I2C Bus module are enabled. An I2C Bus interrupt occurs provided the IBIF bit in
the status register is also set.
0 Interrupts from the I2C Bus module are disabled. Note that this does not clear any currently pending
interrupt condition
MS/SL
Master/Slave mode select. Upon reset, this bit is cleared. When this bit is changed from 0 to 1, a START
signal is generated on the bus and the master mode is selected. When this bit is changed from 1 to 0, a
STOP signal is generated and the operation mode changes from master to slave. A STOP signal should
be generated only if the IBIF flag is set. MS/SL is cleared without generating a STOP signal when the
master loses arbitration.
1 Master Mode
0 Slave Mode
Freescale Semiconductor
PXD20 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
25-13