• Part: AN96119
  • Description: I2C
  • Manufacturer: Philips Semiconductors
  • Size: 412.06 KB
Download AN96119 Datasheet PDF
Philips Semiconductors
AN96119
AN96119 is I2C manufactured by Philips Semiconductors.
.. INTEGRATED CIRCUITS Data Shee . AN96119 I2C with the XA-G3 Paul Seerden, Systems Laboratory Eindhoven, The Netherlands January 1997 . Philips Semiconductors . Data Sheet 4 U . .. Philips Semiconductors Application note I2C with the XA-G3 Author: Paul Seerden, Systems Laboratory Eindhoven, The Netherlands ABSTRACT This report describes how to implement I 2C functionality (single master), if you’re using the Philips XA-Gx microcontroller. Elaborated driver routines (written in C) are given for two alternative solutions: - Software emulation using two port pins (‘bit-banging’). - Using the PCx8584 I 2C-bus controller. SUMMARY This application note demonstrates the implementation of I 2C functionality using the 16-bit XA-G3 microcontroller from Philips Semiconductors. The note contains two main parts: - An implementation using the Philips PCx8584 I 2C-bus controller (Interrupt driven). - An implemenation by software emulation of the bus using 2 I/O port pins (polling, ‘bit-banging’). Not only the driver software is given. This note also contains a set of (example) interface routines and a small demo application program. All together, it offers the user a quick start in writing a plete I 2C system application (single master). et4U. Purchase of Philips I2C ponents conveys a license under the Philips’ I2C patent to use the ponents in the I2C system provided the system conforms to the I2C specifications defined by Philips. This specification can be ordered using the code 9398 393 40011. . Data Shee CONTENTS 1. Introduction - - - - - - -...