Calibre UK PCI90 I2C User Manual

Manual is about: Communications adapter

Summary of PCI90 I2C

  • Page 1

    Calibre uk ltd 2007 calibre pci93 i2c communications adapter issue 1.1 06/03/2007.

  • Page 2: Calibre

    Calibre issue 1.1 page i 06/03/2007 welcome to the calibre pci93 adjustable voltage i 2 c adapter. This adapter provides full i 2 c bi- directional compatibility as either a master or slave from within a windows 95/98 or windows nt or windows 2000 or windows xp environment. If you have any queries r...

  • Page 3: Calibre

    Calibre issue 1.1 page ii 06/03/2007 contents introduction 1 1.1. General introduction 1 1.2. Packing list 1 1.3. Configuring the adapter 1 1.4. Bus termination and protection 1 1.5. Connecting the adapter to your system 2 1.6. Bus capacitance limitations/cable choice 2 1.7. Variable voltage bus pow...

  • Page 4: Calibre

    Calibre issue 1.1 page 1 06/03/2007 introduction 1.1. General introduction the i 2 c communications adapter is a pci bus pc interface card designed to fit any ibm pc compatible. Based on the philips pcf8584 bus controller, it features full i 2 c bi-directional compatibility as either a master or sla...

  • Page 5: Calibre

    Calibre issue 1.1 page 2 06/03/2007 1.5. Connecting the adapter to your system all external connections are made via a 9 way “d” socket: pin normal mode 1 0v 2 0v 3 0v 4 0v 5 nc 6 sda (bi-directional) 7 +v (variable voltage) 8 scl (bi-directional) 9 nc 1.6. Bus capacitance limitations/cable choice t...

  • Page 6: Calibre

    Calibre issue 1.1 page 3 06/03/2007 installing the adapter under windows 9x 2.1. Introduction this section details the installation of the pci93 i 2 c communications adapter under windows 95® / 98®. The appearance of the dialog boxes during the installation of new hardware varies depending on the ve...

  • Page 7: Calibre

    Calibre issue 1.1 page 4 06/03/2007 now shutdown your pc on restarting you pc click on the my computer icon with the right mouse button and then selecting properties. Select device manager, expand the cadrv and the select i2c driver for pci devices click on properties is the installation was success...

  • Page 8: Calibre

    Calibre issue 1.1 page 5 06/03/2007 installing the adapter under windows nt4 3.1. Introduction this section details the installation of the pci90 i 2 c communications adapter under windows nt4. 3.2. Installing the adapter turn off your computer and disconnect it from the mains power supply. Remove t...

  • Page 9: Calibre

    Calibre issue 1.1 page 6 06/03/2007 installing the adapter under windows 2000 and xp 4.1. Introduction this section details the installation of the pci90 i 2 c communications adapter under windows 2000 and xp. The drivers for these operating systems are located in the \cd_pci\w2k drivers and \cd_pci...

  • Page 10: Calibre

    Calibre issue 1.1 page 7 06/03/2007 libraries for programming in microsoft windows environments 5.1. Introduction each utility is documented in a standard format which lists its name, usage, function and effect on the adapter is given. The adapter should be setup prior to any data transfer. 5.2. Fun...

  • Page 11: Calibre

    Calibre issue 1.1 page 8 06/03/2007 value of sclk approximate scl-khz 0 90 1 45 2 11 3 1.5 parameters returned if the software fails to find the driver error code 9000h is returned otherwise the status is returned. Prerequisites none. Functional description this function characterises the pc and ini...

  • Page 12: Calibre

    Calibre issue 1.1 page 9 06/03/2007 this parameter .Is reserved for future use and should always be set to zero (0). Int setnack this controls whether the adapter transmits an acknowledge down the i2c bus on reception of a byte. The last byte received during a transfer must not be acknowledged, in a...

  • Page 13: Calibre

    Calibre issue 1.1 page 10 06/03/2007 functional description sends a start code and the slave address specified and presets the acknowledge status depending on the value of setnack. The acknowledge is set ready for the data transfer after the address and hence in read mode (odd address being sent) if...

  • Page 14: Calibre

    Calibre issue 1.1 page 11 06/03/2007 the real-time bus monitor before attempting to run the monitor program ensure that the device drivers are installed correctly in accordance with this manual. The program winmonitor.Exe runs in a dos window and is a completely non-invasive real-time bus monitor wh...

  • Page 15: Calibre

    Calibre issue 1.1 page 12 06/03/2007 appendix a i 2 c communications adapter status codes this is an eight bit register, read using the getstatus routine. Each individual bit has its own meaning as follows: bit 7 (msb) - the pin bit the pin bit “pending interrupt not” is a read-only flag which is us...

  • Page 16: Calibre

    Calibre issue 1.1 page 13 06/03/2007 the most commonly asked i2c questions general questions question will my adapter run i2c clock speeds greater than 90khz? Answer at the moment your adapter is limited by the bus controller chip fitted, to a maximum of 90khz as a master and 100khz as a slave. Ques...

  • Page 17: Calibre

    Calibre issue 1.1 page 14 06/03/2007 answer check that you have fully implemented the protocol between the adapter and the other i2c devices see the device manufacturers data sheet for details. Check that the software you have written is logically and syntactically correct - this is probably the mos...