This Embedded Component encapsulates the internal I2C communication interface. The implementation of the interface is based on the Philips I2C-bus specification.
NOTE: I2C bus lines are open collector (open drain), therefore a pull-up resistor is necessary on both lines.
Version specific information for S08 and ColdFire V1 derivatives:
After reset value of IO pin features "Drive strength" and "Slew rate" (some HCS08 derivatives - Drive strenght = Low and Slew rate = yes) may affect the output signal so, that communication is unreliable or does not work at all depending on a characteristics of the circuitry connected to the pin. It is possible to change these features in Bean Inspector of the CPU bean -> Internal peripherals -> I/O module.
Version specific information for S08 and ColdFire V1 derivatives and peripherals supporting 10-bit addressing feature:
Version specific information for HC08 derivatives:
OnByteTransfer event is not invoked in MASTER receive mode after address tranmission, because MCU does not support this feature. The event is invoked only after a byte transmission or reception.
This Embedded Component can generate code to support the following functionality:
This Embedded Component can be purchased for $125 and added to the Special and Standard Editions of CodeWarrior. Please note, this Embedded Component is included in the CodeWarrior Development Suite - Professional Edition.