English
Language : 

MC13211_08 Datasheet, PDF (41/70 Pages) Freescale Semiconductor, Inc – ZigBee™- Compliant Platform -2.4 GHz Low Power Transceiver for the IEEE® 802.15.4 Standard plus Microcontroller
5.7.6 Inter-Integrated Circuit (IIC) Module
The HCS08 microcontroller provides one inter-integrated circuit (IIC) module for communication with
other integrated circuits. The two pins associated with this module, SDA and SCL share port C pins 2 and
3, respectively. All functionality as described in this section is available on HCS08. When the IIC is
enabled, the direction of pins is controlled by module configuration. If the IIC is disabled, both pins can
be used as general-purpose I/O.
The inter-integrated circuit (IIC) provides a method of communication between a number of
devices{statement}. The interface is designed to operate up to 100 kbps with maximum bus loading and
timing. The device is capable of operating at higher baud rates, up to a maximum of clock/20, with reduced
bus loading. The maximum communication length and the number of devices that can be connected are
limited by a maximum bus capacitance of 400 pF.
5.7.6.1 IIC Features
The IIC includes these features:
• IP bus V2.0 compliant Compatible with IIC bus standard
• Multi-master operation {statement}
• Software programmable for one of 64 different serial clock frequencies {iic_prescale.asm}
• Software selectable acknowledge bit {iic_ack.asm}
• Interrupt driven byte-by-byte data transfer {iic_int.asm}
• Arbitration lost interrupt with automatic mode switching from master to slave {iic_int.asm}
• Calling address identification interrupt {iic_int.asm}
• START and STOP signal generation/detection
{iic_transmit.asm}{iic_receive.asm}{iic_receive_addon.asm}
• Repeated START signal generation {iic_transmit.asm}
• Acknowledge bit generation/detection {iic_ack.asm}
• Bus busy detection {iic_bus_busy.asm}
5.7.6.2 IIC Modes of Operation
The IIC functions the same in normal and monitor modes. A brief description of the IIC in the various
MCU modes is given here.
Run mode
This is the basic mode of operation. To conserve power in this mode, disable the
module.
Wait mode
The module will continue to operate while the MCU is in wait mode and can
provide a wake-up interrupt.
Stop mode
The IIC is inactive in Stop3 Mode for reduced power consumption. The STOP
instruction does not affect IIC register states. Stop1 and Stop2 will reset the
register contents.
MC13211/212/213 Technical Data, Rev. 1.4
Freescale Semiconductor
41