• Inventory
  • Products
  • Technical Information
  • Circuit Diagram
  • Data Sheet
Data Sheet
Home > Data Sheet > MC9S12XDP512CFU
MC9S12XDP512CFU

MC9S12XDP512CFU

Model MC9S12XDP512CFU
Description 16-BIT, FLASH, 40MHz, MICROCONTROLLER, PQFP80
PDF file Total 1348 pages (File size: 8M)
Chip Manufacturer PHILIPS
Chapter 9 Inter-Integrated Circuit (IICV2) Block Description
from where was during the previous transmission. It is not possible for the IIC to wake up the CPU when
its internal clocks are stopped.
If it were the case that the IBSWAI bit was cleared when the WAI instruction was executed, the IIC internal
clocks and interface would remain alive, continuing the operation which was currently underway. It is also
possible to configure the IIC such that it will wake up the CPU via an interrupt at the conclusion of the
current operation. See the discussion on the IBIF and IBIE bits in the IBSR and IBCR, respectively.
9.3.2.4
IIC Status Register (IBSR)
7
6
5
4
3
2
1
0
R
W
Reset
TCF
IAAS
IBB
IBAL
0
SRW
IBIF
RXAK
1
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 9-7. IIC Bus Status Register (IBSR)
This status register is read-only with exception of bit 1 (IBIF) and bit 4 (IBAL), which are software
clearable.
Table 9-7. IBSR Field Descriptions
Field
7
TCF
Description
Data Transferring Bit
— While one byte of data is being transferred, this bit is cleared. It is set by the falling
edge of the 9th clock of a byte transfer. Note that this bit is only valid during or immediately following a transfer
to the IIC module or from the IIC module.
0 Transfer in progress
1 Transfer complete
Addressed as a Slave Bit
— When its own specific address (I-bus address register) is matched with the calling
address, this bit is set.The CPU is interrupted provided the IBIE is set.Then the CPU needs to check the SRW
bit and set its Tx/Rx mode accordingly.Writing to the I-bus control register clears this bit.
0 Not addressed
1 Addressed as a slave
Bus Busy Bit
0 This bit indicates the status of the bus. When a START signal is detected, the IBB is set. If a STOP signal is
detected, IBB is cleared and the bus enters idle state.
1 Bus is busy
Arbitration Lost
— The arbitration lost bit (IBAL) is set by hardware when the arbitration procedure is lost.
Arbitration is lost in the following circumstances:
1. SDA sampled low when the master drives a high during an address or data transmit cycle.
2. SDA sampled low when the master drives a high during the acknowledge bit of a data receive cycle.
3. A start cycle is attempted when the bus is busy.
4. A repeated start cycle is requested in slave mode.
5. A stop condition is detected when the master did not request it.
This bit must be cleared by software, by writing a one to it. A write of 0 has no effect on this bit.
6
IAAS
5
IBB
4
IBAL
3
Reserved
— Bit 3 of IBSR is reserved for future use. A read operation on this bit will return 0.
RESERVED
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
407
Go Upload

* Only PDF files are allowed for upload

* Enter up to 200 characters.