Calibre UK ICA93LV user manual Contents

Page 1

ICA93LV

I2C Communications Adapter User Manual

Contents

 

1.

Introduction

1

 

1.1.

Packing List

1

2.

Configuring the Adapter

2

 

2.1. Setting the Adapter Base Address

2

 

2.2.

Wait State Generator

2

 

2.3.

Interrupt Generation

3

 

2.4. Bus Termination and Protection

3

 

2.5.

Installing the Adapter

3

3.

Connecting the Adapter to your System

4

 

3.1.

Connector Pinout

4

 

3.2.

Normal/Long Distance Mode

4

 

3.3. Bus Capacitance Limitations/Cable Choice

4

 

3.4. Variable Voltage Bus Power Supply

4

4.

Getting Started

5

 

4.1.

Resetting the Adapter

5

 

4.2. Introduction to the Utilities

5

5.

Using the Utilities

6

 

5.1.

C Routines

6

 

5.2.

TurboBASIC Routines

10

 

5.3. DLLs for Programming in Microsoft Windows 3.X Environments

15

6.

Further Information

21

7.

The Real-Time Bus Monitor

22

Appendix A I2C Communications Adapter Status Codes

23

Appendix B – I2C Communications Adapter Control Codes

24

Appendix C - The Most Commonly Asked I2C Questions

25

Calibre UK Limited

Cornwall House, Cornwall Terrace

Bradford, West Yorkshire, BD8 7JS, England

Tel No: (01274) 394125

Fax No: (01274) 730960

Email sales@calibreuk.com web-site www.calibreuk.com

Revision 1.7 09/12/1999

Image 1
Contents ICA93LV ContentsPacking List IntroductionSetting the Adapter Base Address Configuring the AdapterWait State Generator Bus Termination and Protection Installing the AdapterNormal/Long Distance Mode Connecting the Adapter to your System Connector PinoutVariable Voltage Bus Power Supply Bus Capacitance Limitations/Cable ChoiceIntroduction to the Utilities Getting Started Resetting the AdapterLibrary/Programs TurboBASIC Library/ProgramsRoutines 1. I2C Setup/Initialisation Routine Using the Utilities2. I2C Status Checking Routine 3. I2C Address and Start Sending Routine 4. I2C Read Data Byte from Slave Routine Send an I2C Stop Routine Write Data Byte to Slave Routine7. I2C Restart and Address Sending Routine TurboBASIC Routines 1. I2C Setup/Initialisation Routines2. I2C Status Checking Routine 3. I2C Address and Start Sending Routine Write Data Byte to Slave Routine 7. I2C Restart and Address Sending Routine Visual Basic 3.0 function SetupSendaddress Sendstop SendaddressRestart Sendbytes GetstatusGetbytes Slavelastbyte Further Information Real-Time Bus Monitor BUS ErrorBit 7 MSB The PIN Bit Appendix a I2C Communications Adapter Status CodesBit 6 Not Used Bit 5 The STS BitAppendix B I2C Communications Adapter Control Codes DOS Software Questions Question Do you have software to talk to my........?Hkeylocalmachine System